kubernetes: kubectl describe doesn't show annotations
E.g
Name:           chris-test-svc
Namespace:      default
Labels:         app=serverspec,kubernetes.io/aws-lb-cname-zone=k8s.api.bskyb.com
Selector:       app=serverspec
Type:           LoadBalancer
IP:         10.254.80.188
LoadBalancer Ingress:   internal-a706c9285f10611e58a8b064e140b16c-521920650.eu-west-1.elb.amazonaws.com, chris-test-svc-default-cirrus-core.k8s.api.bskyb.com
Port:           <unset> 80/TCP
NodePort:       <unset> 31220/TCP
Endpoints:      172.16.31.9:80,172.16.5.7:80
Session Affinity:   None
Events:
  FirstSeen LastSeen    Count   From            SubobjectPath   Type        Reason          Message
  --------- --------    -----   ----            -------------   --------    ------          -------
  19m       19m     1   {service-controller }           Normal      CreatingLoadBalancer    Creating load balancer
  19m       19m     1   {service-controller }           Normal      CreatedLoadBalancer Created load balancer
  16m       16m     1   {service-controller }           Normal      CreatingLoadBalancer    Creating load balancer
  16m       16m     1   {service-controller }           Normal      CreatedLoadBalancer Created load balancer
  16m       16m     1   {service-controller }           Normal      UpdatedLoadBalancer Updated load balancer with new hosts
Happy to raise a PR for this if you think they should be shown a long with the labels.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 16 (6 by maintainers)
yes,
kubectl view annotationsshould be something fit this case.