mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Merge pull request #10843 from jiangyaoguo/change-get-minions-in-docs
change "get minions" to "get nodes" in docs
This commit is contained in:
@@ -27,7 +27,7 @@ This is a getting started guide for CentOS. It is a manual configuration so you
|
||||
|
||||
This guide will only get ONE minion working. Multiple minions requires a functional [networking configuration](../../networking.md) done outside of kubernetes. Although the additional kubernetes configuration requirements should be obvious.
|
||||
|
||||
The kubernetes package provides a few services: kube-apiserver, kube-scheduler, kube-controller-manager, kubelet, kube-proxy. These services are managed by systemd and the configuration resides in a central location: /etc/kubernetes. We will break the services up between the hosts. The first host, centos-master, will be the kubernetes master. This host will run the kube-apiserver, kube-controller-manager, and kube-scheduler. In addition, the master will also run _etcd_. The remaining host, centos-minion will be the minion and run kubelet, proxy, cadvisor and docker.
|
||||
The kubernetes package provides a few services: kube-apiserver, kube-scheduler, kube-controller-manager, kubelet, kube-proxy. These services are managed by systemd and the configuration resides in a central location: /etc/kubernetes. We will break the services up between the hosts. The first host, centos-master, will be the kubernetes master. This host will run the kube-apiserver, kube-controller-manager, and kube-scheduler. In addition, the master will also run _etcd_. The remaining host, centos-minion will be the node and run kubelet, proxy, cadvisor and docker.
|
||||
|
||||
**System Information:**
|
||||
|
||||
@@ -115,7 +115,7 @@ KUBE_API_PORT="--port=8080"
|
||||
# How the replication controller and scheduler find the kube-apiserver
|
||||
KUBE_MASTER="--master=http://centos-master:8080"
|
||||
|
||||
# Port minions listen on
|
||||
# Port nodes listen on
|
||||
KUBELET_PORT="--kubelet_port=10250"
|
||||
|
||||
# Address range to use for services
|
||||
@@ -135,7 +135,7 @@ for SERVICES in etcd kube-apiserver kube-controller-manager kube-scheduler; do
|
||||
done
|
||||
```
|
||||
|
||||
**Configure the kubernetes services on the minion.**
|
||||
**Configure the kubernetes services on the node.**
|
||||
|
||||
***We need to configure the kubelet and start the kubelet and proxy***
|
||||
|
||||
@@ -155,7 +155,7 @@ KUBELET_HOSTNAME="--hostname_override=centos-minion"
|
||||
KUBELET_ARGS=""
|
||||
```
|
||||
|
||||
* Start the appropriate services on minion (centos-minion).
|
||||
* Start the appropriate services on node (centos-minion).
|
||||
|
||||
```
|
||||
for SERVICES in kube-proxy kubelet docker; do
|
||||
@@ -167,7 +167,7 @@ done
|
||||
|
||||
*You should be finished!*
|
||||
|
||||
* Check to make sure the cluster can see the minion (on centos-master)
|
||||
* Check to make sure the cluster can see the node (on centos-master)
|
||||
|
||||
```
|
||||
kubectl get nodes
|
||||
|
Reference in New Issue
Block a user