eks-local-disk-provisioner

by Ethersphere

Helm chartv0.1.4App 0.1.0Verified publisher

AWS eks-local-disk-provisioner Helm chart for Kubernetes

About this chart

AWS EKS local-disk-provisioner Helm Chart

Prerequisites

Make sure you have Helm installed installed.

Get Repo Info

helm repo add ethersphere https://ethersphere.github.io/helm
helm repo update

See helm repo for command documentation.

QuickStart

$ helm install --generate-name ethersphere/eks-local-disk-provisioner

Introduction

This chart deploys a eks-local-disk-provisioner onto a Kubernetes cluster using the Helm package manager. It creates DaemonSet Kubernetes object, while ServiceAccount is optional.

Prerequisites

  • Kubernetes 1.15
  • Helm 3.0

Installing the Chart

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

$ helm install --name my-release ethersphere/eks-local-disk-provisioner

The command deploys eks-local-disk-provisioner on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

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.

Configuration

The default configuration values for this chart are listed in values.yaml.

eks-local-disk-provisioner specific configuration parameters can be configured in provisionerConfig section.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set serviceAccount.create=true \
  ethersphere/eks-local-disk-provisioner

The above command creates ServiceAccount for the DaemonSet.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml ethersphere/eks-local-disk-provisioner

Helmsman Usage

Prerequisites

  • Kubernetes 1.15
  • Helm 3.0
  • Helmsman 3.0

Installing

Create eks-local-disk-provisioner.yaml file as shown bellow:

namespaces:
  kube-system:
    
helmRepos:
  ethersphere: "https://ethersphere.github.io/helm"
    
apps:
  eks-local-disk-provisioner:
    name: eks-local-disk-provisioner
    namespace: kube-system
    description: "AWS EKS Local Disk Provisioner"
    chart: "ethersphere/eks-local-disk-provisioner"
    version: "0.1.0"
    enabled: true
    wait: true
    timeout: 120

Execute following command:

$ helmsman -apply -f eks-local-disk-provisioner.yaml 

Uninstalling

Execute following command:

$ helmsman -destroy -f eks-local-disk-provisioner.yaml 

Deploy eks-local-disk-provisioner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has eks-local-disk-provisioner 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 charteks-local-disk-provisioner is pinned at v0.1.4 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