kubevirt-infra-csi-driver

by AppsCode Inc.

Helm chartv0.1.0App v0.1.0Verified publisher

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.

ParameterDescriptionDefault
replicaCountThis will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/1
driver.repositoryquay.io/kubevirt/kubevirt-csi-driver
driver.tagOverrides the image tag whose default is the chart appVersion."latest"
driver.pullPolicyThis sets the pull policy for images.Always
driver.securityContext{}
driver.resources{"requests":{"cpu":"10m","memory":"50Mi"}}
provisioner.repositoryquay.io/openshift/origin-csi-external-provisioner
provisioner.tagOverrides the image tag whose default is the chart appVersion."latest"
provisioner.pullPolicyThis sets the pull policy for images.IfNotPresent
provisioner.securityContext{}
provisioner.resources{}
attacher.repositoryquay.io/openshift/origin-csi-external-attacher
attacher.tagOverrides the image tag whose default is the chart appVersion."latest"
attacher.pullPolicyThis sets the pull policy for images.IfNotPresent
attacher.securityContext{}
attacher.resources{"requests":{"cpu":"10m","memory":"50Mi"}}
livenessprobe.repositoryquay.io/openshift/origin-csi-livenessprobe
livenessprobe.tagOverrides the image tag whose default is the chart appVersion."latest"
livenessprobe.pullPolicyThis sets the pull policy for images.IfNotPresent
livenessprobe.securityContext{}
livenessprobe.resources{"requests":{"cpu":"10m","memory":"50Mi"}}
snapshotter.repositoryk8s.gcr.io/sig-storage/csi-snapshotter
snapshotter.tagOverrides the image tag whose default is the chart appVersion."v4.2.1"
snapshotter.pullPolicyThis sets the pull policy for images.IfNotPresent
snapshotter.securityContext{}
snapshotter.resources{"requests":{"cpu":"10m","memory":"20Mi"}}
resizer.repositoryregistry.k8s.io/sig-storage/csi-resizer
resizer.tagOverrides the image tag whose default is the chart appVersion."v1.13.1"
resizer.pullPolicyThis 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubevirt-infra-csi-driver is pinned at v0.1.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