https://github.com/hemantksingh/whatthehack
https://github.com/hemantksingh/whatthehack
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hemantksingh/whatthehack
- Owner: hemantksingh
- Created: 2020-09-22T12:52:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T01:15:12.000Z (almost 5 years ago)
- Last Synced: 2025-03-30T15:47:01.536Z (8 months ago)
- Language: Smarty
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What The Hack - Intro To Kubernetes
AKS deployment manifest for completing whatthehack challenges https://microsoft.github.io/WhatTheHack/001-IntroToKubernetes/
The exercise files can be found here https://github.com/gfilicetti/WhatTheHack/blob/master/001-IntroToKubernetes/README.md
## Start
```sh
kubectl create namespace hack
```
## Rolling deploy
```sh
kubectl -n hack set image deployment/content-api content-api=whatthehackmsft/content-api:v2
```
## Helm chart
```sh
# create the namespace outside helm using kubectl
kubectl create namespace thehack
# create helm chart
helm create langfacts
# install dry run
helm install langfacts --dry-run --debug ./langfacts
# upgrade app using local chart repository './' and chart 'langfacts'
helm upgrade --install langfacts --debug ./langfacts --set image.tag=v4
# get installed releases
helm list
# get installed repos
helm repo list
# get charts in a reps
helm search repo
```