Merge pull request #1 from theycallmeloki/theycallmeloki-patch-1
Update k3s.sh
This commit is contained in:
commit
54d39ae76f
|
@ -184,6 +184,8 @@ kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.12/conf
|
||||||
# Download ipAddressPool and configure using lbrange above
|
# Download ipAddressPool and configure using lbrange above
|
||||||
curl -sO https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/ipAddressPool
|
curl -sO https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/ipAddressPool
|
||||||
cat ipAddressPool | sed 's/$lbrange/'$lbrange'/g' > $HOME/ipAddressPool.yaml
|
cat ipAddressPool | sed 's/$lbrange/'$lbrange'/g' > $HOME/ipAddressPool.yaml
|
||||||
|
# Apply the ip address pool
|
||||||
|
kubectl apply -f $HOME/ipAddressPool.yaml
|
||||||
|
|
||||||
# Step 9: Test with Nginx
|
# Step 9: Test with Nginx
|
||||||
kubectl apply -f https://raw.githubusercontent.com/inlets/inlets-operator/master/contrib/nginx-sample-deployment.yaml -n default
|
kubectl apply -f https://raw.githubusercontent.com/inlets/inlets-operator/master/contrib/nginx-sample-deployment.yaml -n default
|
||||||
|
|
Loading…
Reference in New Issue