Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 723 Bytes

readme.md

File metadata and controls

26 lines (17 loc) · 723 Bytes

Kubernetes

Deployment into Kubernetes is simple using a generic Helm chart for deploying web apps

Make sure you have Helm installed first

First add the Helm repo

helm repo add benc-uk https://benc-uk.github.io/helm-charts

Make a copy of app.sample.yaml to myapp.yaml and modify the values to suit your environment. If you're in a real hurry you can use the file as is and make no changes.

helm install demo benc-uk/webapp --values myapp.yaml

Secrets

Add secrets manually outside of Helm

kubectl create secret generic nodejs-demoapp \
--from-literal=weatherKey=CHANGEME