k8ssandra-operator

by joaquinito2051

Helm chartv1.6.0App 1.6.0

Kubernetes operator which handles the provisioning and management of K8ssandra clusters.

About this chart

k8ssandra-operator

Kubernetes operator which handles the provisioning and management of K8ssandra clusters.

Homepage: https://github.com/k8ssandra/k8ssandra-operator

Maintainers

NameEmailUrl
K8ssandra Team[email protected]https://github.com/k8ssandra

Source Code

Requirements

RepositoryName
https://helm.k8ssandra.iocass-operator
https://helm.k8ssandra.iok8ssandra-common

Values

KeyTypeDefaultDescription
global.clusterScopedboolfalseDetermines whether k8ssandra-operator only watch and manages K8ssandraCluster in the same namespace in which the operator is deployed or if watches and manages K8ssandraClusters across all namespaces.
nameOverridestring""A name in place of the chart name which is used in the metadata.name of objects created by this chart.
fullnameOverridestring""A name in place of the value used for metadata.name in objects created by this chart. The default value has the form releaseName-chartName.
commonLabelsobject{}Labels to be added to all deployed resources.
replicaCountint1Sets the number of k8ssandra-operator pods.
controlPlanebooltrueDetermines if the k8ssandra-operator should be installed as the control plane or if it's simply in a secondary cluster waiting to be promoted
image.registrystring"docker.io"Container registry containing the repository where the image resides
image.repositorystring"k8ssandra/k8ssandra-operator"Docker repository for cass-operator
image.pullPolicystring"IfNotPresent"Pull policy for the operator container
image.tagstring"v1.0.0"Tag of the k8ssandra-operator image to pull from image.repository
image.registryOverridestringnilDocker registry containing all cass-operator related images. Setting this allows for usage of an internal registry without specifying serverImage, configBuilderImage, and busyboxImage on all CassandraDatacenter objects.
imagePullSecretslist[]References to secrets to use when pulling images. See: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
serviceAccount.annotationsobject{}Annotations to add to the service account.
podAnnotationsobject{}Annotations for the cass-operator pod.
podSecurityContextobject{}PodSecurityContext for the cass-operator pod. See: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
securityContext.runAsNonRootbooltrueRun cass-operator container as non-root user
securityContext.runAsGroupint65534Group for the user running the k8ssandra-operator container / process
securityContext.runAsUserint65534User for running the k8ssandra-operator container / process
resourcesobject{}Resources requests and limits for the cass-operator pod. We usually recommend not to specify default resources and to leave this as a conscious choice for the user. This also increases chances charts run on environments with little resources, such as Minikube. If you want to specify resources, add requests and limits for cpu and memory while removing the existing {}

Autogenerated from chart metadata using helm-docs v1.5.0

Deploy k8ssandra-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has k8ssandra-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 chartk8ssandra-operator is pinned at v1.6.0 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