I am new to the custom controllers and trying to understand this. I have started referring the sample-controller but unable to find much difference or understand properly in between the example files
- https://github.com/kubernetes/sample-controller/blob/master/artifacts/examples/crd.yaml
- https://github.com/kubernetes/sample-controller/blob/master/artifacts/examples/crd-status-subresource.yaml
Both the files look similar to me except for the below part in crd-status-subresource.yaml.
subresources:
status: {}
Can anyone help or give suggestions on this to proceed. ?