apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "2" creationTimestamp: null generation: 1 labels: app: socat name: socat namespace: kube-system selfLink: /apis/extensions/v1beta1/namespaces/kube-system/deployments/socat spec: replicas: 1 selector: matchLabels: app: socat strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 1 type: RollingUpdate template: metadata: creationTimestamp: null labels: app: socat spec: containers: - args: - sh - -c - apk add --no-cache socat && socat TCP-LISTEN:80,fork,reuseaddr OPENSSL:kubernetes-dashboard:443,verify=0 image: alpine imagePullPolicy: Always name: socat resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: {} --- apiVersion: v1 kind: Service metadata: creationTimestamp: null labels: app: socat name: socat namespace: kube-system selfLink: /api/v1/namespaces/kube-system/services/socat spec: externalTrafficPolicy: Cluster ports: - port: 80 protocol: TCP targetPort: 80 selector: app: socat sessionAffinity: None type: NodePort status: loadBalancer: {}