• The activeDeadlineSeconds property on a Pod definition

    3 min read

    kubernetes activeDeadlineSeconds Pod Job

    If we take a look all the possible properties for a Pod definition we might notice that there's one to limit the time a Pod can be running:

    apiVersion: v1
    kind: Pod
    metadata:
      name: test
    spec:
      activeDeadlineSeconds: 10
      containers:
      - args:
        - sleep
        - 24h
        image: alpine
        name: test
    

    07/03/2022

    Read more...

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