apiVersion: v1
kind: Service
metadata:
annotations:
service.alpha.kubernetes.io/app-protocols: '{"http2":"HTTP2"}'
name: echoheaders
labels:
app: echoheaders
spec:
type: NodePort
ports:
- port: 443
targetPort: 8443
protocol: TCP
name: http2
selector:
app: echoheaders