小编Sou*_*rya的帖子

Fabric CA 健康检查

hyperledger在集群中部署了一个结构网络 v2.2.0,其中有 2 个对等组织和一个排序组织kubernetes。每个组织都有自己的 CA 服务器。CA pod 有时会不断重新启动。为了知道CA服务器的服务是否可达,我尝试使用healthz端口9443上的API。

livenessProbe我在 CA 部署中使用了这样的条件:

    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /healthz
        port: 9443
        scheme: HTTP
      initialDelaySeconds: 10
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
Run Code Online (Sandbox Code Playgroud)

配置此活性探针后,Pod 会随着事件继续重新启动Liveness probe failed: HTTP probe failed with status code: 400。为什么会发生这种情况?

hyperledger-fabric-ca

5
推荐指数
1
解决办法
323
查看次数

标签 统计

hyperledger-fabric-ca ×1