mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 09:48:57 +03:00
Merge cd87a0f58a into 52eb26dad1
This commit is contained in:
@@ -38,8 +38,6 @@ Extract and install the `etcd` server and the `etcdctl` command line utility:
|
|||||||
{
|
{
|
||||||
mkdir -p /etc/etcd /var/lib/etcd
|
mkdir -p /etc/etcd /var/lib/etcd
|
||||||
chmod 700 /var/lib/etcd
|
chmod 700 /var/lib/etcd
|
||||||
cp ca.crt kube-api-server.key kube-api-server.crt \
|
|
||||||
/etc/etcd/
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Copy the Kubernetes binaries and systemd unit files to each worker instance:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
for HOST in node-0 node-1; do
|
for HOST in node-0 node-1; do
|
||||||
SUBNET=$(grep ${HOST} machines.txt | cut -d " " -f 4)
|
SUBNET=$(grep "${HOST}" machines.txt | awk '{print $4}')
|
||||||
sed "s|SUBNET|$SUBNET|g" \
|
sed "s|SUBNET|$SUBNET|g" \
|
||||||
configs/10-bridge.conf > 10-bridge.conf
|
configs/10-bridge.conf > 10-bridge.conf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user