mayastor
by Startechnica
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.
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
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override mayastor.fullname template (will maintain the release name) | "" |
namespaceOverride | "" | |
fullnameOverride | String to fully override mayastor.fullname template | "" |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
extraDeploy | Extra objects to deploy (value evaluated as a template) | [] |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmayastor is pinned at v0.2.0 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