apiVersion: v1
kind: Service
metadata:
  labels:
    k8s-on-k8s: kube-apiserver
  name: apiserver
spec:
  type: NodePort
  ports:
  - name: http
    port: 80
    protocol: TCP
  - name: https
    port: 443
    protocol: TCP
  selector:
    k8s-on-k8s: kube-apiserver
  sessionAffinity: None
