Create Cluster

Description

Create a cluster.

Command

codefresh create clusters [name]

Aliases

codefresh create cluster [name]

Options

Option Alias Default Description
--help Print help information
--kube-context --kc kubectl context name. required
--namespace --ns default Kubernetes namespace to use while looking for service account. required
--serviceaccount --sa default Kubernetes serviceaccount credentials to be added to Codefresh. required
--behind-firewall Specify if the cluster is set behind a firewall

Examples

Creating a cluster in codefresh

codefresh create cluster --kube-context production