update fedora documentation

This commit is contained in:
Eric Paris 2015-04-13 17:47:22 -04:00
parent 1ffaf67429
commit 069b3a9c29

View File

@ -23,10 +23,10 @@ fed-node = 192.168.121.65
``` ```
yum -y install --enablerepo=updates-testing kubernetes yum -y install --enablerepo=updates-testing kubernetes
``` ```
* Install etcd * Install etcd and iptables
``` ```
yum -y install etcd yum -y install etcd iptables
``` ```
* Add master and node to /etc/hosts on all machines (not needed if hostnames already in DNS). Make sure that communication works between fed-master and fed-node by using a utility such as ping. * Add master and node to /etc/hosts on all machines (not needed if hostnames already in DNS). Make sure that communication works between fed-master and fed-node by using a utility such as ping.
@ -68,7 +68,7 @@ systemctl stop iptables-services firewalld
KUBE_API_ADDRESS="--address=0.0.0.0" KUBE_API_ADDRESS="--address=0.0.0.0"
# Comma separated list of nodes in the etcd cluster # Comma separated list of nodes in the etcd cluster
KUBE_ETCD_SERVERS="--etcd_servers=http://fed-master:4001" KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:4001"
# Address range to use for services # Address range to use for services
KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16" KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16"
@ -93,11 +93,13 @@ done
```json ```json
{ {
"id": "fed-node", "apiVersion": "v1beta3",
"kind": "Minion", "kind": "Node",
"apiVersion": "v1beta1", "metadata": {
"labels": { "name": "fed-node"
"name": "fed-node-label" },
"spec": {
"externalID": "fed-node"
} }
} }
``` ```