trying kubecontext
This commit is contained in:
parent
6cf8a35bdf
commit
e11f974148
1 changed files with 2 additions and 2 deletions
|
|
@ -35,9 +35,9 @@ deploy:
|
||||||
image:
|
image:
|
||||||
name: bitnami/kubectl:latest
|
name: bitnami/kubectl:latest
|
||||||
entrypoint: ['']
|
entrypoint: ['']
|
||||||
|
variables:
|
||||||
|
KUBE_CONTEXT: stare/infra:ovh-cluster
|
||||||
script:
|
script:
|
||||||
- kubectl config get-contexts
|
|
||||||
- kubectl config use-context stare/infra:ovh-cluster
|
|
||||||
- kubectl get pods
|
- kubectl get pods
|
||||||
- kubectl rollout restart deployment/proxy-detection-api
|
- kubectl rollout restart deployment/proxy-detection-api
|
||||||
- kubectl rollout status deployment/proxy-detection-api --timeout=300s
|
- kubectl rollout status deployment/proxy-detection-api --timeout=300s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue