{
        "observedGeneration": 261,
        "unavailableReplicas": 1,
        "conditions": [
          {
            "type": "Progressing",
            "status": "True",
            "lastUpdateTime": "2020-09-27T05:02:32Z",
            "lastTransitionTime": "2020-09-27T03:38:29Z",
            "reason": "NewReplicaSetCreated",
            "message": "Created new replica set \"aaa-test-aa-645f7c94d6\""
          },
          {
            "type": "ReplicaFailure",
            "status": "True",
            "lastUpdateTime": "2020-09-27T05:02:33Z",
            "lastTransitionTime": "2020-09-27T05:02:33Z",
            "reason": "FailedCreate",
            "message": "Internal error occurred: failed calling webhook \"sidecar-baidu.istio.io\": Post https://istio-baidu-injector.istio-system.svc:443/inject?timeout=30s: dial tcp 10.100.100.100:443: connect: connection refused"
          }
        ]
      }

这一串放到json.loads里面会报错,得前面加个r才可以

r”’

上面的内容

”’

发表评论

邮箱地址不会被公开。 必填项已用*标注