[JIRA] (JENKINS-57380) Set k8s labels on pod

0 views
Skip to first unread message

sxcoll2@yahoo.com (JIRA)

unread,
May 8, 2019, 8:20:02 PM5/8/19
to jenkinsc...@googlegroups.com
Steve Collins created an issue
 
Jenkins / Improvement JENKINS-57380
Set k8s labels on pod
Issue Type: Improvement Improvement
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2019-05-09 00:19
Priority: Minor Minor
Reporter: Steve Collins

When I describe a pod created by the plugin, there are no unique labels on the pod and I see no way to add a label (unique per pod so adding label via raw YAML would not suffice).

I would like to front the pod with a service though I need to be able to select against a kubernetes label .   Provide a way to add a label or at least set a label in the pod with the name of the pod so it can be selected against from a k8s service.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Jun 4, 2019, 8:18:02 AM6/4/19
to jenkinsc...@googlegroups.com
Jesse Glick commented on Improvement JENKINS-57380
 
Re: Set k8s labels on pod

Not clear to me what is stopping you from using the existing yaml option with a dynamic argument.

jglick@cloudbees.com (JIRA)

unread,
Jul 8, 2019, 2:47:04 PM7/8/19
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Incomplete
 
Change By: Jesse Glick
Status: Open Resolved
Resolution: Incomplete
Reply all
Reply to author
Forward
0 new messages