istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/test/framework/components/echo/kube/testdata/proxyless.yaml (about) 1 2 apiVersion: v1 3 kind: Service 4 metadata: 5 name: foo 6 labels: 7 app: foo 8 spec: 9 ports: 10 - name: grpc 11 port: 7070 12 targetPort: 7070 13 selector: 14 app: foo 15 --- 16 apiVersion: apps/v1 17 kind: Deployment 18 metadata: 19 name: foo-bar 20 spec: 21 replicas: 1 22 selector: 23 matchLabels: 24 app: foo 25 version: bar 26 template: 27 metadata: 28 labels: 29 app: foo 30 version: bar 31 test.istio.io/class: proxyless 32 annotations: 33 prometheus.io/scrape: "true" 34 prometheus.io/port: "15014" 35 inject.istio.io/templates: "grpc-agent" 36 proxy.istio.io/config: '{"holdApplicationUntilProxyStarts": true}' 37 spec: 38 imagePullSecrets: 39 - name: myregistrykey 40 containers: 41 - name: istio-proxy 42 image: auto 43 imagePullPolicy: Always 44 securityContext: # to allow core dumps 45 readOnlyRootFilesystem: false 46 - name: app 47 image: testing.hub/app:latest 48 imagePullPolicy: Always 49 args: 50 - --metrics=15014 51 - --cluster=cluster-0 52 - --xds-grpc-server=7070 53 - --port=8080 54 - --port=3333 55 - --grpc=17171 56 - --bind-localhost=17171 57 - --version=bar 58 - --istio-version= 59 - --crt=/cert.crt 60 - --key=/cert.key 61 ports: 62 - containerPort: 7070 63 - containerPort: 8080 64 - containerPort: 3333 65 name: tcp-health-port 66 - containerPort: 17171 67 env: 68 - name: INSTANCE_IP 69 valueFrom: 70 fieldRef: 71 fieldPath: status.podIP 72 - name: NAMESPACE 73 valueFrom: 74 fieldRef: 75 fieldPath: metadata.namespace 76 - name: EXPOSE_GRPC_ADMIN 77 value: "true" 78 readinessProbe: 79 httpGet: 80 path: / 81 port: 8080 82 initialDelaySeconds: 1 83 periodSeconds: 2 84 failureThreshold: 10 85 livenessProbe: 86 tcpSocket: 87 port: tcp-health-port 88 initialDelaySeconds: 10 89 periodSeconds: 10 90 failureThreshold: 10 91 startupProbe: 92 tcpSocket: 93 port: tcp-health-port 94 periodSeconds: 1 95 failureThreshold: 10 96 ---