pulumi-kubernetes-operator

by Pulumi

Helm chartv2.10.1App v2.10.1Apache-2.0

A Helm chart for the Pulumi Kubernetes Operator

About this chart

Pulumi Kubernetes Operator - Helm Chart

Description 📜

A Helm chart for the Pulumi Kubernetes Operator

Usage (via OCI Registry)

To install the chart using the OCI artifact, run:

helm install --create-namespace -n pulumi-kubernetes-operator pulumi-kubernetes-operator \
    oci://ghcr.io/pulumi/helm-charts/pulumi-kubernetes-operator --version 2.10.1

After a few seconds, the pulumi-kubernetes-operator release should be deployed and running.

Tip: List all releases using helm list, a release is a name used to track a specific deployment

Uninstalling the Chart 🗑️

To uninstall the pulumi-kubernetes-operator deployment:

helm uninstall -n pulumi-kubernetes-operator pulumi-kubernetes-operator

The command removes all the Kubernetes components associated with the chart and deletes the release.

Values

KeyTypeDefaultDescription
affinityobject{}The affinity constraint
controller.logFormatstring"console"Log format (one of 'json' or 'console')
controller.logLevelstring"info"Log Level ('debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity)
controller.metricsSecurebooltrueEnable secure metrics endpoint (requires TLS configuration)
deploymentAnnotationsobject{}Deployment annotations
deploymentStrategystring""Specifies the strategy used to replace old Pods by new ones, default: RollingUpdate
extraEnvlist[]Extra Environments to be passed to the operator
extraPortsstringnil
extraSidecarslist[]You can configure extra sidecar containers to run within the pulumi-kubernetes-operator pod. default: []
extraVolumeMountsstringnilExtra Volume Mounts for the pulumi-kubernetes-operator pod
extraVolumesstringnilExtra Volumes for the pod
flux.maxUntarSizeBytesstring""Max size in bytes for extracting a Flux source artifact. Empty uses the built-in default (100 MiB); set higher for large artifacts, or -1 to disable the limit.
fullnameOverridestring""String to fully override "pulumi-kubernetes-operator.fullname"
image.pullPolicystring"IfNotPresent"The image pull policy
image.registrystring"docker.io"The image registry to pull from
image.repositorystring"pulumi/pulumi-kubernetes-operator"The image repository to pull from
image.tagstring""The image tag to pull, default: Chart.appVersion
imagePullSecretsstring""The image pull secrets
initContainerslist[]You can configure extra init containers to run within the pulumi-kubernetes-operator pod. default: []
kubeAPI.timeoutstring"30s"Timeout for requests to the Kubernetes API server Increase this value if experiencing kube-apiserver slowness that causes leader election failures
leaderElection.leaseDurationstring"60s"Duration that non-leader candidates will wait to force acquire leadership Increase this value if you have long-running Pulumi operations (e.g., AWS RDS provisioning)
leaderElection.renewDeadlinestring"45s"Duration the leader will retry refreshing leadership before giving up Should be less than leaseDuration. Increase if experiencing kube-apiserver slowness.
leaderElection.retryPeriodstring"10s"Duration the LeaderElector clients should wait between tries of actions
nameOverridestring""Provide a name in place of pulumi-kubernetes-operator
nodeSelectorobject{}Node selector
podAnnotationsobject{}Pod annotations
podLabelsobject{}Labels to add to the pulumi-kubernetes-operator pod. default: {}
podSecurityContextobject{"runAsGroup":65532,"runAsNonRoot":true,"runAsUser":65532}Pod Security Context see values.yaml
podSecurityContext.runAsGroupint65532pulumi-kubernetes-operator group is 65532
podSecurityContext.runAsUserint65532pulumi-kubernetes-operator user is 65532
rbac.createbooltrueSpecifies whether RBAC resources should be created
rbac.createClusterAggregationRolesbooltrueSpecifies whether aggregation roles should be created to extend the built-in view and edit roles
rbac.createClusterRolebooltrueSpecifies whether cluster roles and bindings should be created
rbac.createRoleboolfalseSpecifies whether namespaced roles and bindings should be created
rbac.extraRuleslist[]Specifies extra rules for the manager role, e.g. for a 3rd party Flux source
replicaCountint1Specifies the replica count for the deployment
resourcesobject{"limits":{"cpu":"200m","memory":"128Mi"},"requests":{"cpu":"200m","memory":"128Mi"}}CPU/Memory resource requests/limits
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]}}Security Context see values.yaml
serviceAccount.annotationsobject{}Additional ServiceAccount annotations
serviceAccount.createbooltrueCreate service account
serviceAccount.namestring""Service account name to use, when empty will be set to created account if
serviceAnnotationsobject{}Service annotations
serviceMonitor.enabledboolfalseWhen set true then use a ServiceMonitor to configure scraping
terminationGracePeriodSecondsint300Specifies termination grace period, default: 300
tolerationslist[]Toleration labels for pod assignment

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

helm install --create-namespace -n pulumi-kubernetes-operator pulumi-kubernetes-operator \
    oci://ghcr.io/pulumi/helm-charts/pulumi-kubernetes-operator --set image.tag=latest

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install --create-namespace -n pulumi-kubernetes-operator pulumi-kubernetes-operator \
    oci://ghcr.io/pulumi/helm-charts/pulumi-kubernetes-operator -f values.yaml

Tip: You can use the default values.yaml

Contributing 🤝

Contributing via GitHub

Feel free to join. Checkout the contributing guide

License ⚖️

Apache License, Version 2.0

Source Code

Maintainers

NameEmailUrl
Bryce Lampe[email protected]
dirien[email protected]
Eron Wright[email protected]

Deploy pulumi-kubernetes-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pulumi-kubernetes-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpulumi-kubernetes-operator is pinned at v2.10.1 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