Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
templates
Chart.yaml
README.md
values.yaml

Deploy helm chart

Introduction

This chart bootstraps a deployment on a Kubernetes cluster using Helm package manager.

Prerequisites

The code was tested on Kubernetes cluster (v1.21.11) with Istio (1.12.6)

It is possible to use other versions, but it hasn't been tested

Operation system

The code works in Debian-based Linux (Debian 10 and Ubuntu 20.04) and Windows WSL 2. Also, it works but is not guaranteed in Google Cloud Shell. All other operating systems, including macOS, are not verified and supported.

Packages

Packages are only needed for installation from a local computer.

  • HELM (version: v3.7.1 or higher) helm
  • Kubectl (version: v1.21.0 or higher) kubectl

Installation

First you need to set variables in values.yaml file using any code editor. Some of the values are prefilled, but you need to specify some values as well. You can find more information about them below.

Global variables

Name Description Type Default Required
global.domain your domain for the external endpoint, ex example.com string - yes
global.onPremEnabled whether on-prem is enabled boolean false yes

Configmap variables

Name Description Type Default Required
data.logLevel logging level string ERROR yes
data.entitlementsHost entitlements service host address string http://entitlements yes

Deployment variables

Name Description Type Default Required
data.requestsCpu amount of requested CPU string 10m yes
data.requestsMemory amount of requested memory string 350Mi yes
data.limitsCpu CPU limit string 1 yes
data.limitsMemory memory limit string 1G yes
data.serviceAccountName name of your service account string unit yes
data.imagePullPolicy when to pull image string IfNotPresent yes
data.image service image string - yes

Config variables

Name Description Type Default Required

conf.appName | name of the app | string | unit | yes conf.configmap | configmap to be used | string | unit-config | yes

Istio variables

Name Description Type Default Required
istio.proxyCPU CPU request for Envoy sidecars string 10m yes
istio.proxyCPULimit CPU limit for Envoy sidecars string 500m yes
istio.proxyMemory memory request for Envoy sidecars string 100Mi yes
istio.proxyMemoryLimit memory limit for Envoy sidecars string 512Mi yes

Install the helm chart

Run this command from within this directory:

helm install gc-unit-deploy .

Uninstalling the Chart

To uninstall the helm deployment:

helm uninstall gc-unit-deploy

Move-to-Top