An introduction to Azure Draft and Helm Charts
Who am I
Greg Cockburn
Chief Cloud Officer
@gergnz
Sponsor me: https://mobro.co/gergnz
What is Helm
The package manager for KubernetesHelm is the best way to find, share, and use software built for Kubernetes.
Helm helps you manage Kubernetes applications —Helm Charts helps you define, install, and upgrade even the most complex Kubernetes application.Charts are easy to create, version, share, and publish — so start using Helm and stop the copy-and-paste madness.The latest version of Helm is maintained by the CNCF - in collaboration with Microsoft, Google, Bitnami and the Helm contributor community.
100% plagiarised from https://helm.sh
What is Draft
Streamlined Kubernetes DevelopmentSimple app development & deployment - into any Kubernetes cluster.
Draft makes it easy to build applications that run on Kubernetes. Draft targets the "inner loop" of a developer's workflow: as they hack on code, but before code is committed to version control.
100% plagiarised from https://draft.sh
I’m basically just going to do live demos for the rest of this presentation…
Do we have a working Kube Cluster?
kubectl version
helm version
helm init --upgrade
Deploy someone else's Helm Chart
helm install stable/nginx-ingress
helm install -f values.yaml stable/jenkins
Build my own Chart~$ helm create mychart
~$ cat mychart/values.yaml
replicaCount: 1
image:
repository: gergnz/idle-butterfly
tag: ab8e2e19a3efe4800b3a3753b6d9ec5329af16d7
pullPolicy: IfNotPresent
service:
name: mychart
type: ClusterIP
externalPort: 80
internalPort: 8080
ingress:
enabled: true
hosts:
- mychart.b9f.io
annotations:
kubernetes.io/ingress.class: nginx
tls:
resources: {}
~$ helm install --dry-run --debug ./mychart
~$ helm install --debug ./mychart
Do Development with Azure Draft
• draft init --auto-accept --ingress-enabled• Create a flask app with requirements.txt• draft create• edit draft.toml• draft up• draft logs• draft connect
Top Related