Jx: Which version of jx can create cluster for minikube

Created on 7 May 2020  路  1Comment  路  Source: jenkins-x/jx

Summary

I want to create new cluster for minikube,but It cannot be created

Steps to reproduce the behavior

jx create cluster minikube

Expected behavior

Create a local minikube

Actual behavior

failed

Jx version

The output of jx version is:

[root@oc7778463706 ~]# jx --version
2.1.14

Kubernetes cluster


no cluster

Operating system / Environment


Red Hat Enterprise Linux Workstation release 7.7 (Maipo)

jx create cluster minikube

[root@oc7778463706 ~]# jx create cluster minikube
This command creates a new Kubernetes cluster, installing required local dependencies and provisions the Jenkins Xplatform

You can see a demo of this command here: https://jenkins-x.io/demos/create_cluster/

Valid Kubernetes providers include:

    * aks (Azure Container Service - https://docs.microsoft.com/en-us/azure/aks)
    * eks (Amazon Web Services Elastic Container Service for Kubernetes - https://docs.aws.amazon.com/eks/latest/uerguide/getting-started.html)
    * gke (Google Container Engine - https://cloud.google.com/kubernetes-engine)
    # icp (IBM Cloud Private) - https://www.ibm.com/cloud/private
    * iks (IBM Cloud Kubernetes Service - https://console.bluemix.net/docs/containers)
    * kubernetes for custom installations of Kubernetes
        * openshift for installing on 3.9.x or later clusters of OpenShift


Depending on which cloud provider your cluster is created on possible dependencies that will be installed are:

  * kubectl (CLI to interact with Kubernetes clusters)
  * helm (package manager for Kubernetes)
  * draft (CLI that makes it easy to build applications that run on Kubernetes)
  * virtualisation drivers (to run Minikube in a VM)
  * gcloud (Google Cloud CLI)
  * oci (Oracle Cloud Infrastructure CLI)
  * az (Azure CLI)
  * ibmcloud (IBM CLoud CLI)

For more documentation see: https://jenkins-x.io/getting-started/create-cluster/WARNING: Unable to load managed plgins because unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be efined


Examples:
  # create a cluster on Google Cloud
  jx create cluster gke --skip-installation

  # create a cluster on AWS via EKS
  jx create cluster eks --skip-installation
Available Commands:
  create cluster aks Create a new Kubernetes cluster on AKS: Runs on Azure
  create cluster eks Create a new Kubernetes cluster on AWS using EKS
  create cluster gke Create a new Kubernetes cluster on GKE: Runs on Google Cloud
  create cluster iks Create a new kubernetes cluster on IBM Cloud Kubernetes Services

Usage:
  jx create cluster [kubernetes provider] [flags] [options]
Use "jx <command> --help" for more information about a given command.
Use "jx options" for a list of global command-line options (applies to all commands).

Most helpful comment

minikube and minishift are no longer supported. See this issue: https://github.com/jenkins-x/jx/issues/4088 and the corresponding PR: https://github.com/jenkins-x/jx/pull/6899.
If you want to still use minikube, then any release before 2.0.1253 shold work. See: https://github.com/jenkins-x/jx/releases/tag/v2.0.1253

>All comments

minikube and minishift are no longer supported. See this issue: https://github.com/jenkins-x/jx/issues/4088 and the corresponding PR: https://github.com/jenkins-x/jx/pull/6899.
If you want to still use minikube, then any release before 2.0.1253 shold work. See: https://github.com/jenkins-x/jx/releases/tag/v2.0.1253

Was this page helpful?
0 / 5 - 0 ratings