forked from sagayd/helm-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (32 loc) · 772 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.PHONY: all $(MAKECMDGOALS)
all:
echo Sagayaraj
.PHONY: dkrlogin
dkrlogin:
sudo docker login
.PHONY: dkrbuild
dkrbuild:
sudo docker build -t hellohtml .
.PHONY: dkrpush
dkrpush:
sudo docker tag hellohtml sagayd/hellohtml
sudo docker push sagayd/hellohtml:latest
.PHONY: helmcreate
helmcreate:
cd helmchart && helm create hello-world
.PHONY: helmpkg
helmpkg:
cd helmchart && helm package hello-world --debug
.PHONY: helminstall
helminstall:
cd helmchart && helm install hello-world-0.1.0.tgz --name hello-world
kubectl get svc --watch
# wait for a IP
.PHONY: helmrepos
helmrepos:
helm repo list
#Public helm repo: https://kubernetes-charts.storage.googleapis.com
#List helm deployments
#helm list --all
#Delete helm install
#helm del --purge <rel-name>