Add a Sidecar Log Tailer to an Existing Deployment
Add a sidecar container to an existing Deployment that tails a shared log file written by the main application container. Use a shared volume to make the log file available to both containers.
Focused hands-on problems designed to help you hone your DevOps or Server Side skills. Some challenges are more educational, while others are based on real-world scenarios. The platform provides hints and feedback for each challenge, including automated solution checks.
Challenges contributed by the community members sharing their knowledge and expertise.
Add a sidecar container to an existing Deployment that tails a shared log file written by the main application container. Use a shared volume to make the log file available to both containers.
Scale deployments automatically based on CPU utilization - and see why resource requests are a prerequisite for HPA to work.
Create a PersistentVolumeClaim backed by a CSI StorageClass and run a storage performance benchmark using FIO inside a Kubernetes Job.
Create a Pod with a main application container and a sidecar container that continuously streams shared logs. Kubernetes implements sidecar containers as a special case of init containers.