- multipass
- kubectl, helm
NEW QUICKSTART
-> ./boot.sh
- multipass (VMware cluster) 설치
bash scripts/multipass.sh -i
- teardown:
bash scripts/multipass.sh -u
- vm 임시 종료 시:
bash scripts/multipass.sh -p
- vm 재시작 시:
bash scripts/multipass.sh -r
- teardown:
- lightweight-kubernetes (k3s) 설치
bash scripts/k3s.sh -i
- teardown:
TBD (지금은 k3s 내리는 것보다, multipass에서 teardown이 더 확실하고 빠름)
- teardown:
- ingress-nginx package 설치
bash packages/ingress-nginx/helm.sh -i
- teardown:
bash packages/ingress-nginx/helm.sh -u
- teardown:
- kubernetes dashboard package 설치
bash packages/kubernetes-dashboard/helm.sh -i
- teardown:
bash packages/kubernetes-dashboard/helm.sh -u
- open dashboard:
bash packages/kubernetes-dashboard/helm.sh --open
- get login token:
bash packages/kubernetes-dashboard/helm.sh --token
- teardown:
- longhorn package 설치
bash packages/longhorn/helm.sh -i
- teardown:
bash packages/longhorn/helm.sh -u
- open dashboard:
bash packages/longhorn/helm.sh --open
- teardown:
- prometheus+grafana package 설치
bash packages/prometheus/helm.sh -i
- teardown:
bash packages/prometheus/helm.sh -u
- open dashboard(prometheus):
bash packages/prometheus/helm.sh --open prom
- open dashboard(grafana):
bash packages/prometheus/helm.sh --open grafana
- teardown:
- 쉘 스크립트의 실행시간/리소스사용결과 확인:
time bash {shellscripts}
- ex1.
time bash scripts/multipass.sh -i
- result-ex1)
bash scripts/multipass.sh -i 12.10s user 34.59s system 30% cpu 2:31.43 total
- ex1.
- Istio 적용: https://m.blog.naver.com/freepsw/221919196101
- 예거 트레이싱 적용: https://github.com/jaegertracing/jaeger
- prometheus+grafana 적용
- Kubernetes Resource를 이해하기 위한 좋은 포스팅