svc.yaml 308 B

123456789101112131415161718
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. annotations:
  5. service.alpha.kubernetes.io/app-protocols: '{"http2":"HTTP2"}'
  6. name: echoheaders
  7. labels:
  8. app: echoheaders
  9. spec:
  10. type: NodePort
  11. ports:
  12. - port: 443
  13. targetPort: 8443
  14. protocol: TCP
  15. name: http2
  16. selector:
  17. app: echoheaders