init commit kubernetes
This commit is contained in:
parent
a401b251c1
commit
85ccc9bad5
18
k8s.mk
18
k8s.mk
|
@ -0,0 +1,18 @@
|
||||||
|
# k8s
|
||||||
|
#
|
||||||
|
# deploys k8s
|
||||||
|
|
||||||
|
start-k8s:
|
||||||
|
@- echo "\n### starting deployment with k8s"
|
||||||
|
@- echo "\n### setting kubernetes context to $(K8S_CONTEXT)"
|
||||||
|
@- kubectl config use-context $(K8S_CONTEXT)
|
||||||
|
|
||||||
|
@- echo "\n### generating imagePullSecrets"
|
||||||
|
@- imagePullSecrets.sh
|
||||||
|
|
||||||
|
@- echo "\n### run kubectl apply -f kubernetes.yaml and secrets.yaml"
|
||||||
|
@- cat kubernetes.yaml secrets.yaml | kubectl apply -f -
|
||||||
|
|
||||||
|
pull-k8s:
|
||||||
|
# nop
|
||||||
|
|
Loading…
Reference in New Issue