Install Runtime-Environment

Description

Create a runtime in the Codefresh platform.

Command

codefresh install runtime

Options

Option Alias Type Default Description
–help Print help information
–runtime-name The name of the runtime to install
–agent-name Agent’s name
–storage-class-name Set a name of your custom storage class, note: this will not install volume provisioning components
–kube-node-selector The kubernetes node selector “key=value” to be used by runner build resources (default is no node selector) (string)
–runtime-kube-config-path Path to kubeconfig file (default is $HOME/.kube/config)
–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]
–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)
–attach-runtime if set to true, auto attach runtime to agent (need to provide –agent-name)
–cluster-service-account service account for cluster default is default
–make-default-runtime should all pipelines run on the this runtime (default is false)
–skip-re-creation If set to true, will skip runtime creation in the platform
–skip-cluster-creation If set to true, will skip cluster integration creation for this runtime
–platform-only Deprecated, has no effect: runtime is always created on the platform side only