GoogleCloudPlatform/continuous-deployment-on-kubernetes

pod-name is not being fetched due to the label in kubectl get pods command

Closed this issue · 2 comments

The section https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes#configure-and-install-jenkins

where point 4 says export POD_NAME the label says -l "component=cd-jenkins-master"

but when we describe the pod we can see the label set as "app.kubernetes.io/component=jenkins-master"

should the command be changed to add -l "app.kubernetes.io/component=jenkins-master"

Thank you for pointing this out!!

Fixed here:
46b1bd2