mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 01:10:22 +00:00
Update k3s.sh
This commit is contained in:
parent
682903d285
commit
d9f81a1900
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create SSH Config file to ignore checking (don't use in production!)
|
# Create SSH Config file to ignore checking (don't use in production!)
|
||||||
echo "StrictHostKeyChecking no" > ~/.ssh/config
|
sed -i '1s/^/StrictHostKeyChecking no\n/' ~/.ssh/config
|
||||||
|
|
||||||
#add ssh keys for all nodes
|
#add ssh keys for all nodes
|
||||||
for node in "${all[@]}"; do
|
for node in "${all[@]}"; do
|
||||||
|
@ -257,4 +257,4 @@ kubectl get pods \
|
||||||
kubectl get nodes
|
kubectl get nodes
|
||||||
kubectl get svc -n longhorn-system
|
kubectl get svc -n longhorn-system
|
||||||
|
|
||||||
echo -e " \033[32;5mHappy Kubing! Access Longhorn through Rancher UI\033[0m"
|
echo -e " \033[32;5mHappy Kubing! Access Longhorn through Rancher UI\033[0m"
|
||||||
|
|
Loading…
Reference in a new issue