• Kubernetes readinessProbe: testing container's availability

    1 min read

    kubernetes Pod readinessProbe

    Some applications might temporally not being able to server traffic due to some work it is doing: For example, loading data, contacting with external services... If we want to have a way to temporally disable traffic without restarting the application we will need to configure a readinessProbe

    24/08/2021

    Read more...
  • Kubernetes livenessProbe: testing container's health

    2 min read

    kubernetes Pod livenessProbe

    Every application will, eventually, fail. In order to detect that the container is failing and being able to recover this situation by restarting it we can use the livenessProbe.

    23/08/2021

    Read more...
  • Fine tunning Pod scheduling using taints, tolerations and nodeSelector

    4 min read

    kubernetes taints tolerations

    If we want just a subset of Pods to be able to be scheduled on a given node we can achieve it using taints and tolerations

    With a taint we can tell the cluster not to schedule Pods on this node, but with a toleration on a Pod we can allow it to tolerate this taint

    20/08/2021

    Read more...
  • Using helm hooks to when certain objects are created

    3 min read

    helm hook

    Sometimes when we are writing a helm chart we realize that we have some parts of the task that need to be performed before of after deploying certain objects. We can also need to execute some Jobs in order to, for example, update the database, but not continuously, just when we update the application.

    To handle this kind of situations we can use helm hooks

    19/08/2021

    Read more...
  • Using kubectl patch to modify existing Kubernetes objects

    2 min read

    kubernetes patch

    To be able to modify a Kubernetes object we can use kubectl edit to do it interactively. It can come handy if we need to test values but it makes it harder to automate it. If we need a way to change a Kubernetes object using a non-interactive command, kubectl patch is the best option for us.

    18/08/2021

    Read more...

More recent...

Older content...