mogenius-operator-dev
by mogenius
Helm chartv2.36.0-develop.917App 2.36.0-develop.917Verified publisher
mogenius-operator
About this chart
Helm Chart: mogenius-operator
Homepage: https://mogenius.com
Maintainers
| Name | Url | |
|---|---|---|
| the mogenius tech team | [email protected] |
Source Code
- https://github.com/mogenius/mogenius-operator
- https://helm.mogenius.com/public
- oci://ghcr.io/mogenius/helm-charts/mogenius-operator
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| cluster | object | {"domain":"cluster.local"} | settings for the internal cluster communication |
| cluster.domain | string | "cluster.local" | the cluster domain, default for kubernetes is "cluster.local" |
| containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| containerSecurityContext.privileged | bool | false | |
| containerSecurityContext.readOnlyRootFilesystem | bool | true | |
| envVars | object | {"MO_API_SERVER":"wss://k8s-ws.mogenius.com/ws","MO_EVENT_SERVER":"wss://k8s-dispatcher.mogenius.com/ws"} | environment variables to be set in the mogenius-operator deployment |
| externalKeyValueStore | object | {"enabled":false,"existingSecret":{"key":"valkey-password","name":""},"host":"","port":6379,"tls":{"caCertSecret":{"key":"ca.crt","name":""},"clientCertSecret":{"certKey":"tls.crt","keyKey":"tls.key","name":""},"enabled":false,"insecureSkipVerify":false},"username":""} | When enabled, set valkey.enabled to false. |
| externalKeyValueStore.enabled | bool | false | enable using an external key-value store (mutually exclusive with valkey.enabled) |
| externalKeyValueStore.existingSecret | object | {"key":"valkey-password","name":""} | reference to an existing secret holding the password. Leave name empty if the store requires no auth. |
| externalKeyValueStore.existingSecret.key | string | "valkey-password" | key within the existing secret that holds the password |
| externalKeyValueStore.existingSecret.name | string | "" | name of the existing secret holding the password |
| externalKeyValueStore.host | string | "" | hostname of the external key-value store (e.g. "my-redis.example.com") |
| externalKeyValueStore.port | int | 6379 | port of the external key-value store (default: the standard Redis/Valkey port) |
| externalKeyValueStore.tls | object | {"caCertSecret":{"key":"ca.crt","name":""},"clientCertSecret":{"certKey":"tls.crt","keyKey":"tls.key","name":""},"enabled":false,"insecureSkipVerify":false} | TLS settings for the connection to the external key-value store |
| externalKeyValueStore.tls.caCertSecret | object | {"key":"ca.crt","name":""} | Leave name empty to use the system trust store (e.g. for publicly-trusted managed services). |
| externalKeyValueStore.tls.caCertSecret.key | string | "ca.crt" | key within the existing secret that holds the CA certificate |
| externalKeyValueStore.tls.caCertSecret.name | string | "" | name of the existing secret holding the CA certificate |
| externalKeyValueStore.tls.clientCertSecret | object | {"certKey":"tls.crt","keyKey":"tls.key","name":""} | Leave name empty to not present a client certificate. |
| externalKeyValueStore.tls.clientCertSecret.certKey | string | "tls.crt" | key within the existing secret that holds the client certificate (PEM) |
| externalKeyValueStore.tls.clientCertSecret.keyKey | string | "tls.key" | key within the existing secret that holds the client private key (PEM) |
| externalKeyValueStore.tls.clientCertSecret.name | string | "" | name of the existing secret holding the client certificate and key |
| externalKeyValueStore.tls.enabled | bool | false | enable TLS for the connection |
| externalKeyValueStore.tls.insecureSkipVerify | bool | false | skip TLS certificate verification (insecure; only for self-signed certs in trusted networks) |
| externalKeyValueStore.username | string | "" | optional ACL username for the external key-value store (leave empty for the default user) |
| features | object | {"autoUpgrade":{"enabled":true},"debugTools":{"enabled":false,"image":{"pullPolicy":"IfNotPresent","registry":"docker.io","repository":"nicolaka/netshoot","tag":"v0.16"}},"nodeMetricsDashboard":{"enabled":false,"httproute":{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[]},"ingress":{"annotations":{},"enabled":false,"host":null,"ingressClassName":null,"labels":{},"tls":[]}}} | feature toggles for the mogenius-operator |
| features.debugTools.enabled | bool | false | enable the debug tools container in the mogenius-operator pod |
| features.nodeMetricsDashboard | object | {"enabled":false,"httproute":{"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[]},"ingress":{"annotations":{},"enabled":false,"host":null,"ingressClassName":null,"labels":{},"tls":[]}} | configure the integrated node metrics dashboard |
| features.nodeMetricsDashboard.enabled | bool | false | enable the node metrics dashboard |
| features.nodeMetricsDashboard.httproute | object | {"annotations":{},"enabled":false,"hostnames":[],"labels":{},"parentRefs":[]} | HTTPRoute settings for the node metrics dashboard |
| features.nodeMetricsDashboard.httproute.hostnames | list | [] | hostnames to place on the HTTPRoute |
| features.nodeMetricsDashboard.httproute.labels | object | {} | labels to place on the HTTPRoute |
| features.nodeMetricsDashboard.httproute.parentRefs | list | [] | parentRefs to place on the HTTPRoute |
| features.nodeMetricsDashboard.ingress | object | {"annotations":{},"enabled":false,"host":null,"ingressClassName":null,"labels":{},"tls":[]} | ingress settings for the node metrics dashboard |
| fullnameOverride | string | "mogenius-operator" | |
| global.apiKeySecret | object | {"secretKey":"API_KEY","secretName":"mogenius-operator-api-secret"} | secret reference for the api-key (will be used if global.api_key is not set) |
| global.api_key | string | nil | the api key provided for your cluster by the mogenius platform (alternativly you can leave this empty and use global.apiKeySecret) |
| global.cluster_name | string | nil | the name you gave your cluster on the mogenius platform |
| goRuntime | object | {"gcPercent":"","memLimit":""} | Go runtime memory tuning. Both values are unset by default and should stay that way: the operator derives GOMEMLIMIT from the pod's memory limit at startup (90%, leaving headroom for non-heap memory), which is the only value that is actually correct for a given deployment. Set resources.limits.memory rather than pinning a number here. A hardcoded GOMEMLIMIT is actively dangerous. It is a soft limit: once the live heap exceeds it the Go GC does not fail or free anything, it simply runs continuously trying to reach a target it can never reach. The symptom is the operator burning multiple CPU cores at a flat heap with no log output. The previous default of 180MiB put clusters with ~200 resource kinds right on that cliff. |
| goRuntime.gcPercent | string | "" | GC target percentage (GOGC), e.g. "50" to trade CPU for memory. Empty uses the Go default of 100. |
| goRuntime.memLimit | string | "" | Soft memory limit for the Go runtime (GOMEMLIMIT), e.g. "1GiB". Empty derives it from the pod memory limit. Must exceed the live heap. |
| image | object | {"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"mogenius/mogenius-operator","tag":null} | image settings for the mogenius-operator and nodemetrics container |
| image.tag | string | nil | tag of the image, if not set, the chart appVersion is used |
| metrics.enabled | bool | false | enable the Prometheus /metrics endpoint scraping (creates a Service for the ServiceMonitor) |
| metrics.serviceMonitor | object | {"enabled":false,"interval":"30s","labels":{},"relabelings":[],"scrapeTimeout":"10s"} | ServiceMonitor for prometheus-operator; requires metrics.enabled: true |
| metrics.serviceMonitor.labels | object | {} | labels added to the ServiceMonitor (use to match your Prometheus selector) |
| metrics.serviceMonitor.relabelings | list | [] | additional relabelings appended after the default instance relabeling |
| nodeMetrics.affinity | object | {} | |
| nodeMetrics.containerSecurityContext.capabilities.add[0] | string | "NET_ADMIN" | |
| nodeMetrics.containerSecurityContext.capabilities.add[1] | string | "SYS_ADMIN" | |
| nodeMetrics.containerSecurityContext.capabilities.add[2] | string | "BPF" | |
| nodeMetrics.containerSecurityContext.capabilities.add[3] | string | "SYS_PTRACE" | |
| nodeMetrics.containerSecurityContext.readOnlyRootFilesystem | bool | true | |
| nodeMetrics.enabled | bool | true | enable the node metrics daemonset |
| nodeMetrics.nodeSelector | object | {} | |
| nodeMetrics.podLabels | object | {} | |
| nodeMetrics.podSecurityContext | object | {} | |
| nodeMetrics.resources | object | {} | |
| nodeMetrics.tolerations[0].effect | string | "NoSchedule" | |
| nodeMetrics.tolerations[0].key | string | "node-role.kubernetes.io/control-plane" | |
| nodeMetrics.tolerations[0].operator | string | "Exists" | |
| nodeSelector | object | {} | |
| podLabels | object | {} | extra labels to be added to the pod |
| podSecurityContext | object | {} | |
| probes.enabled | bool | true | |
| probes.livenessProbe.enabled | bool | true | |
| probes.livenessProbe.path | string | "/healthz" | |
| probes.readinessProbe.enabled | bool | true | |
| probes.readinessProbe.path | string | "/healthz" | |
| probes.startupProbe.enabled | bool | true | |
| probes.startupProbe.path | string | "/healthz" | |
| rbac | object | {"create":true,"rules":[]} | permissions granted to the operator's ServiceAccount. The operator manages a cluster end to end, so the defaults are admin-equivalent. Both settings below let you cut that down; doing so is unsupported (see the chart README). |
| rbac.create | bool | true | create the operator's ClusterRole and ClusterRoleBinding. Set to false to grant the ServiceAccount permissions yourself, out of band. |
| rbac.rules | list | [] | replace the default blanket rule with your own ClusterRole rules. Whatever you leave out, the operator will hit as a Forbidden error at runtime. |
| resources | object | {} | |
| revisionHistoryLimit | int | 10 | |
| serviceAccount.name | string | nil | name of the ServiceAccount used by the operator (default: mogenius-operator-service-account-app) |
| tolerations | list | [] | |
| valkey.affinity | object | {} | |
| valkey.auth.password | string | "" | |
| valkey.containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| valkey.containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| valkey.containerSecurityContext.readOnlyRootFilesystem | bool | true | |
| valkey.containerSecurityContext.runAsGroup | int | 999 | |
| valkey.containerSecurityContext.runAsNonRoot | bool | true | |
| valkey.containerSecurityContext.runAsUser | int | 999 | |
| valkey.customValkeyConf | string | "" | optional additional Valkey configuration appended verbatim (e.g. "maxmemory 256mb\nmaxmemory-policy allkeys-lru") |
| valkey.enabled | bool | true | deploy the bundled Valkey instance. Set to false to use an external key-value store (see externalKeyValueStore) |
| valkey.image.registry | string | "docker.io" | |
| valkey.image.repository | string | "valkey/valkey" | |
| valkey.image.tag | string | "9.1.1" | |
| valkey.imagePullPolicy | string | "IfNotPresent" | |
| valkey.metrics.enabled | bool | false | enable the Prometheus metrics exporter sidecar (oliver006/redis_exporter) |
| valkey.metrics.exporter.containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| valkey.metrics.exporter.containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| valkey.metrics.exporter.containerSecurityContext.readOnlyRootFilesystem | bool | true | |
| valkey.metrics.exporter.containerSecurityContext.runAsNonRoot | bool | true | |
| valkey.metrics.exporter.image.registry | string | "docker.io" | |
| valkey.metrics.exporter.image.repository | string | "oliver006/redis_exporter" | |
| valkey.metrics.exporter.image.tag | string | "v1.88.0" | |
| valkey.metrics.exporter.resources | object | {} | |
| valkey.metrics.serviceMonitor | object | {"enabled":false,"interval":"30s","labels":{},"relabelings":[],"scrapeTimeout":"10s"} | ServiceMonitor for prometheus-operator; requires metrics.enabled: true |
| valkey.metrics.serviceMonitor.labels | object | {} | labels added to the ServiceMonitor (use to match your Prometheus selector) |
| valkey.metrics.serviceMonitor.relabelings | list | [] | additional relabelings appended after the default instance relabeling |
| valkey.nodeSelector | object | {} | |
| valkey.persistence.accessModes[0] | string | "ReadWriteOnce" | |
| valkey.persistence.size | string | "5Gi" | |
| valkey.persistence.storageClass | string | "" | storage class to be used, default is empty which will use the class defined as standard |
| valkey.podLabels | object | {} | |
| valkey.podSecurityContext.fsGroup | int | 999 | |
| valkey.podSecurityContext.runAsGroup | int | 999 | |
| valkey.podSecurityContext.runAsUser | int | 999 | |
| valkey.podSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| valkey.port | int | 6379 | |
| valkey.resources | object | {} | |
| valkey.tolerations | list | [] | |
| valkey.updateStrategy.type | string | "Recreate" |
Add Mogenius Helm Repository, Update, and Deploy the Helm Chart
Add the Helm Repository:
To add the Mogenius Helm repository and update it, run the following commands:
helm repo add mogenius https://github.com/mogenius/mogenius-operator
helm repo update m
Deploy mogenius-operator-dev with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mogenius-operator-dev 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 chartmogenius-operator-dev is pinned at v2.36.0-develop.917 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