apiVersion: v1 kind: Pod metadata: name: client namespace: istio-vt-t19 labels: app: client annotations: sidecar.istio.io/inject: "true" spec: containers: - name: curl image: curlimages/curl:8.14.1 command: ["sleep", "infinity"] --- apiVersion: apps/v1 kind: Deployment metadata: name: unnamed-port-echo namespace: istio-vt-t19 labels: app: unnamed-port-echo spec: replicas: 1 selector: matchLabels: app: unnamed-port-echo template: metadata: labels: app: unnamed-port-echo annotations: sidecar.istio.io/inject: "true" spec: containers: - name: echo image: hashicorp/http-echo:0.2.3 args: ["-text=sniffed-ok", "-listen=:5678"] ports: - containerPort: 5678 --- apiVersion: v1 kind: Service metadata: name: unnamed-port-echo namespace: istio-vt-t19 spec: selector: app: unnamed-port-echo ports: - name: custom-noprefix port: 80 targetPort: 5678 --- apiVersion: networking.istio.io/v1 kind: VirtualService metadata: name: unnamed-port-echo-vs namespace: istio-vt-t19 spec: hosts: - unnamed-port-echo.istio-vt-t19.svc.homelab.local http: - fault: abort: percentage: value: 100 httpStatus: 418 route: - destination: host: unnamed-port-echo.istio-vt-t19.svc.homelab.local