Install Codefresh Runner solution’s components on Kubernetes cluster.
codefresh runner init
Option | Alias | Type | Default | Description |
---|---|---|---|---|
--help | Print help information | |||
--name | Agent’s name to be created if token is not provided | |||
--token | Registration’s token | |||
--url | Codefresh system custom url | |||
--generate-helm-values-file | string | Path to the new generated helm values file | ||
--kube-context-name | Name of the Kubernetes context on which runner should be installed [$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) | |||
--build-node-selector | The Kubernetes node selector “key=value” to be used by the Codefresh build resources (default is no node selector) | |||
--yes | -y | boolean | false | Use installation defaults (don’t ask any questions) |
--skip-cluster-test | boolean | false | Do not test given kubeconfig context to have all the required permission | |
--skip-cluster-integration | boolean | false | Do not create a cluster integration in Codefresh | |
--set-default-runtime | boolean | false | Set this as the default runtime environment for your Codefresh account | |
--exec-demo-pipeline | boolean | false | Run a demo pipeline after the installation completes | |
--install-monitor | boolean | true | Install a monitoring component that will help provide valueable data about your cluster to Codefresh | |
--kube-namespace | Name of the namespace on which runner should be installed [$CF_ARG_KUBE_NAMESPACE] | |||
--tolerations | The Kubernetes tolerations as path to a JSON file prefixed with @ to be used by runner resources (default is no tolerations) (string) | |||
--storage-class-name | Set a name of your custom storage class | |||
--docker-registry | string | quay.io | The prefix for the container registry that will be used for pulling the required components images. Example: --docker-registry=“docker.io” default is quay.io | |
--kube-config-path | Path to kubeconfig file (default is $HOME/.kube/config) | |||
--values | specify values in a YAML file (see example here: https://github.com/codefresh-io/venona/blob/release-1.0/venonactl/example/values-example.yaml) | |||
--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 | |||
--http-proxy | http proxy to be used in the runner | |||
--https-proxy | https proxy to be used in the runner | |||
--no-proxy | no_proxy to be used in the runner | |||
--verbose | Print logs | |||
--env-vars | Addiontal env vars to be used in all Codefresh components | |||
--app-proxy | boolean | false | install app proxy component (default false) | |
--app-proxy-host | string | the hostname that will be used by the app-proxy ingress | ||
--app-proxy-ingress-class | string | the ingress class that will be used by the app-proxy ingress | ||
--docker-daemon-access | boolean | true | docker daemon access (default true) | |
--dry-run | boolean | false | Will save all of the manifests to be deployed on the cluster to: ./manifests/ | |
--bypass-download | boolean | false | Will bypass the attempt to download the installer. Instead, will immediately attempt to use the binary from the components folder |
codefresh runner init --values values.yaml