# https://kubernetes.io/docs/tutorials/services/
# https://kubernetes.io/docs/concepts/services-networking/service/
apiVersion: v1
kind: Service
metadata:
  name: spring-cloud-k8s-config
  labels:
    app: spring-cloud-k8s-config
    group: spring-cloud-k8s-samples
spec:
  # type: ClusterIP
  # type: NodePort
  type: LoadBalancer
  ports:
  - port: 80
    targetPort: 8081
    protocol: TCP
    name: spring-cloud-k8s-config
  selector:
    app: spring-cloud-k8s-config
