apiVersion: v1
kind: Service
metadata:
  labels:
    addonmanager.kubernetes.io/mode: Reconcile
    kubernetes.io/minikube-addons: registry
  name: registry
  namespace: kube-system
spec:
  ports:
    - name: http
      nodePort: 31000
      port: 80
      protocol: TCP
      targetPort: 5000
    - name: https
      nodePort: 30889
      port: 443
      protocol: TCP
      targetPort: 443
  selector:
    actual-registry: "true"
    kubernetes.io/minikube-addons: registry
  type: LoadBalancer