Kubernetes Submit Queue
48d263d3bf
Merge pull request #44282 from derekwaynecarr/fix-kubectl-logs
...
Automatic merge from submit-queue (batch tested with PRs 38751, 44282, 46382, 47603, 47606)
kubectl logs with label selector supports specifying a container name
**What this PR does / why we need it**:
Allows `kubectl logs` to take both a label selector and container name. This allows me to fetch logs from pods by selector whose pods have multiple containers with a common name. This is a common action when debugging components like the service-catalog that ship more than one container in their pod. With this change, the following command lets me get logs for service-catalog.
```
$ kubectl logs -l app=sc-catalog-apiserver --namespace=service-catalog --container=apiserver
```
2017-06-16 18:05:48 -07:00
..
2017-05-31 11:25:29 +08:00
2017-06-06 13:30:24 -07:00
2017-06-13 12:57:05 -04:00
2017-06-13 12:57:05 -04:00
2017-05-15 12:50:56 -07:00
2017-05-31 15:08:25 -07:00
2017-06-13 12:57:05 -04:00
2017-06-16 08:19:13 -07:00
2017-04-04 10:36:30 +01:00
2017-06-13 12:57:05 -04:00
2017-05-18 16:48:13 -07:00
2017-05-26 00:20:48 +08:00
2017-06-13 12:57:05 -04:00
2017-06-02 23:37:42 -07:00
2017-06-13 12:57:05 -04:00
2017-06-16 08:19:13 -07:00
2017-05-19 02:04:59 +08:00
2017-06-13 12:57:05 -04:00
2017-06-13 12:57:05 -04:00
2017-06-06 13:30:24 -07:00
2017-06-13 12:57:05 -04:00
2016-10-19 08:53:26 +10:00
2017-04-18 07:42:14 -07:00
2017-06-13 12:57:05 -04:00
2017-06-13 12:57:05 -04:00
2017-06-11 07:12:23 +09:00
2017-04-13 04:07:21 -07:00
2017-06-13 12:57:05 -04:00
2016-10-29 20:24:54 -07:00
2017-04-13 04:07:21 -07:00
2017-06-02 19:53:40 -07:00
2017-05-26 10:07:44 +08:00
2017-04-06 20:12:50 -07:00
2017-01-25 08:29:48 -05:00
2017-04-06 20:12:50 -07:00
2017-05-31 16:38:46 -07:00
2017-04-06 20:12:50 -07:00
2017-01-25 08:29:48 -05:00
2017-04-06 20:12:50 -07:00
2017-05-23 07:18:44 -07:00
2017-05-24 10:14:00 +08:00
2017-04-06 20:12:50 -07:00
2017-06-03 18:30:40 -07:00
2017-06-13 12:57:05 -04:00
2017-03-29 16:36:22 +08:00
2017-04-06 20:12:50 -07:00
2017-01-25 08:29:48 -05:00
2017-04-06 20:12:50 -07:00
2017-05-16 18:45:38 +08:00
2017-04-06 20:12:50 -07:00
2017-01-25 08:29:48 -05:00
2017-04-06 20:12:50 -07:00
2017-01-26 19:59:16 -05:00
2017-06-13 12:57:05 -04:00
2017-05-11 09:11:07 -04:00
2017-06-13 12:57:05 -04:00
2017-01-26 19:59:25 -05:00
2017-06-13 12:57:05 -04:00
2017-04-13 10:02:43 -07:00
2017-06-16 08:19:13 -07:00
2017-05-26 00:20:48 +08:00
2017-04-18 20:44:25 +08:00
2017-05-19 02:04:59 +08:00
2017-05-22 19:07:12 -07:00
2017-05-19 10:56:35 +08:00
2017-02-23 00:28:32 -05:00
2017-06-13 12:57:05 -04:00
2017-06-06 13:30:24 -07:00
2017-06-13 12:57:05 -04:00
2017-04-25 15:07:01 +08:00
2017-04-04 10:36:30 +01:00
2017-06-13 12:57:05 -04:00
2017-01-25 08:29:48 -05:00
2017-06-16 18:05:48 -07:00
2017-05-28 11:23:44 -07:00
2017-05-31 13:02:23 +05:30
2017-06-13 12:57:05 -04:00
2017-05-19 19:17:43 -03:00
2017-05-19 19:17:43 -03:00
2017-04-04 10:36:30 +01:00
2017-05-15 16:28:56 +03:00
2017-05-22 18:57:11 -04:00
2017-01-26 19:59:16 -05:00
2017-06-13 12:57:05 -04:00
2017-05-11 20:09:31 +08:00
2017-06-13 12:57:05 -04:00
2017-05-31 16:38:46 -07:00
2017-06-13 12:57:05 -04:00
2017-06-13 12:57:05 -04:00
2017-06-13 12:57:05 -04:00
2017-04-28 10:28:26 -04:00
2017-06-13 12:57:05 -04:00
2017-05-15 13:51:39 -07:00
2017-04-06 20:12:50 -07:00
2017-05-15 13:50:49 -07:00
2017-04-06 20:12:50 -07:00
2017-05-15 13:50:49 -07:00
2017-04-06 20:12:50 -07:00
2017-04-25 15:07:01 +08:00