QuestionQ38
DevSecOps Pipeline-Operate and Monitor StageJason Wylie works as a DevSecOps engineer at an IT company in Sacramento, California. He wants to use Jenkins for continuous integration (CI) and Azure Pipelines for continuous deployment (CD) to deploy a Spring Boot application to an Azure Container Service (AKS) Kubernetes cluster.
He created a namespace for deploying Jenkins in AKS, and then deployed the Jenkins application to the Pod.
Which of the following commands should Jason run to see the pods that have been spun up and are running?
- A kubectl get pods -s jenkins
- B kubectl get pods -p jenkins
- C kubectl get pods -n jenkins
- D kubectl get pods -k jenkins
Community Discussion