--- apiVersion: v1 kind: Service metadata: name: consul spec: type: NodePort ports: - name: consul protocol: TCP port: 8500 targetPort: 8500 selector: service: consul --- kind: ConfigMap apiVersion: v1 metadata: name: foo annotations: "getambassador.io/consul-resolver": "true" data: consulAddress: "consul:8500" datacenter: "dc1" service: "bar" --- apiVersion: v1 kind: Pod metadata: name: consul annotations: sidecar.istio.io/inject: "false" labels: service: consul spec: serviceAccountName: ambassador containers: - name: consul image: consul:1.4.3 restartPolicy: Always