kubed
Config Syncer by AppsCode - Kubernetes daemon
About this chart
Config Syncer
Config Syncer by AppsCode - A Kubernetes cluster manager daemon
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install kubed appscode/kubed -n kube-system
Introduction
This chart deploys a Config Syncer operator on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.11+
Installing the Chart
To install the chart with the release name kubed:
$ helm install kubed appscode/kubed -n kube-system
The command deploys a Config Syncer operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the kubed:
$ helm delete kubed -n kube-system
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the kubed chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | Overrides name template | "" |
| fullnameOverride | Overrides fullname template | "" |
| replicaCount | Number of Config Syncer operator replicas to create (only 1 is supported) | 1 |
| operator.registry | Docker registry used to pull Config Syncer operator image | appscode |
| operator.repository | Config Syncer operator container image | kubed |
| operator.tag | Config Syncer operator container image tag | v0.13.2 |
| operator.resources | Compute Resources required by the operator container | {} |
| operator.securityContext | Security options the operator container should run with | {} |
| imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/kubed \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1 | [] |
| imagePullPolicy | Container image pull policy | IfNotPresent |
| criticalAddon | If true, installs Config Syncer operator as critical addon | false |
| logLevel | Log level for operator | 3 |
| annotations | Annotations applied to operator deployment | {} |
| podAnnotations | Annotations passed to operator pod(s). | {} |
| nodeSelector | Node labels for pod assignment | {} |
| tolerations | Tolerations for pod assignment | [] |
| affinity | Affinity rules for pod assignment | {} |
| podSecurityContext | Security options the operator pod should run with. | {"fsGroup":65535} |
| serviceAccount.create | Specifies whether a service account should be created | true |
| serviceAccount.annotations | Annotations to add to the service account | {} |
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | "" |
| apiserver.securePort | Port used by Config Syncer server | "8443" |
| apiserver.useKubeapiserverFqdnForAks | If true, uses kube-apiserver FQDN for AKS cluster to workaround https://github.com/Azure/AKS/issues/522 (default true) | true |
| apiserver.healthcheck.enabled | healthcheck configures the readiness and liveliness probes for the operator pod. | false |
| apiserver.servingCerts.generate | If true, generates on install/upgrade the certs that allow the kube-apiserver (and potentially ServiceMonitor) to authenticate operators pods. Otherwise specify certs in apiserver.servingCerts.{caCrt, serverCrt, serverKey}. | true |
| apiserver.servingCerts.caCrt | CA certficate used by serving certificate of Config Syncer server. | "" |
| apiserver.servingCerts.serverCrt | Serving certficate used by Config Syncer server. | "" |
| apiserver.servingCerts.serverKey | Private key for the serving certificate used by Config Syncer server. | "" |
| enableAnalytics | If true, sends usage analytics | true |
| config.clusterName | Set cluster-name to something meaningful to you, say, prod, prod-us-east, qa, etc. so that you can distinguish notifications sent by kubed | unicorn |
| config.configSourceNamespace | If set, configmaps and secrets from only this namespace will be synced | "" |
| config.kubeconfigContent | kubeconfig file content for configmap and secret syncer | "" |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example:
$ helm install kubed appscode/kubed -n kube-system --set replicaCount=1
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm install kubed appscode/kubed -n kube-system --values values.yaml
Deploy kubed with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubed 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkubed is pinned at v0.13.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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