In 'kubectl describe', find controllers with ControllerRef, instead of showing the original creator

This commit is contained in:
Janet Kuo
2017-03-09 15:21:35 -08:00
parent 60310ce0f7
commit b29135ea8f
4 changed files with 35 additions and 6 deletions

View File

@@ -777,7 +777,8 @@ var _ = framework.KubeDescribe("Kubectl client", func() {
{"Annotations:"},
{"Status:", "Running"},
{"IP:"},
{"Controllers:", "ReplicationController/redis-master"},
{"Created By:", "ReplicationController/redis-master"},
{"Controlled By:", "ReplicationController/redis-master"},
{"Image:", redisImage},
{"State:", "Running"},
{"QoS Class:", "BestEffort"},