helper-objectstore

by tjungbauer

Helm chartv1.0.11Apache-2.0Verified publisher

A helper Chart to create BackingStore, BackingClass, BucketClaim and StorageClass objects, when ODF is used. Currently type PV is supported only (Creating a local Persistent Volume-backed backingstore)!

About this chart

helper-objectstore

Description

A helper Chart to create BackingStore, BackingClass, BucketClaim and StorageClass objects, when ODF is used. Currently type PV is supported only (Creating a local Persistent Volume-backed backingstore)!

This Helm Chart is using OpenShift Data Foundation and will create a new ObjectStorage by rendering the objects:

  1. BackingStore
  2. BucketClass
  3. StorageClass
  4. BucketClaim

Dependencies

This chart has the following dependencies:

RepositoryNameVersion
https://charts.stderr.at/tpl~1.0.27

This chart has no dependencies to other charts, but OpenShift Data Foundation must be deployed in order to use it. Or in other words: The CRDs like BackingStore or BucketClaim must exist on your cluster.

It is best used with a full GitOps approach such as Argo CD does. For example, https://github.com/tjungbauer/openshift-clusterconfig-gitops (folder clusters/management-cluster/setup-openshift-logging)

Maintainers

NameEmailUrl
tjungbauer[email protected]https://blog.stderr.at/

Sources

Source:

Source code: https://github.com/tjungbauer/helm-charts/tree/main/charts/helper-objectstore

Parameters

Values

KeyTypeDefaultDescription
backingstore_namestring"backingstore"Name of the BackingStore
backingstore_sizestring"700Gi"Size of the BackingStore that each volume shall have.
baseStorageClassstring"gp3-csi"The StorageClass the BackingStore is based on
bucket.enabledboolfalseShall a new bucket be enabled?
bucket.namestring"bucketname"Name of the bucket that shall be created
bucket.namespacestring"target-namespace"Target Namespace for that bucket.
bucket.storageclassstringopenshift-storage.noobaa.ioName of the storageclass for our bucket
bucket.syncwaveint2Syncwave for bucketclaim creation. This should be done very early, but it depends on ODF.
enabledboolfalseEnable objectstore configuration
limits_cpustring500mCPU Limit for the Noobaa Pod
limits_memorystring2GiMemory Limit for the Noobaa Pod.
pvPool.numOfVolumesint1Number of volumes that shall be used
pvPool.typestring"pv-pool"
storageclass_namestring"bucket-storage-class"Name of the StorageClass that shall be created for the bucket.
syncwaveint1Syncwave for Argo CD @default - 1

Example values

---
enabled: false
syncwave: 1
backingstore_name: backingstore
backingstore_size: 700Gi
limits_cpu: 500m
limits_memory: 2Gi

pvPool:
  numOfVolumes: 1
  type: pv-pool

baseStorageClass: gp3-csi

storageclass_name: bucket-storage-class

# Bucket that shall be created
bucket:
  enabled: true
  name: bucketname
  namespace: target-namespace
  syncwave: 2
  storageclass: bucket-storage-class

Installing the Chart

To install the chart with the release name my-release:

helm install my-release tjungbauer/<chart-name>>

The command deploys the chart on the Kubernetes cluster in the default configuration.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

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


Autogenerated from chart metadata using helm-docs v1.14.2

Deploy helper-objectstore with OpenTenant

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