我有部署,我想替换活动探测部分中的“路径”值。kustomize 中的正确路径是什么?
- patch: |-
- op: replace
path: ??????????
value:
https://xyz.staging.something.eu/ping
apiVersion: v1
kind: Pod
metadata:
labels:
test: liveness
name: liveness-http
spec:
containers:
- name: liveness
image: k8s.gcr.io/liveness
args:
- /server
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 3