istio如何保证服务的启动顺序
lifecycle:
postStart:
exec:
command:
- pilot-agent
- wait
Last updated
lifecycle:
postStart:
exec:
command:
- pilot-agent
- wait
Last updated
apiVersion: v1
kind: Pod
metadata:
name: sidecar-starts-first
spec:
containers:
- name: sidecar
image: my-sidecar
lifecycle:
postStart:
exec:
command:
- /bin/wait-until-ready.sh
- name: application
image: my-application