Kubernetes Cheat Sheet: Create Deployment Foo - Image
Kubernetes Cheat Sheet: Create Deployment Foo - Image
Kubernetes manages clusters of containers, providing tools for deploying and scaling applications,
managing changes to containerized applications, and optimizing the use of underlying hardware.
kubectl create
Create a resource (pod, service, node, job, and so on) referred to by YAML or JSON file, or by name.
kubectl run
run –-stdin –-tty foo \ Start a pod called foo with an interactive
--image=busybox –- /bin/sh shell, based on the busybox image
Interacting
exec foo -c bar –- ls Run the ls command in bar (in pod foo)
Scaling
Images serve as blueprints for any number of replicas, which can be created as needed.
kubectl get
kubectl delete