istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/test/framework/components/echo/kube/testdata/multiple-istio-versions-no-proxy.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 - name: http 14 port: 8090 15 targetPort: 8090 16 selector: 17 app: foo 18 --- 19 apiVersion: apps/v1 20 kind: Deployment 21 metadata: 22 name: foo-bar-rev-a 23 spec: 24 replicas: 1 25 selector: 26 matchLabels: 27 app: foo 28 version: bar 29 template: 30 metadata: 31 labels: 32 app: foo 33 version: bar 34 test.istio.io/class: standard 35 istio.io/rev: rev-a 36 annotations: 37 prometheus.io/scrape: "true" 38 prometheus.io/port: "15014" 39 spec: 40 imagePullSecrets: 41 - name: myregistrykey 42 containers: 43 - name: app 44 image: testing.hub/app:latest 45 imagePullPolicy: Always 46 args: 47 - --metrics=15014 48 - --cluster=cluster-0 49 - --grpc=7070 50 - --port=8090 51 - --port=8080 52 - --port=3333 53 - --version=bar 54 - --istio-version=1.8.2 55 - --crt=/cert.crt 56 - --key=/cert.key 57 ports: 58 - containerPort: 7070 59 - containerPort: 8090 60 - containerPort: 8080 61 - containerPort: 3333 62 name: tcp-health-port 63 env: 64 - name: INSTANCE_IP 65 valueFrom: 66 fieldRef: 67 fieldPath: status.podIP 68 - name: NAMESPACE 69 valueFrom: 70 fieldRef: 71 fieldPath: metadata.namespace 72 readinessProbe: 73 httpGet: 74 path: / 75 port: 8080 76 initialDelaySeconds: 1 77 periodSeconds: 2 78 failureThreshold: 10 79 livenessProbe: 80 tcpSocket: 81 port: tcp-health-port 82 initialDelaySeconds: 10 83 periodSeconds: 10 84 failureThreshold: 10 85 startupProbe: 86 tcpSocket: 87 port: tcp-health-port 88 periodSeconds: 1 89 failureThreshold: 10 90 --- 91 apiVersion: apps/v1 92 kind: Deployment 93 metadata: 94 name: foo-bar-rev-b 95 spec: 96 replicas: 1 97 selector: 98 matchLabels: 99 app: foo 100 version: bar 101 template: 102 metadata: 103 labels: 104 app: foo 105 version: bar 106 test.istio.io/class: standard 107 istio.io/rev: rev-b 108 annotations: 109 prometheus.io/scrape: "true" 110 prometheus.io/port: "15014" 111 spec: 112 imagePullSecrets: 113 - name: myregistrykey 114 containers: 115 - name: app 116 image: testing.hub/app:latest 117 imagePullPolicy: Always 118 args: 119 - --metrics=15014 120 - --cluster=cluster-0 121 - --grpc=7070 122 - --port=8090 123 - --port=8080 124 - --port=3333 125 - --version=bar 126 - --istio-version=1.9.0 127 - --crt=/cert.crt 128 - --key=/cert.key 129 ports: 130 - containerPort: 7070 131 - containerPort: 8090 132 - containerPort: 8080 133 - containerPort: 3333 134 name: tcp-health-port 135 env: 136 - name: INSTANCE_IP 137 valueFrom: 138 fieldRef: 139 fieldPath: status.podIP 140 - name: NAMESPACE 141 valueFrom: 142 fieldRef: 143 fieldPath: metadata.namespace 144 readinessProbe: 145 httpGet: 146 path: / 147 port: 8080 148 initialDelaySeconds: 1 149 periodSeconds: 2 150 failureThreshold: 10 151 livenessProbe: 152 tcpSocket: 153 port: tcp-health-port 154 initialDelaySeconds: 10 155 periodSeconds: 10 156 failureThreshold: 10 157 startupProbe: 158 tcpSocket: 159 port: tcp-health-port 160 periodSeconds: 1 161 failureThreshold: 10 162 ---