Merge cd87a0f58a
into 52eb26dad1
commit
40dfeb9110
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue