我是Dev Ops的新手。我正在VSTS中设置CD管道。我已经使用Deploy to Kubernetes任务来部署应用程序,该工作正常。
在部署到Kubernetes任务后,我添加了……
您可以使用标签查找您感兴趣的吊舱:
$ kg po --show-labels NAME READY STATUS RESTARTS AGE LABELS frontend-76dc7bfc6d-7zcb8 1/1 Running 0 9h app=Frontend,branch=develop,pod-template-hash=76dc7bfc6d identityserverapp-f9684fc77-z9wtb 1/1 Running 0 9h app=IdentityServerApp,branch=develop,pod-template-hash=f9684fc77 $ kg po --selector=app=Frontend NAME READY STATUS RESTARTS AGE frontend-76dc7bfc6d-7zcb8 1/1 Running 0 9h
PS。 kg =别名 kubectl get
kg
kubectl get