apiVersion: v1
kind: Service
metadata:
  labels:
    name: kubeserver
  name: kubeserver
  namespace: default
spec:
  ports:
  - name: rest
    port: 5001
    protocol: TCP
    targetPort: 5001
  selector:
    name: kubeserver
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}