To solidify your understanding that our Deployment object is managing a ReplicaSet object, you can run kubectl get rs to get a list of ReplicaSet in the cluster:
$ kubectl get rsNAME DESIRED CURRENT READY AGEelasticsearch-699c7dd54f 3 3 3 3m
The name of a ReplicaSet is automatically generated from the name of the Deployment object that manages it, and a hash value derived from the Pod template:
<deployment-name>-<pod-template-hash>
Therefore, we know that the elasticsearch-699c7dd54f ReplicaSet is managed by the elasticsearch Deployment.
Using the same logic, you can run kubectl get pods to see a list of Pods:
$ kubectl get pods --show-labelsNAME READY STATUS LABELSelasticsearch-699c7dd54f-n5tmq 1/1 ...