Commit d55c0ed5 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

namespaced kuctl get pods

parent 7631a304
Pipeline #22469 passed with stages
in 16 minutes and 39 seconds
......@@ -11,14 +11,13 @@ stages:
.docker-login: &docker-login
- echo -n $CI_REGISTRY_PASSWORD | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
script: &kube-deploy
- sed -i "s^__IMAGE__^${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}^" ./k8s/deployment.yml
- sed -i "s^__NAMESPACE__^${NAMESPACE}^" ./k8s/deployment.yml ./k8s/service.yml
- kubectl version
- kubectl get pods -n cbio-on-demand
- kubectl get pods -n ${NAMESPACE}
- kubectl apply -f ./k8s
- kubectl rollout status -f ./k8s/deployment.yml
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment