Skip to content

Commit

Permalink
Merge pull request #6262 from zmerlynn/rm_master_ip
Browse files Browse the repository at this point in the history
rm Salt grains.master_ip
  • Loading branch information
derekwaynecarr committed Apr 1, 2015
2 parents b9babb5 + 0806e3b commit 762c449
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion cluster/vagrant/provision-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ EOF
cat <<EOF >/etc/salt/minion.d/grains.conf
grains:
node_ip: '$(echo "$MASTER_IP" | sed -e "s/'/''/g")'
master_ip: '$(echo "$MASTER_IP" | sed -e "s/'/''/g")'
publicAddressOverride: '$(echo "$MASTER_IP" | sed -e "s/'/''/g")'
network_mode: openvswitch
networkInterfaceName: eth1
Expand Down
2 changes: 0 additions & 2 deletions docs/salt.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ An example file is presented below using the Vagrant based environment.
```
[root@kubernetes-master] $ cat /etc/salt/minion.d/grains.conf
grains:
master_ip: $MASTER_IP
etcd_servers: $MASTER_IP
cloud_provider: vagrant
roles:
Expand All @@ -57,7 +56,6 @@ Key | Value
`cloud_provider` | (Optional) The cloud_provider used by apiserver: *gce*, *azure*, *vagrant*
`etcd_servers` | (Optional) Comma-delimited list of IP addresses the kube-apiserver and kubelet use to reach etcd. Uses the IP of the first machine in the kubernetes_master role.
`hostnamef` | (Optional) The full host name of the machine, i.e. hostname -f
`master_ip` | (Optional) The IP address that the kube-apiserver will bind against
`node_ip` | (Optional) The IP address to use to address this node
`minion_ip` | (Optional) Mapped to the kubelet hostname_override, K8S TODO - change this name
`network_mode` | (Optional) Networking model to use among nodes: *openvswitch*
Expand Down

0 comments on commit 762c449

Please sign in to comment.