choerodon-cluster-agent

by Helm

Helm chartv2.9.3App 2.9.3

choerodon-cluster-agent for Choerodon

About this chart

choerodon-cluster-agent

Cluster agent of Choerodon.

Installing the Chart

To install the chart with the release name choerodon-cluster-agent:

$ helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n
$ helm repo update
$ helm install choerodon-cluster-agent c7n/choerodon-cluster-agent

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Uninstalling the Chart

$ helm delete choerodon-cluster-agent

Requirements

RepositoryNameVersion
https://openchart.choerodon.com.cn/choerodon/c7ncommon1.x.x

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for pod assignment. Evaluated as a template. Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
argslist[]Args for running the server container (set to default if not set). Use array form
commandlist[]Command for running the server container (set to default if not set). Use array form
commonAnnotationsobject{}Add annotations to all the deployed resources
commonLabelsobject{}Add labels to all the deployed resources
config.choerodonIdstring"default"
config.clusterIdint0
config.connectstringnil
config.envIdstring""
config.extraArgsobject{}
config.logLevelint0
config.tokenstring""
containerPort.healthyPortint8000healthy port
customLivenessProbeobject{}Custom Liveness
customReadinessProbeobject{}Custom Readiness
customStartupProbeobject{}Custom Startup probes
dnsPolicystring"ClusterFirstWithHostNet"server pod dns policy
enableServiceLinksboolfalseEnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to false.
extraEnv.ACME_EMAILstringnil
extraEnv.ORIGIN_SHH_URLstringnil
extraEnv.REWRITE_SSH_URLstringnil
extraEnvVarsCMstring""ConfigMap with extra environment variables
extraEnvVarsSecretstring""Secret with extra environment variables
extraVolumeMountslist[]Extra volume mounts to add to server containers
extraVolumeslist[]Extra volumes to add to the server statefulset
fullnameOverridestringnilString to fully override common.names.fullname template
global.imagePullSecretslist[]Global Docker registry secret names as an array
global.imageRegistrystringnilGlobal Docker image registry
global.storageClassstringnilGlobal StorageClass for Persistent Volume(s)
hostAliaseslist[]server pod host aliases
image.pullPolicystring"IfNotPresent"Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
image.registrystring"registry.cn-shanghai.aliyuncs.com"service image registry
image.repositorystring"c7n/choerodon-cluster-agent"service image repository
image.tagstringnilservice image tag. Default Chart.AppVersion
initContainersobject{}Add init containers to the server pods.
kubeVersionstringnilForce target Kubernetes version (using Helm capabilites if not set)
kubeconfigstringnil
livenessProbe.enabledbooltrueEnable livenessProbe
livenessProbe.failureThresholdint5Failure threshold for livenessProbe
livenessProbe.initialDelaySecondsint180Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint5Period seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.timeoutSecondsint3Timeout seconds for livenessProbe
nameOverridestringnilString to partially override common.names.fullname template (will maintain the release name)
nodeAffinityPreset.keystring""Node label key to match
nodeAffinityPreset.typestring""Node affinity type. Allowed values: soft, hard
nodeAffinityPreset.valueslist[]Node label values to match
nodeSelectorobject{}Node labels for pod assignment. Evaluated as a template.
persistence.accessModeslist["ReadWriteOnce"]Persistent Volume Access Mode
persistence.annotationsobject{}Persistent Volume Claim annotations
persistence.enabledboolfalseIf true, use a Persistent Volume Claim, If false, use emptyDir
persistence.existingClaimstringnilEnable persistence using an existing PVC
persistence.mountPathstring"/data"Data volume mount path
persistence.sizestring"8Gi"Persistent Volume size
persistence.storageClassstringnilPersistent Volume Storage Class
podAffinityPresetstring""Pod affinity preset. Allowed values: soft, hard
podAnnotationsobject{}Pod annotations
podAntiAffinityPresetstring"soft"Pod anti-affinity preset. Allowed values: soft, hard
podLabelsobject{}Pod labels
rbac.createbooltrueSet to true to create serviceAccount
rbac.namestring""The name of the ServiceAccount to use.
readinessProbe.enabledbooltrueEnable readinessProbe
readinessProbe.failureThresholdint5Failure threshold for readinessProbe
readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint5Period seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.timeoutSecondsint3Timeout seconds for readinessProbe
replicaCountint1Number of deployment replicas
resources.limitsobject{"memory":"1024Mi"}The resources limits for the init container
resources.requestsobject{"memory":"768Mi"}The requested resources for the init container
schedulerNamestringnilScheduler name
securityContextobject{"enabled":true,"fsGroup":33,"runAsUser":33}Security Context
sidecarsobject{}Add sidecars to the server pods.
startupProbe.enabledboolfalseEnable startupProbe
startupProbe.failureThresholdint60Failure threshold for startupProbe
startupProbe.initialDelaySecondsint0Initial delay seconds for startupProbe
startupProbe.periodSecondsint3Period seconds for startupProbe
startupProbe.successThresholdint1Success threshold for startupProbe
startupProbe.timeoutSecondsint2Timeout seconds for startupProbe
tolerationslist[]Tolerations for pod assignment. Evaluated as a template.
updateStrategy.rollingUpdateobject{"maxSurge":"100%","maxUnavailable":0}Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
updateStrategy.typestring"RollingUpdate"Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

Maintainers

NameEmailUrl
choerodon[email protected]https://choerodon.io

Deploy choerodon-cluster-agent with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has choerodon-cluster-agent on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartchoerodon-cluster-agent is pinned at v2.9.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply