apiVersion: v1 kind: Service metadata: name: agent-hub namespace: agent-pod spec: selector: app: agent-pod ports: - port: 9090 targetPort: 9090