Skip to content
Snippets Groups Projects
Commit 8e2f368f authored by dehury's avatar dehury
Browse files

Update manifest/.k8-deploy-apps.yml

parent c1cb378b
No related branches found
No related tags found
No related merge requests found
Pipeline #13367 passed
...@@ -9,16 +9,15 @@ deploy-job: ...@@ -9,16 +9,15 @@ deploy-job:
name: bitnami/kubectl:latest name: bitnami/kubectl:latest
entrypoint: [""] entrypoint: [""]
before_script: before_script:
# - kubectl config view - kubectl config view
# - kubectl config use-context devops-usecase/iot-usecase-k8:agent2 - kubectl config use-context devops-usecase/iot-usecase-k8:newagent
# - kubectl config current-context - kubectl config current-context
- kubectl get nodes - kubectl get nodes
# - kubectl get pods -n gitlab-kubernetes-agent - kubectl get pods -n gitlab-kubernetes-agent
# - kubectl get pods -n default - kubectl get pods -n default
script: script:
# # Create $NAMESPACE namespace if it does not exist. # # Create $NAMESPACE namespace if it does not exist.
- kubectl get nodes
# - kubectl create namespace $NAMESPACE --dry-run=client -o yaml | kubectl apply -f - # - kubectl create namespace $NAMESPACE --dry-run=client -o yaml | kubectl apply -f -
# - kubectl config set-context --current --namespace=$NAMESPACE # - kubectl config set-context --current --namespace=$NAMESPACE
# - kubectl apply -f manifest/grafana/grafana-pv.yml # - kubectl apply -f manifest/grafana/grafana-pv.yml
...@@ -38,9 +37,9 @@ deploy-job: ...@@ -38,9 +37,9 @@ deploy-job:
# - kubectl apply -f manifest/graphdb/graphdb.yml -n $NAMESPACE # - kubectl apply -f manifest/graphdb/graphdb.yml -n $NAMESPACE
# Installing the kubernetes dashboard # Installing the kubernetes dashboard
# - kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml - kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml
# - $(cat manifest/k8-dashboard/k8-dashboard.yml) - $(cat manifest/k8-dashboard/k8-dashboard.yml)
# - kubectl patch svc kubernetes-dashboard -n kubernetes-dashboard -p "$(cat manifest/k8-dashboard/patch-svcType.yml)" - kubectl patch svc kubernetes-dashboard -n kubernetes-dashboard -p "$(cat manifest/k8-dashboard/patch-svcType.yml)"
# - kubectl create serviceaccount admin-user -n kubernetes-dashboard --dry-run=client -o yaml | kubectl apply -f - # - kubectl create serviceaccount admin-user -n kubernetes-dashboard --dry-run=client -o yaml | kubectl apply -f -
# - kubectl create clusterrolebinding admin-user -n kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kubernetes-dashboard:admin-user --dry-run=client -o yaml | kubectl apply -f - # - kubectl create clusterrolebinding admin-user -n kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kubernetes-dashboard:admin-user --dry-run=client -o yaml | kubectl apply -f -
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment