• Kubernetes init containers

    2 min read

    kubernetes initContainers

    Kubernetes init containers are a special container that runs before the main containers on the Pod. They are usually used used for setting up the environment and populate some shared storage to be used for the actual containers.

    21/06/2021

    Read more...
  • kubernetes: Adding initContainers to a pod

    2 min read

    initContainers pod kubectl

    When setting up a pod we might need to populate some shared storage or generate some configuration files to be used for the actual containers that are going to run on that pod. It might not make sense that some tools just required for the setting up the environment to be available on the final container. Futhermore, we might need to run some scripts with higher privileges than we really need for running the pod. The initContainers come handy for covering this use-cases.

    27/04/2021

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets