10 lines
273 B
Makefile
10 lines
273 B
Makefile
default: convert deploy viz
|
|
|
|
convert:
|
|
kompose convert -o deployment.yaml -n pihole
|
|
deploy:
|
|
kubectl apply -f deployment.yaml
|
|
viz:
|
|
k8sviz -n pihole --kubeconfig $KUBECONFIG -t png -o pihole-k8s.png
|
|
restart:
|
|
kubectl rollout restart -n pihole deployment/pihole
|