microcks-operator
by Microcks
Helm chart to install the Microcks Operator and CRDs
About this chart
Microcks Operator Helm Chart
Install and manage the Microcks Operator and its Custom Resource Definitions (CRDs) using Helm package manager.
Requirements
- Kubernetes >= 1.22
- Helm 3.x
What this Chart deploys
- A
Deploymentrunning the Microcks Operator container - (Optionally) a
ServiceAccount,Role, andRoleBinding - CRDs placed under
crds/are handled by Helm (see CRDs section)
Installing the Chart
You can retrieve the Helm chart from the official Microcks Helm repo:
helm repo add microcks https://microcks.io/helm
Basic install into a dedicated namespace:
helm install microcks-operator ./deploy/helm/microcks-operator \
--namespace microcks --create-namespace
Install while skipping CRDs (for clusters where CRDs are pre-installed/managed out-of-band):
helm install microcks-operator ./deploy/helm/microcks-operator \
--namespace microcks --create-namespace \
--skip-crds
Install with a custom values file:
helm install microcks-operator ./deploy/helm/microcks-operator \
--namespace microcks --create-namespace \
-f my-values.yaml
Quick override example (pin the image tag and set resources):
helm install microcks-operator ./deploy/helm/microcks-operator \
-n microcks --create-namespace \
--set image.tag="0.0.6" \
--set resources.limits.cpu="200m" \
--set resources.limits.memory="512Mi" \
--set resources.requests.cpu="100m" \
--set resources.requests.memory="256Mi"
Upgrading the chart
helm upgrade microcks-operator ./deploy/helm/microcks-operator -n microcks
If you manage CRDs separately, include --skip-crds during upgrades to avoid changes to CRDs by Helm:
helm upgrade microcks-operator ./deploy/helm/microcks-operator -n microcks --skip-crds
Uninstalling the chart
helm uninstall microcks-operator -n microcks
Note: Uninstalling the chart does not remove CRDs. Delete CRDs only if you are certain no custom resources remain.
Example values.yaml
nameOverride: ""
fullnameOverride: ""
image:
repository: quay.io/microcks/microcks-operator
tag: "v1.0.0"
pullPolicy: IfNotPresent
imagePullSecrets: []
replicaCount: 1
serviceAccount:
create: true
name: ""
annotations: {}
rbac:
create: true
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
Notes
- To skip CRD installation on
helm install, pass--skip-crds. - If
serviceAccount.create=false, setserviceAccount.nameto an existing SA and ensure the necessary RBAC exists (or setrbac.create=falseand bind your own roles).
Deploy microcks-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has microcks-operator 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 chartmicrocks-operator is pinned at v0.0.11 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