Create Cluster

Description

Create a cluster.

Command

codefresh create clusters [name]

Aliases

codefresh create cluster [name]

Options

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

Examples

Creating a cluster in codefresh

codefresh create cluster --kube-context production