What is the default 'name' of the kubernetes master cluster host?

In my heapster.yaml, it references the IP of the master cluster host (https://142.141.33.10:6443). Is there any built-in name I could use for referencing the master host IP? I don’t want to hard-coded any static IP’s…

spec:
serviceAccountName: heapster
containers:
- name: heapster
image: k8s.gcr.io/heapster-amd64:v1.5.3
imagePullPolicy: IfNotPresent
command:
- /heapster
- --source=kubernetes:https://142.141.33.10:6443
- --sink=influxdb:http://influxdb:8086

1 Like