xxxxxxxxxx
ClusterIP: Exposes the Service on a cluster-internal IP.
Choosing this value makes the Service only reachable
from within the cluster. This is the default ServiceType.
xxxxxxxxxx
apiVersion: v1
kind: Service
metadata:
name: Backend
spec:
type: ClusterIP
ports:
- targetPort: 80
port: 80
kubectl config current-context
xxxxxxxxxx
https://stackoverflow.com/questions/38242062/how-to-get-kubernetes-cluster-name-from-k8s-api