Monday, August 30, 2021

Kubectl Commands : Master List

kubectl get pods -n cs
kubectl get svc
kubectl get pods -o wide
kubectl exec -it <podName> -n fda-qa /bin/bash
kubectl describe <podName>
-------------------------------------
kubectl apply -f csv.yml
-------------------------------------
sudo az acr login --name coraaidev
-------------------------------------
kubectl logs <podName> -n cs
 kubctl delete pod <podName> -n cs
 -------------------------------------
sudo docker build -t dev.azurecr.io/hello-service  .
 sudo docker push dev.azurecr.io/hello-service
sudo docker images
-------------------------------------
sudo docker build -t association-service .
sudo docker tag association-service:latest coraaidev.azurecr.io/association-service:latest
docker tag -t  coraidev.azureecr.io/vea-cs:latest .
sudo docker push coraidev.azureecr.io/vea-cs:latest

No comments:

Post a Comment

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass