kubernetes-kubectl operation example

1. Create resource objects Create a Service and RC at once from a YAML configuration file: kubectl create -f my-service.yaml -f my-rc.yaml According to all under the directory. yaml,. yml,. The definition of the json file is created: kubectl create -f <directory> 2. View Resource Objects View all Pod lists: kubectl get pods ...

Posted by khayll on Sat, 22 Jan 2022 06:27:48 +0100