concept follow command in category kubernetes
appears as: following commd

This is an excerpt from Manning's book Kubernetes in Action, Second Edition.
With the image built and ready, you can now run the container with the following command:
Whenever you want to create a pod manifest from scratch, you can also use the following command to create the file and then edit it to add more fields: kubectl run kubia --image=luksa/kubia:1.0 --dry-run=client -o yaml > mypod.yaml. The --dry-run=client flag tells kubectl to output the definition instead of actually creating the object via the API.
$ kubectl cp kubia:/etc/hosts /tmp/kubia-hosts