-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (33 loc) · 1.13 KB
/
Makefile
File metadata and controls
40 lines (33 loc) · 1.13 KB
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
setup:
kubectl --kubeconfig example-kubeconfig.yaml apply -f services/helm
helm --kubeconfig example-kubeconfig.yaml init --upgrade --service-account tiller
install:
helm --kubeconfig example-kubeconfig.yaml version
helm --kubeconfig example-kubeconfig.yaml upgrade \
--install \
kube-state-metrics \
--namespace kube-system \
--version 1.6.4 \
stable/kube-state-metrics
helm --kubeconfig example-kubeconfig.yaml upgrade \
--install \
nginx-ingres \
-f services/nginx/values.yaml \
--namespace kube-system \
--version 1.6.17 \
stable/nginx-ingress
helm --kubeconfig example-kubeconfig.yaml upgrade \
--install \
jenkins \
-f services/jenkins/values.yaml \
--namespace services \
--version 1.2.2 \
stable/jenkins
status:
watch "kubectl --kubeconfig example-kubeconfig.yaml get nodes && \
echo && kubectl --kubeconfig example-kubeconfig.yaml get pods --all-namespaces && \
echo && kubectl --kubeconfig example-kubeconfig.yaml get ing --all-namespaces"
delete:
helm --kubeconfig example-kubeconfig.yaml delete --purge nginx-ingres
helm --kubeconfig example-kubeconfig.yaml delete --purge jenkins
clean: