gko
by Gravitee.io
The Gravitee Kubernetes Operator Helm Chart
About this chart
G.K.O.
The Gravitee Kubernetes Operator Helm Chart.
Installing the Chart
To install the chart with the release name gko
helm repo add graviteeio https://helm.gravitee.io
helm install gko graviteeio/gko
Upgrading the Operator
Assuming that the repository as been aliased as graviteeio and that the release name is gko
helm repo update graviteeio
helm upgrade --install gko graviteeio/gko
Requirements
Kubernetes: >=1.18.0-0"
Parameters
Common
Allows to set meta data on all Kubernetes resources applied by the Helm release.
| Name | Description | Value |
|---|---|---|
common.annotations | Specifies custom annotations to be added to the all resources applied by the Helm release. | {} |
common.labels | Specifies custom labels to be added to the all resources applied by the Helm release. | {} |
RBAC
Required RBAC resources are created by default for all components involved in the release.
| Name | Description | Value |
|---|---|---|
serviceAccount.create | Specifies if a service account should be created for the manager pod. | true |
serviceAccount.name | Specifies the service account name to use. | gko-controller-manager |
rbac.create | Specifies if RBAC resources should be created. | true |
rbac.skipClusterRoles | Specifies if cluster roles should be created when RBAC resources are created. | false |
Controller Manager
This is where you can configure the deployment itself and the way the operator will interact with APIM and Custom Resources in your cluster.
| Name | Description | Value |
|---|---|---|
manager.annotations | Specifies custom annotations to be added to the manager deployment and pod. | {} |
manager.labels | Specifies custom labels to be added to the manager deployment and pod. | {} |
manager.volumes | Volumes to add to the manager pod. | [] |
manager.volumeMounts | Volume mounts to add to the manager container. | [] |
manager.image.repository | Specifies the docker registry and image name to use. | graviteeio/kubernetes-operator |
manager.image.tag | Specifies the docker image tag to use. If no value is set, the chart version will be used. | "" |
manager.image.pullPolicy | Specifies the pullPolicy to use when starting a new container | IfNotPresent |
manager.image.pullSecret | Specifies the secret holding the credentials used to pull image from the registry | {} |
manager.pod.securityContext.runAsNonRoot | Requires the pod to run as a non-root user. | true |
manager.pod.nodeSelector | Specifies a set of labels to be used to select on which node the manager pod should be scheduled. | {} |
manager.container.securityContext.allowPrivilegeEscalation | Prevents the container from gaining additional privileges. | false |
manager.container.securityContext.readOnlyRootFilesystem | Mounts the root filesystem as read-only. | true |
manager.container.securityContext.capabilities.drop | Linux capabilities to drop from the container. | ["ALL"] |
manager.logs.json | Whether to output manager logs in JSON format. | true |
manager.logs.format | Specifies log output format. Can be either json or console. | json |
manager.logs.level | Specifies log level. Can be either debug, info, warn, or error. Wrong values are converted to info. | info |
manager.logs.levelCase | Specifies the case of the level value. Can be either lower or upper. Wrong values are converted to upper. | upper |
manager.logs.timestamp.field | Specifies the name of the field to use for the timestamp. | timestamp |
manager.logs.timestamp.format | Specifies the format to use for the timestamp. Can be either iso-8601, epoch-second, epoch-millis or epoch-nano. | epoch-second |
|
Deploy gko with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gko 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 chartgko is pinned at v4.13.8 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