apiVersion: v1 items: - apiVersion: v1 kind: ReplicationController metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"v1","kind":"ReplicationController","metadata":{"annotations":{},"name":"nginx","namespace":"default"},"spec":{"replicas":3,"selector":{"app":"nginx"},"template":{"metadata":{"labels":{"app":"nginx"},"name":"nginx"},"spec":{"containers":[{"image":"nginx","name":"nginx","ports":[{"containerPort":80}]}]}}}} creationTimestamp: "2021-07-27T14:37:49Z" generation: 1 labels: app: nginx managedFields: [] name: nginx namespace: default resourceVersion: "511472" uid: f18e7ad9-411e-4ede-badd-35f333cd66c9 spec: replicas: 3 selector: app: nginx template: metadata: creationTimestamp: null labels: app: nginx name: nginx spec: containers: - image: nginx imagePullPolicy: Always name: nginx ports: - containerPort: 80 protocol: TCP resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: availableReplicas: 3 fullyLabeledReplicas: 3 observedGeneration: 1 readyReplicas: 3 replicas: 3 - apiVersion: v1 kind: ReplicationController metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"v1","kind":"ReplicationController","metadata":{"annotations":{},"name":"nginx-new","namespace":"default"},"spec":{"replicas":3,"selector":{"app":"nginx"},"template":{"metadata":{"labels":{"app":"nginx"},"name":"nginx"},"spec":{"containers":[{"image":"nginx","name":"nginx","ports":[{"containerPort":80}]},{"image":"nginx","name":"nginx2","ports":[{"containerPort":80}]}]}}}} creationTimestamp: "2021-07-27T14:45:24Z" generation: 1 managedFields: [] labels: app: nginx name: nginx-new namespace: default resourceVersion: "512079" uid: 4f2df1cd-bb5b-4128-9913-2856f7244d6b spec: replicas: 3 selector: app: nginx template: metadata: creationTimestamp: null labels: app: nginx name: nginx spec: containers: - image: nginx imagePullPolicy: Always name: nginx ports: - containerPort: 80 protocol: TCP resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File - image: nginx imagePullPolicy: Always name: nginx2 ports: - containerPort: 80 protocol: TCP resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: fullyLabeledReplicas: 3 observedGeneration: 1 replicas: 3 kind: List metadata: resourceVersion: "" selfLink: ""