Copy a File into a Running Pod to Serve a Custom NGINX Page
A Pod is running nginx and exposed via NodePort. Copy a local HTML file into the running Pod so NGINX serves it as the default homepage using only imperative commands.
Focused, hands-on problems for sharpening your DevOps and server-side skills. Some teach specific concepts while others mirror real-world scenarios. Every challenge includes hints, feedback, and automated solution checks.
A Pod is running nginx and exposed via NodePort. Copy a local HTML file into the running Pod so NGINX serves it as the default homepage using only imperative commands.
Identify and fix deprecated API versions in a Kubernetes manifest using the kubectl-convert plugin, then deploy the updated manifest.
Practice configuring Kubernetes to pull images from a private registry and run Pods with authenticated registry access.
Practice the fundamental lifecycle of a Kubernetes Pod: creation, inspection (IP, node), interaction (executing commands, checking logs), and deletion.
An ultimate Kubernetes debugging challenge: can you copy files to/from a running Pod that doesn't have a shell or other command line tools installed?
Practice copying files to/from running Kubernetes Pods to become a Kubernetes troubleshooting ninja.
Can you edit a file in a running Kubernetes pod? What if there is no shell inside and the container's user lacks the write permission?
Learn how to send a signal to an application running as a Kubernetes pod.