mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #4722 from coolsvap/coolsvap-virt7-update
Update centos_manual_config.md
This commit is contained in:
commit
5722ca986a
@ -26,13 +26,29 @@ baseurl=http://cbs.centos.org/repos/virt7-testing/x86_64/os/
|
|||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
* Install kubernetes on all hosts - centos-{master,minion}. This will also pull in etcd, docker, and cadvisor.
|
* Install kubernetes on all hosts - centos-{master,minion}. This will also pull in etcd, docker, and cadvisor.
|
||||||
|
|
||||||
```
|
```
|
||||||
yum -y install --enablerepo=virt7-testing kubernetes
|
yum -y install --enablerepo=virt7-testing kubernetes
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* Note * Using etcd-0.4.6-7 (This is temperory update in documentation)
|
||||||
|
|
||||||
|
If you do not get etcd-0.4.6-7 installed with virt7-testing repo,
|
||||||
|
|
||||||
|
In the current virt7-testing repo, the etcd package is updated which causes service failure. To avoid this,
|
||||||
|
|
||||||
|
```
|
||||||
|
yum erase etcd
|
||||||
|
```
|
||||||
|
|
||||||
|
It will uninstall the current available etcd package
|
||||||
|
|
||||||
|
```
|
||||||
|
yum install http://cbs.centos.org/kojifiles/packages/etcd/0.4.6/7.el7.centos/x86_64/etcd-0.4.6-7.el7.centos.x86_64.rpm
|
||||||
|
yum -y install --enablerepo=virt7-testing kubernetes
|
||||||
|
```
|
||||||
|
|
||||||
* Add master and minion to /etc/hosts on all machines (not needed if hostnames already in DNS)
|
* Add master and minion to /etc/hosts on all machines (not needed if hostnames already in DNS)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user