The deployments in kubernetes manage replicaSets and replicaSets manage pods.
In case we need to modify our pods ( scale the number of pods, change the image version, ... ), we will need to know the name of the deployment managing our pods.
We use the below command to do know which deployment manages our pods in the namespace "namespace":
The "kubectl describe" also gives us a lot of information - as we can see below -, including the image, IP addresses of the pods, the state of the pod, ...
We could then for example scale down our pods by running the below command and changing the "replicas" parameter in the Yaml file of our deployment: