1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 08:12:27 +00:00

More fixes to k8s recipe

This commit is contained in:
J. Fernando Sánchez 2017-09-28 10:33:26 +02:00
parent 407fd718a3
commit 8ad2fae774

3
k8s.mk
View File

@ -42,7 +42,8 @@ info: ## Print variables. Useful for debugging.
deploy: ## Deploy to kubernetes using the credentials in KUBE_CA_PEM_FILE (or KUBE_CA_BUNDLE ) and TOKEN deploy: ## Deploy to kubernetes using the credentials in KUBE_CA_PEM_FILE (or KUBE_CA_BUNDLE ) and TOKEN
@cat k8s/*.{yaml,yml,tmpl} | envsubst | $(KUBECTL) apply -f - @ls k8s/
@cat k8s/*.{yaml,yml,tmpl} 2>/dev/null | envsubst | $(KUBECTL) apply -f -
deploy-check: ## Get the deployed configuration. deploy-check: ## Get the deployed configuration.
@$(KUBECTL) get deploy,pods,svc,ingress @$(KUBECTL) get deploy,pods,svc,ingress