Docker Commands Kubernetes Architecture: Don't Forget!
Docker Commands Kubernetes Architecture: Don't Forget!
docker ps
Re-start a Container
Kubernetes Commands
Apply a “File” (E.g. a Deployment.yaml)
Kubectl get namespace Container: An image that has been executed, containing the app and it's dependencies.
Get Pods in a Namespaces Image: The result of building an app and it's dependencies. Images are transferable units.
Kubectl get pods –namespace=<name of namespace>
Load Balancer: A Service that exposes a container externally.
Get All “Objects” (E.g. Get All Pods)
Node: A Node is "worker machine" that runs containerized applications.
Kubectl get <object type>
Node Port: A Service used for development purposes to expose containers externally.
Delete an “Object” (E.g. Delete a Deployment)
Kubectl delete <object type> <object name> Pod: Smallest K8S object. Represents a set of running containers.
dotnetplaybook.com