This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
k8s-cluster-projects
Watch
1
Star
1
Fork
0
Code
Issues
1
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Añado instrucciones de cómo crear el cluster.
main
Celestino Rey
3 years ago
parent
00ee1a54d3
commit
6414e44798
7 changed files
with
20 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
CreaCluster/README.md
+1
-0
CreaCluster/confirmaRunning.sh
+3
-0
CreaCluster/creaCalico.sh
+4
-0
CreaCluster/creaConfigCluster.sh
+1
-0
CreaCluster/inicializaCluster.sh
+1
-0
CreaCluster/masterEsWorker.sh
+3
-0
Nginx/creaTodo.sh
+ 7
- 0
CreaCluster/README.md
View File
@ -0,0 +1,7 @@
## Instrucciones para crear el cluster
https://computingforgeeks.com/deploy-kubernetes-cluster-on-ubuntu-with-kubeadm/
## Como resetearlo
https://www.techrunnr.com/how-to-reset-kubernetes-cluster/
+ 1
- 0
CreaCluster/confirmaRunning.sh
View File
@ -0,0 +1 @@
kubectl get nodes -o wide
+ 3
- 0
CreaCluster/creaCalico.sh
View File
@ -0,0 +1,3 @@
kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yaml
kubectl create -f https://docs.projectcalico.org/manifests/custom-resources.yaml
+ 4
- 0
CreaCluster/creaConfigCluster.sh
View File
@ -0,0 +1,4 @@
mkdir -p
$HOME
/.kube
sudo cp -i /etc/kubernetes/admin.conf
$HOME
/.kube/config
sudo chown
$(
id -u
)
:
$(
id -g
)
$HOME
/.kube/config
+ 1
- 0
CreaCluster/inicializaCluster.sh
View File
@ -0,0 +1 @@
sudo kubeadm init --pod-network-cidr
=
192.168.0.0/16 --upload-certs --control-plane-endpoint
=
k8s-server
+ 1
- 0
CreaCluster/masterEsWorker.sh
View File
@ -0,0 +1 @@
kubectl taint nodes --all node-role.kubernetes.io/master-
+ 3
- 0
Nginx/creaTodo.sh
View File
@ -0,0 +1,3 @@
kubectl create -f pv-local-nginx.yaml
kubectl create -k ./
watch kubectl get all
Write
Preview
Loading…
Cancel
Save