Skip to content

The Helm chart to deploy our web application with Kubernetes.

Notifications You must be signed in to change notification settings

software-containerization/helm-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helm-chart

Contains the Helm chart for our web application

Installation

Build images and push to microk8s registry

$ ./build_images.sh 1 # The argument indicates the tag of the images 1 = image:v1

Enable Istio and Metallb

$ microk8s enable istio metallb

When metallb asks for an IP range, input 10.50.100.5-10.50.100.25:

Enabling MetalLB
Enter each IP address range delimited by comma (e.g. '10.64.140.43-10.64.140.49,192.168.0.105-192.168.0.111'): 10.50.100.5-10.50.100.25

(Optional) Edit /etc/hosts

In order to curl to the todo-app.com url from your cluster, e.g. for development purposes, edit your /etc/hosts file in your cluster, so that your gateway IP is associated with todo-app.com.

# /etc/hosts
YOUR_GATEWAY_IP todo-app.com

You can find YOUR_GATEWAY_EXTERNAL_IP by typing

kubectl get svc istio-ingressgateway -n istio-system

It is then found under the column EXTERNAL_IP.

Create namespace

To allow the Istio service mesh to work, a namespace with the istio-injection label has to be made:

$ kubectl create namespace todo
$ kubectl label namespace todo istio-injection=enabled

Install the Helm chart

Install the Helm chart with the namespace created in the previous step.

$ microk8s helm3 install todo-app . -n todo

About

The Helm chart to deploy our web application with Kubernetes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages