Create a cluster.
codefresh create clusters [name]
codefresh create cluster [name]
Option | Alias | Type | Default | Description |
---|---|---|---|---|
--help | Print help information | |||
--kube-context | --kc | kubectl context name. required |
||
--namespace | --ns | string | default | Kubernetes namespace to use while looking for service account. required |
--serviceaccount | --sa | string | default | Kubernetes serviceaccount credentials to be added to Codefresh. required |
--behind-firewall | boolean | false | Specify if the cluster is set behind a firewall |
codefresh create cluster --kube-context production