Nueva carpeta
This commit is contained in:
31
k8s/3.instala_calico.sh
Executable file
31
k8s/3.instala_calico.sh
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
# instala con operator -ok-
|
||||
|
||||
curl -O https://raw.githubusercontent.com/projectcalico/calico/v3.29.1/manifests/tigera-operator.yaml
|
||||
curl -O https://raw.githubusercontent.com/projectcalico/calico/v3.29.1/manifests/custom-resources.yaml
|
||||
|
||||
sed -i 's/192.168.0.0/172.24.0.0/g' custom-resources.yaml
|
||||
|
||||
|
||||
kubectl create -f tigera-operator.yaml
|
||||
kubectl create -f custom-resources.yaml
|
||||
|
||||
|
||||
kubectl get pods -A
|
||||
|
||||
|
||||
### kubectl get pods -A -w
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## instala con manifest -deprecated-
|
||||
|
||||
# kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.29.1/manifests/calico.yaml
|
||||
|
||||
#### wget https://raw.githubusercontent.com/projectcalico/calico/v3.29.1/manifests/calico.yaml
|
||||
#### sed -ie 's/192.168.0.0/172.24.0.0/g' calico.yaml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user