From 633f8f2865f73df293f37e1d3a51d5ba2fcc9388 Mon Sep 17 00:00:00 2001 From: marcel-dempers Date: Sun, 13 Feb 2022 19:42:42 +1100 Subject: [PATCH] updates --- kubernetes/deployments/deployment.yaml | 4 ++++ kubernetes/rancher/README.md | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/kubernetes/deployments/deployment.yaml b/kubernetes/deployments/deployment.yaml index 1bb0605..88a96c5 100644 --- a/kubernetes/deployments/deployment.yaml +++ b/kubernetes/deployments/deployment.yaml @@ -43,6 +43,10 @@ spec: limits: memory: "256Mi" cpu: "500m" + tolerations: + - key: "cattle.io/os" + value: "linux" + effect: "NoSchedule" #NOTE: comment out `volumeMounts` section for configmap and\or secret guide # volumeMounts: # - name: secret-volume diff --git a/kubernetes/rancher/README.md b/kubernetes/rancher/README.md index 3d59625..ad60de8 100644 --- a/kubernetes/rancher/README.md +++ b/kubernetes/rancher/README.md @@ -121,17 +121,17 @@ Record the IP address of each VM so we can SSH to it: ``` sudo ifconfig # record eth0 -linux-0 IP=192.168.0.22 -linux-1 IP=192.168.0.23 -linux-2 IP=192.168.0.24 +linux-0 IP=192.168.0.16 +linux-1 IP=192.168.0.17 +linux-2 IP=192.168.0.18 ``` In new Powershell windows, let's SSH to our VMs ``` -ssh linux-0@192.168.0.22 -ssh linux-1@192.168.0.23 -ssh linux-2@192.168.0.24 +ssh linux-0@192.168.0.16 +ssh linux-1@192.168.0.17 +ssh linux-2@192.168.0.18 ``` # Setup Docker