svc.yaml 255 B

12345678910111213141516
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: hostname
  5. annotations:
  6. cloud.google.com/neg: '{"ingress":true}'
  7. spec:
  8. ports:
  9. - port: 80
  10. protocol: TCP
  11. targetPort: 9376
  12. selector:
  13. run: hostname
  14. sessionAffinity: None
  15. type: ClusterIP