Install a Private Go Module in a Dockerfile Without Leaking Credentials
A Go app needs credentials to download a private module during its Docker build. Learn how to supply them without exposing them in image layers or the build cache.
Focused, hands-on DevOps and server-side problems with hints, feedback, and automated solution checks.
A Go app needs credentials to download a private module during its Docker build. Learn how to supply them without exposing them in image layers or the build cache.
A freshly rolled out Deployment has its Pods stuck in ImagePullBackOff, and the catalog page it serves returns 503. Read what the cluster reports about the failed pulls, find out why the image does not pull, and get the Pods running.
Use kubectl proxy to open a local, already authenticated HTTP endpoint to the Kubernetes API server, then use curl to list every Secret in the gliese-581 namespace and save the raw JSON response to /home/laborant/secret-list.json.
A deployment is failing because the application cannot load its TLS certificate. Create the missing secret and mount it into the deployment so the Flask app can serve TLS traffic.
Build a container image for a Node.js app that uses a private npm package without leaking the registry credentials into the image layers.
Configure a Kubernetes Deployment to consume Secrets as environment variables and volume mounts.