1apiVersion: v1 2kind: ReplicationController 3metadata: 4 name: echoheaders-https 5spec: 6 replicas: 2 7 template: 8 metadata: 9 labels: 10 app: echoheaders-https 11 spec: 12 containers: 13 - name: echoheaders-https 14 image: registry.k8s.io/e2e-test-images/agnhost:2.39 15 command: 16 - /agnhost 17 - netexec 18 - --http-port=8080 19 - --tls-cert-file=/localhost.crt 20 - --tls-private-key-file=/localhost.key 21 ports: 22 - containerPort: 8080