Service Topology in k8s 1.17 doesn't works

6/11/2020

I enabled a service topology in k8s, but when I create the following service the request is not redirected to local pod:

<pre> apiVersion: v1 kind: Service metadata: name: nginx spec: selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 topologyKeys: - "kubernetes.io/hostname" </pre>
-- Clarencio
kubernetes

0 Answers