jx create cluster

jx create cluster

Create a new Kubernetes cluster

Synopsis

This command creates a new Kubernetes cluster, installing required local dependencies and provisions the Jenkins X platform

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)
* aws (Amazon Web Services via kops - https://github.com/aws-samples/aws-workshop-for-kubernetes/blob/master/readme.adoc)
* eks (Amazon Web Services Elastic Container Service for Kubernetes - https://docs.aws.amazon.com/eks/latest/userguide/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)
* oke (Oracle Cloud Infrastructure Container Engine for Kubernetes - https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm)
* kubernetes for custom installations of Kubernetes
* minikube (single-node Kubernetes cluster inside a VM on your laptop)
* minishift (single-node OpenShift cluster inside a VM on your laptop)
* 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)
  • minikube (single-node Kubernetes cluster inside a VM on your laptop )
  • minishift (single-node OpenShift cluster inside a VM on your laptop)
  • 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/

jx create cluster [kubernetes provider] [flags]

Examples

  jx create cluster minikube

Options

  -h, --help   help for cluster

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input (default true)
      --verbose      Enables verbose output

SEE ALSO

Auto generated by spf13/cobra on 15-Nov-2019

Last modified November 15, 2019: release 0.0.1252 (fba040c)