Install Runtime-Environment

Description

Install and create a runtime on kubernetes cluster.

Command

codefresh install runtime

Options

Option Alias Default Description
--help Print help information
--token Agent’s token
--agent-name Agent’s name
--storage-class-name Set a name of your custom storage class, note: this will not install volume provisioning components
--runtime-kube-context-name Name of the kubernetes context on which the runtime should be installed (default is current-context) [$CF_ARG_KUBE_CONTEXT_NAME]
--kube-node-selector The kubernetes node selector “key=value” to be used by runner build resources (default is no node selector) (string)
--docker-registry The prefix for the container registry that will be used for pulling the required components images. Example: --docker-registry=“docker.io”
--set-value Set values for templates, example: --set-value LocalVolumesDir=/mnt/disks/ssd0/codefresh-volumes
--set-file Set values for templates from file, example: --set-file Storage.GoogleServiceAccount=/path/to/service-account.json
--dry-run Set to true to simulate installation
--in-cluster Set flag if runner is been installed from inside a cluster
--runtime-kube-namespace Name of the namespace on which runtime should be installed [$CF_ARG_KUBE_NAMESPACE]
--build-annotations The kubernetes metadata.annotations as “key=value” to be used by runner build resources (default is no node selector)
--runtime-kube-config-path Path to kubeconfig file (default is $HOME/.kube/config)
--attach-runtime if set to true, auto attach runtime to agent (need to provide ….)
--agent-kube-config-path Path to kubeconfig file for the agent (default is $HOME/.kube/config)
--agent-kube-context-name Agent kubernetes context (on attach)
--agent-kube-namespace Agent’s namespace (on attach)
--agent-kube-config-path Path to kubeconfig file for the agent (default is $HOME/.kube/config) (on attach)
--cluster-service-account service account for cluster default is default
--make-default-runtime should all pipelines run on the this runtime (default is false)
--verbose Print logs