jx create cluster

list of jx commands

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)
* 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)
* 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/

jx create cluster [kubernetes provider] [flags]

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

Options

  -h, --help   help for cluster

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2020

Last modified October 20, 2020: release 0.0.1921 (5342801)