mayastor

by Startechnica

Helm chartv0.2.0App 1.0.3Verified publisher

Mayastor is a cloud-native declarative data plane written in Rust. Our goal is to abstract storage resources and their differences through the data plane such that users only need to supply the what and do not have to worry about the how so that individual teams stay in control.

About this chart

Helm chart for Mayastor

Mayastor is a cloud-native declarative data plane written in Rust. The goal is to abstract storage resources and their differences through the data plane such that users only need to supply the what and do not have to worry about the how so that individual teams stay in control.

Mayastor also try to be as unopinionated as possible. What this means is that we try to work with the existing storage systems you might already have and unify them as abstract resources instead of swapping them out whenever the resources are local or remote.

Overview of Mayastor

This chart is not maintained by the upstream project and any issues with the chart should be raised here

TL;DR

$ helm repo add startechnica https://startechnica.github.io/apps
$ helm install my-release startechnica/mayastor

Prerequisites

  • Kubernetes 1.20+
  • Helm 3.2.0+

Installing the Chart

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

$ helm repo add startechnica https://startechnica.github.io/apps
$ helm install my-release startechnica/mayastor --namespace my-release --create-namespace

These commands deploy Mayastor on the Kubernetes cluster in the default configuration.

Tip: List all releases using helm list -A

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release --namespace my-release

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

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]

Common parameters

NameDescriptionValue
nameOverrideString to partially override mayastor.fullname template (will maintain the release name)""
namespaceOverride""
fullnameOverrideString to fully override mayastor.fullname template""
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
clusterDomainKubernetes Cluster Domaincluster.local
extraDeployExtra objects to deploy (value evaluated as a template)[]
commonLabelsAdd labels to all the deployed resources{}
commonAnnotationsAdd annotations to all the deployed resources{}

I/O Engine Dataplane Deployment

CSI Node Deployment

CSI Controller Deployment

Agent Core Deployment

API Rest Deployment

ETCD Deployment

Setting Pod's affinity

This chart allows you to set your custom affinity using the affinity parameter. Find more information about Pod's affinity in the kubernetes documentation.

Deploying extra resources

There are cases where you may want to deploy extra objects, such a ConfigMap containing your app's configuration or some extra deployment with a micro service used by your app. For covering this case, the chart allows adding the full specification of other objects using the extraDeploy parameter.

Troubleshooting

Find more information about how to deal with common errors related to Startechnica's Helm charts in this troubleshooting guide.

License

Copyright © 2022 Startechnica

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Deploy mayastor with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mayastor 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 chartmayastor is pinned at v0.2.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