WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
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
- jx create - Create a new resource
- jx create cluster aks - Create a new Kubernetes cluster on AKS: Runs on Azure
- jx create cluster eks - Create a new Kubernetes cluster on AWS using EKS
- jx create cluster gke - Create a new Kubernetes cluster on GKE: Runs on Google Cloud
- jx create cluster iks - Create a new kubernetes cluster on IBM Cloud Kubernetes Services
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)