Hi - Why does yaml file in KodeKloud has lot of empty fields Example - In Node A . . .

swapnil shroff:
hi - Why does yaml file in KodeKloud has lot of empty fields
Example - In Node Affinity exercise when I o/p blue.yaml as below
kubectl get deployments.apps blue -o yaml > blue.yaml
It has fields like
managedFields:
- apiVersion: apps/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
.: {}
f:app: {}
f:spec:
f:progressDeadlineSeconds: {}
f:replicas: {}
f:revisionHistoryLimit: {}
f:selector: {}
f:strategy:
f:rollingUpdate:
.: {}
f:maxSurge: {}
f:maxUnavailable: {}
f:type: {}
f:template:
f:metadata:
f:labels:
.: {}
f:app: {}
f:spec:
f:containers:
k:{"name":"nginx"}:

Mohamed Ayman:
Can u share the question number and the lab url to check it?

Kasun:
with kubernetes 1.18 this is the default output for yaml