Welcome to the Linux Foundation Forum!

lab 7.1 labels

The course material shows:

student@lfs458-node-1a0a: ̃$ kubectl describe rs rs-one
Name:           rs-one
Namespace:      default
Selector:       system=ReplicaOne
Labels:         system=ReplicaOne
Annotations:    <none>
Replicas:       2 current / 2 desired
Pods Status:    2 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
  Labels:       system=ReplicaOne
  Containers:
    nginx:
    Image:           nginx:1.15.1
    Port:            80/TCP
    Host Port:       0/TCP
    Environment:     <none>
    Mounts:          <none>
  Volumes:           <none>
Events:              <none>

But actually running the command shows Labels: <none> on line 4 of the output.

Categories

Upcoming Training