# istio_native-sidecar-opt-in.yaml
apiVersion: v1
kind: Pod
metadata:
  annotations:
    sidecar.istio.io/nativeSidecar: "true"
  name: hello
spec:
  initContainers:
    - name: other-sidecar
      restartPolicy: Always
      readinessProbe:
        httpGet:
          port: 3333
      image: "fake.docker.io/google-samples/hello-go-gke:1.0"
      ports:
        - name: http
          containerPort: 80
  containers:
    - name: hello
      image: "fake.docker.io/google-samples/hello-go-gke:1.0"
      ports:
        - name: http
          containerPort: 80