You will learn:
- What a
Pod
is - How to create, "update", and delete a pod
- Exporting a pod to
JSON
andYAML
- Port Forward traffic locally to your pod
- The anatomy of a Kubernetes manifest
- Introduction to
kubectl
- Deploying the
sleep
pod - Deploying the
httpd
pod - Accessing
httpd
- Deploy a
nginx
image as a pod namednginx
- Export
nginx
pod manifest asJSON
andYAML
- Port Forward to your
nginx
pod - Delete the
nginx
pod
kubectl create -f manifest.yaml
kubectl delete -f manifest.yaml
kubectl apply -f manifest.yaml
kubectl delete resource_type resource_name
kubectl get resource_type resource_name -o format --export
kubectl port-forward pod_name local_port:container_port