I’m using microk8s v1.21.7 for testing with istio. I installed istio with helm chart and edited file values.yaml as below
proxy:
image: proxyv2
lifecycle:
preStop:
exec:
command: ["/bin/sh", "-c", "while [ $(netstat -plunt | grep tcp | grep -v envoy | wc -l | xargs) -ne 0 ]; do sleep 1; done"]
All release is deployed success, but when i tested bookinfo example, in istio-proxy container i can’t find lifecycle section. What is my wrong, please help me. Tks!
helm ls -A
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
istio-base istio-system 1 2021-12-24 10:37:43.921927421 +0000 UTC deployed base-1.12.1 1.12.1
istiod istio-system 1 2021-12-24 10:38:01.208956645 +0000 UTC deployed istiod-1.12.1 1.12.1
istio-proxy:
Container ID: containerd://7e0806a33680845dd868e8186e4e1d2590b9e34dfb02ac1abad7f118927ed9aa
Image: docker.io/istio/proxyv2:1.12.1
Image ID: docker.io/istio/proxyv2@sha256:4704f04f399ae24d99e65170d1846dc83d7973f186656a03ba70d47bd1aba88f
Port: 15090/TCP
Host Port: 0/TCP
Args:
proxy
sidecar
--domain
$(POD_NAMESPACE).svc.cluster.local
--proxyLogLevel=warning
--proxyComponentLogLevel=misc:error
--log_output_level=default:info
--concurrency
2
State: Running
Started: Fri, 24 Dec 2021 10:40:16 +0000
Ready: True
Restart Count: 0
Limits:
cpu: 2
memory: 1Gi
Requests:
cpu: 100m
memory: 128Mi
Readiness: http-get http://:15021/healthz/ready delay=1s timeout=3s period=2s #success=1 #failure=30
Environment:
....