Issue with startup probe

12/20/2021

As part of the IIS Lifecycle, I want to add startup, liveness, and readiness probes to my helm-chart deployment.yaml file.

I'm facing an issue regarding the startup probe.

My deployment and its replicas sets contain all 3 probes. On the other hand, the pod that inherits from its replica set contains only 2 probes: liveness and readiness.

My deployment/relicaSets settings:

livenessProbe:
        httpGet:
          path: /probes/live
          port: https
          scheme: HTTPS
          httpHeaders:
            - name: Host
              value: {My site}
        timeoutSeconds: 3
        periodSeconds: 10
        successThreshold: 1
        failureThreshold: 30
      readinessProbe:
        httpGet:
          path: /probes/ready
          port: https
          scheme: HTTPS
          httpHeaders:
            - name: Host
              value: {My site}
        timeoutSeconds: 3
        periodSeconds: 10
        successThreshold: 1
        failureThreshold: 30
      startupProbe:
        httpGet:
          path: /probes/start
          port: https
          scheme: HTTPS
          httpHeaders:
            - name: Host
              value: {My site}
        timeoutSeconds: 3
        periodSeconds: 10
        successThreshold: 1
        failureThreshold: 70

My pod settings:

livenessProbe:
    httpGet:
      path: /probes/live
      port: https
      scheme: HTTPS
      httpHeaders:
        - name: Host
          value: {My site}
    timeoutSeconds: 3
    periodSeconds: 10
    successThreshold: 1
    failureThreshold: 30
  readinessProbe:
    httpGet:
      path: /probes/ready
      port: https
      scheme: HTTPS
      httpHeaders:
        - name: Host
          value: {My site}
    timeoutSeconds: 3
    periodSeconds: 10
    successThreshold: 1
    failureThreshold: 30

Did someone know what might be the issue there?

-- Sefi Caharon
devops
kubernetes
yaml

0 Answers