mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
update fedora documentation
This commit is contained in:
parent
1ffaf67429
commit
069b3a9c29
@ -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,12 +93,14 @@ 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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user