删除 Kubernetes 就绪探针

时间:2021-02-22 13:50:12

标签: kubernetes google-cloud-platform kubernetes-helm

我的部署有一个 readinessProbe 配置如下:

 readinessProbe:
    port: 8080
    path: /ready
    initialDelaySeconds: 30
    failureThreshold: 60
    periodSeconds: 10
    timeoutSeconds: 15

出于某种原因,我想移除探头。但是,从我的 YML 文件中删除它后,我的部署没有成功,因为看起来 pod 从未被认为准备好。检查 GCP 我发现结果 YML 文件有一个就绪探针,指向一些我没有设置的“默认值”:

    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /ready
        port: 80
        scheme: HTTP
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5

有没有办法真正永久删除 ReadinessProbe?

0 个答案:

没有答案