kubevirt-infra-csi-driver
A Helm chart for KubeVirt infra csi-driver
About this chart
KubeVirt infra CSI driver
KubeVirt infra CSI driver by AppsCode - A Helm chart for KubeVirt infra CSI driver
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubevirt-infra-csi-driver --version=v0.1.0
$ helm upgrade -i kubevirt-infra-csi-driver appscode/kubevirt-infra-csi-driver -n kubevirt-csi-driver --create-namespace --version=v0.1.0
Introduction
This chart deploys a CSI driver on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.28+
Installing the Chart
To install/upgrade the chart with the release name kubevirt-infra-csi-driver:
$ helm upgrade -i kubevirt-infra-csi-driver appscode/kubevirt-infra-csi-driver -n kubevirt-csi-driver --create-namespace --version=v0.1.0
The command deploys a CSI driver on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the kubevirt-infra-csi-driver:
$ helm uninstall kubevirt-infra-csi-driver -n kubevirt-csi-driver
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the kubevirt-infra-csi-driver chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| replicaCount | This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ | 1 |
| driver.repository | quay.io/kubevirt/kubevirt-csi-driver | |
| driver.tag | Overrides the image tag whose default is the chart appVersion. | "latest" |
| driver.pullPolicy | This sets the pull policy for images. | Always |
| driver.securityContext | {} | |
| driver.resources | {"requests":{"cpu":"10m","memory":"50Mi"}} | |
| provisioner.repository | quay.io/openshift/origin-csi-external-provisioner | |
| provisioner.tag | Overrides the image tag whose default is the chart appVersion. | "latest" |
| provisioner.pullPolicy | This sets the pull policy for images. | IfNotPresent |
| provisioner.securityContext | {} | |
| provisioner.resources | {} | |
| attacher.repository | quay.io/openshift/origin-csi-external-attacher | |
| attacher.tag | Overrides the image tag whose default is the chart appVersion. | "latest" |
| attacher.pullPolicy | This sets the pull policy for images. | IfNotPresent |
| attacher.securityContext | {} | |
| attacher.resources | {"requests":{"cpu":"10m","memory":"50Mi"}} | |
| livenessprobe.repository | quay.io/openshift/origin-csi-livenessprobe | |
| livenessprobe.tag | Overrides the image tag whose default is the chart appVersion. | "latest" |
| livenessprobe.pullPolicy | This sets the pull policy for images. | IfNotPresent |
| livenessprobe.securityContext | {} | |
| livenessprobe.resources | {"requests":{"cpu":"10m","memory":"50Mi"}} | |
| snapshotter.repository | k8s.gcr.io/sig-storage/csi-snapshotter | |
| snapshotter.tag | Overrides the image tag whose default is the chart appVersion. | "v4.2.1" |
| snapshotter.pullPolicy | This sets the pull policy for images. | IfNotPresent |
| snapshotter.securityContext | {} | |
| snapshotter.resources | {"requests":{"cpu":"10m","memory":"20Mi"}} | |
| resizer.repository | registry.k8s.io/sig-storage/csi-resizer | |
| resizer.tag | Overrides the image tag whose default is the chart appVersion. | "v1.13.1" |
| resizer.pullPolicy | This sets the pull policy for images. | IfNotPresent |
| resizer.securityContext | {"capabilities":{"drop":["ALL"]}} | |
| resizer.resources | {"requests":{"cpu":"10m","memory":"20Mi"}} |
Deploy kubevirt-infra-csi-driver with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubevirt-infra-csi-driver 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 chartkubevirt-infra-csi-driver is pinned at v0.1.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