From 3da668f14a2434f7b35e9e313ccfceb395c83f14 Mon Sep 17 00:00:00 2001 From: Jeferson Fernando Date: Thu, 18 Jan 2024 13:09:27 +0100 Subject: [PATCH] adicionando ES --- es/SUMMARY.md | 27 +++++----- es/{day_one => day-1}/README.md | 0 .../files/desafio/mi-primer-pod.yaml | 0 es/{day_two => day-2}/README.md | 0 es/{day_three => day-3}/README.md | 0 es/{day_four => day-4}/README.md | 0 .../files/nginx-deployment.yaml | 0 .../files/nginx-liveness.yaml | 0 .../files/nginx-readiness.yaml | 0 .../files/nginx-replicaset.yaml | 0 .../files/nginx-startup.yaml | 0 .../files/nginx-todas-probes.yaml | 0 .../files/node-exporter-daemonset.yaml | 0 es/{day_four => day-4}/nginx-daemonset.yaml | 0 es/{day_four => day-4}/nginx-deployment.yaml | 0 es/{day_four => day-4}/nginx-replicaset.yaml | 0 es/{day_five => day-5}/README.md | 0 es/{day_six => day-6}/README.md | 0 .../files/giropops-senhas-deployment.yaml | 0 .../files/giropops-senhas-service.yaml | 0 es/{day_six => day-6}/files/pod-emptydir.yaml | 0 es/{day_six => day-6}/files/pod.yaml | 0 es/{day_six => day-6}/files/pv-nfs.yaml | 0 es/{day_six => day-6}/files/pv.yaml | 0 es/{day_six => day-6}/files/pvc.yaml | 0 .../files/storageclass-nfs.yaml | 0 es/{day_six => day-6}/files/storageclass.yaml | 0 es/{day_seven => day-7}/README.md | 0 .../files/headless-service.yaml | 0 .../files/nginx-clusterip-svc.yaml | 0 .../files/nginx-deployment.yaml | 0 .../files/nginx-loadbalancer-svc.yaml | 0 .../files/nginx-nodeport-svc.yaml | 0 .../files/nginx-statefulset.yaml | 0 es/{day_eight => day-8}/README.md | 0 es/{day_nine => day-9}/README.md | 0 .../azure/aks-helloworld-one.yaml | 33 ------------ .../azure/aks-helloworld-two.yaml | 33 ------------ .../azure/hello-world-ingress.yaml | 53 ------------------- es/extras/cloud-providers/cloud-providers.md | 0 es/extras/exame_tips.md | 0 es/extras/pod_security_policy.md | 0 42 files changed, 15 insertions(+), 131 deletions(-) rename es/{day_one => day-1}/README.md (100%) rename es/{day_one => day-1}/files/desafio/mi-primer-pod.yaml (100%) rename es/{day_two => day-2}/README.md (100%) rename es/{day_three => day-3}/README.md (100%) rename es/{day_four => day-4}/README.md (100%) rename es/{day_four => day-4}/files/nginx-deployment.yaml (100%) rename es/{day_four => day-4}/files/nginx-liveness.yaml (100%) rename es/{day_four => day-4}/files/nginx-readiness.yaml (100%) rename es/{day_four => day-4}/files/nginx-replicaset.yaml (100%) rename es/{day_four => day-4}/files/nginx-startup.yaml (100%) rename es/{day_four => day-4}/files/nginx-todas-probes.yaml (100%) rename es/{day_four => day-4}/files/node-exporter-daemonset.yaml (100%) rename es/{day_four => day-4}/nginx-daemonset.yaml (100%) rename es/{day_four => day-4}/nginx-deployment.yaml (100%) rename es/{day_four => day-4}/nginx-replicaset.yaml (100%) rename es/{day_five => day-5}/README.md (100%) rename es/{day_six => day-6}/README.md (100%) rename es/{day_six => day-6}/files/giropops-senhas-deployment.yaml (100%) rename es/{day_six => day-6}/files/giropops-senhas-service.yaml (100%) rename es/{day_six => day-6}/files/pod-emptydir.yaml (100%) rename es/{day_six => day-6}/files/pod.yaml (100%) rename es/{day_six => day-6}/files/pv-nfs.yaml (100%) rename es/{day_six => day-6}/files/pv.yaml (100%) rename es/{day_six => day-6}/files/pvc.yaml (100%) rename es/{day_six => day-6}/files/storageclass-nfs.yaml (100%) rename es/{day_six => day-6}/files/storageclass.yaml (100%) rename es/{day_seven => day-7}/README.md (100%) rename es/{day_seven => day-7}/files/headless-service.yaml (100%) rename es/{day_seven => day-7}/files/nginx-clusterip-svc.yaml (100%) rename es/{day_seven => day-7}/files/nginx-deployment.yaml (100%) rename es/{day_seven => day-7}/files/nginx-loadbalancer-svc.yaml (100%) rename es/{day_seven => day-7}/files/nginx-nodeport-svc.yaml (100%) rename es/{day_seven => day-7}/files/nginx-statefulset.yaml (100%) rename es/{day_eight => day-8}/README.md (100%) rename es/{day_nine => day-9}/README.md (100%) delete mode 100644 es/extras/cloud-providers/azure/aks-helloworld-one.yaml delete mode 100644 es/extras/cloud-providers/azure/aks-helloworld-two.yaml delete mode 100644 es/extras/cloud-providers/azure/hello-world-ingress.yaml delete mode 100644 es/extras/cloud-providers/cloud-providers.md delete mode 100644 es/extras/exame_tips.md delete mode 100644 es/extras/pod_security_policy.md diff --git a/es/SUMMARY.md b/es/SUMMARY.md index aa0a46f5..e8c5b917 100644 --- a/es/SUMMARY.md +++ b/es/SUMMARY.md @@ -6,18 +6,21 @@ ## Capítulos -* [Simplificando Kubernetes día 1](day_one/README.md) -* [Simplificando Kubernetes día 2](day_two/README.md) -* [Simplificando Kubernetes día 3](day_three/README.md) -* [Simplificando Kubernetes día 4](day_four/README.md) -* [Simplificando Kubernetes día 5](day_five/README.md) -* [Simplificando Kubernetes día 6](day_six/README.md) - -## Extras - -* [Cloud providers](extras/cloud-providers/cloud-providers.md) -* [Consejos para el examen](extras/exame_tips.md) -* [Pod security policy](extras/pod_security_policy.md) +* [Simplificando Kubernetes dia 1](day-1/README.md) +* [Simplificando Kubernetes dia 2](day-2/README.md) +* [Simplificando Kubernetes dia 3](day-3/README.md) +* [Simplificando Kubernetes dia 4](day-4/README.md) +* [Simplificando Kubernetes dia 5](day-5/README.md) +* [Simplificando Kubernetes dia 6](day-6/README.md) +* [Simplificando Kubernetes dia 7](day-7/README.md) +* [Simplificando Kubernetes dia 8](day-8/README.md) +* [Simplificando Kubernetes dia 9](day-9/README.md) +* [Simplificando Kubernetes dia 10](day-10/README.md) +* [Simplificando Kubernetes dia 11](day-11/README.md) +* [Simplificando Kubernetes dia 12](day-12/README.md) +* [Simplificando Kubernetes dia 13](day-13/README.md) +* [Simplificando Kubernetes dia 14](day-14/README.md) +* [Simplificando Kubernetes dia 15](day-15/README.md) ## Contribuir diff --git a/es/day_one/README.md b/es/day-1/README.md similarity index 100% rename from es/day_one/README.md rename to es/day-1/README.md diff --git a/es/day_one/files/desafio/mi-primer-pod.yaml b/es/day-1/files/desafio/mi-primer-pod.yaml similarity index 100% rename from es/day_one/files/desafio/mi-primer-pod.yaml rename to es/day-1/files/desafio/mi-primer-pod.yaml diff --git a/es/day_two/README.md b/es/day-2/README.md similarity index 100% rename from es/day_two/README.md rename to es/day-2/README.md diff --git a/es/day_three/README.md b/es/day-3/README.md similarity index 100% rename from es/day_three/README.md rename to es/day-3/README.md diff --git a/es/day_four/README.md b/es/day-4/README.md similarity index 100% rename from es/day_four/README.md rename to es/day-4/README.md diff --git a/es/day_four/files/nginx-deployment.yaml b/es/day-4/files/nginx-deployment.yaml similarity index 100% rename from es/day_four/files/nginx-deployment.yaml rename to es/day-4/files/nginx-deployment.yaml diff --git a/es/day_four/files/nginx-liveness.yaml b/es/day-4/files/nginx-liveness.yaml similarity index 100% rename from es/day_four/files/nginx-liveness.yaml rename to es/day-4/files/nginx-liveness.yaml diff --git a/es/day_four/files/nginx-readiness.yaml b/es/day-4/files/nginx-readiness.yaml similarity index 100% rename from es/day_four/files/nginx-readiness.yaml rename to es/day-4/files/nginx-readiness.yaml diff --git a/es/day_four/files/nginx-replicaset.yaml b/es/day-4/files/nginx-replicaset.yaml similarity index 100% rename from es/day_four/files/nginx-replicaset.yaml rename to es/day-4/files/nginx-replicaset.yaml diff --git a/es/day_four/files/nginx-startup.yaml b/es/day-4/files/nginx-startup.yaml similarity index 100% rename from es/day_four/files/nginx-startup.yaml rename to es/day-4/files/nginx-startup.yaml diff --git a/es/day_four/files/nginx-todas-probes.yaml b/es/day-4/files/nginx-todas-probes.yaml similarity index 100% rename from es/day_four/files/nginx-todas-probes.yaml rename to es/day-4/files/nginx-todas-probes.yaml diff --git a/es/day_four/files/node-exporter-daemonset.yaml b/es/day-4/files/node-exporter-daemonset.yaml similarity index 100% rename from es/day_four/files/node-exporter-daemonset.yaml rename to es/day-4/files/node-exporter-daemonset.yaml diff --git a/es/day_four/nginx-daemonset.yaml b/es/day-4/nginx-daemonset.yaml similarity index 100% rename from es/day_four/nginx-daemonset.yaml rename to es/day-4/nginx-daemonset.yaml diff --git a/es/day_four/nginx-deployment.yaml b/es/day-4/nginx-deployment.yaml similarity index 100% rename from es/day_four/nginx-deployment.yaml rename to es/day-4/nginx-deployment.yaml diff --git a/es/day_four/nginx-replicaset.yaml b/es/day-4/nginx-replicaset.yaml similarity index 100% rename from es/day_four/nginx-replicaset.yaml rename to es/day-4/nginx-replicaset.yaml diff --git a/es/day_five/README.md b/es/day-5/README.md similarity index 100% rename from es/day_five/README.md rename to es/day-5/README.md diff --git a/es/day_six/README.md b/es/day-6/README.md similarity index 100% rename from es/day_six/README.md rename to es/day-6/README.md diff --git a/es/day_six/files/giropops-senhas-deployment.yaml b/es/day-6/files/giropops-senhas-deployment.yaml similarity index 100% rename from es/day_six/files/giropops-senhas-deployment.yaml rename to es/day-6/files/giropops-senhas-deployment.yaml diff --git a/es/day_six/files/giropops-senhas-service.yaml b/es/day-6/files/giropops-senhas-service.yaml similarity index 100% rename from es/day_six/files/giropops-senhas-service.yaml rename to es/day-6/files/giropops-senhas-service.yaml diff --git a/es/day_six/files/pod-emptydir.yaml b/es/day-6/files/pod-emptydir.yaml similarity index 100% rename from es/day_six/files/pod-emptydir.yaml rename to es/day-6/files/pod-emptydir.yaml diff --git a/es/day_six/files/pod.yaml b/es/day-6/files/pod.yaml similarity index 100% rename from es/day_six/files/pod.yaml rename to es/day-6/files/pod.yaml diff --git a/es/day_six/files/pv-nfs.yaml b/es/day-6/files/pv-nfs.yaml similarity index 100% rename from es/day_six/files/pv-nfs.yaml rename to es/day-6/files/pv-nfs.yaml diff --git a/es/day_six/files/pv.yaml b/es/day-6/files/pv.yaml similarity index 100% rename from es/day_six/files/pv.yaml rename to es/day-6/files/pv.yaml diff --git a/es/day_six/files/pvc.yaml b/es/day-6/files/pvc.yaml similarity index 100% rename from es/day_six/files/pvc.yaml rename to es/day-6/files/pvc.yaml diff --git a/es/day_six/files/storageclass-nfs.yaml b/es/day-6/files/storageclass-nfs.yaml similarity index 100% rename from es/day_six/files/storageclass-nfs.yaml rename to es/day-6/files/storageclass-nfs.yaml diff --git a/es/day_six/files/storageclass.yaml b/es/day-6/files/storageclass.yaml similarity index 100% rename from es/day_six/files/storageclass.yaml rename to es/day-6/files/storageclass.yaml diff --git a/es/day_seven/README.md b/es/day-7/README.md similarity index 100% rename from es/day_seven/README.md rename to es/day-7/README.md diff --git a/es/day_seven/files/headless-service.yaml b/es/day-7/files/headless-service.yaml similarity index 100% rename from es/day_seven/files/headless-service.yaml rename to es/day-7/files/headless-service.yaml diff --git a/es/day_seven/files/nginx-clusterip-svc.yaml b/es/day-7/files/nginx-clusterip-svc.yaml similarity index 100% rename from es/day_seven/files/nginx-clusterip-svc.yaml rename to es/day-7/files/nginx-clusterip-svc.yaml diff --git a/es/day_seven/files/nginx-deployment.yaml b/es/day-7/files/nginx-deployment.yaml similarity index 100% rename from es/day_seven/files/nginx-deployment.yaml rename to es/day-7/files/nginx-deployment.yaml diff --git a/es/day_seven/files/nginx-loadbalancer-svc.yaml b/es/day-7/files/nginx-loadbalancer-svc.yaml similarity index 100% rename from es/day_seven/files/nginx-loadbalancer-svc.yaml rename to es/day-7/files/nginx-loadbalancer-svc.yaml diff --git a/es/day_seven/files/nginx-nodeport-svc.yaml b/es/day-7/files/nginx-nodeport-svc.yaml similarity index 100% rename from es/day_seven/files/nginx-nodeport-svc.yaml rename to es/day-7/files/nginx-nodeport-svc.yaml diff --git a/es/day_seven/files/nginx-statefulset.yaml b/es/day-7/files/nginx-statefulset.yaml similarity index 100% rename from es/day_seven/files/nginx-statefulset.yaml rename to es/day-7/files/nginx-statefulset.yaml diff --git a/es/day_eight/README.md b/es/day-8/README.md similarity index 100% rename from es/day_eight/README.md rename to es/day-8/README.md diff --git a/es/day_nine/README.md b/es/day-9/README.md similarity index 100% rename from es/day_nine/README.md rename to es/day-9/README.md diff --git a/es/extras/cloud-providers/azure/aks-helloworld-one.yaml b/es/extras/cloud-providers/azure/aks-helloworld-one.yaml deleted file mode 100644 index e97953ce..00000000 --- a/es/extras/cloud-providers/azure/aks-helloworld-one.yaml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: aks-helloworld-one -spec: - replicas: 1 - selector: - matchLabels: - app: aks-helloworld-one - template: - metadata: - labels: - app: aks-helloworld-one - spec: - containers: - - name: aks-helloworld-one - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: - - containerPort: 80 - env: - - name: TITLE - value: "Welcome to Azure Kubernetes Service (AKS)" ---- -apiVersion: v1 -kind: Service -metadata: - name: aks-helloworld-one -spec: - type: ClusterIP - ports: - - port: 80 - selector: - app: aks-helloworld-one diff --git a/es/extras/cloud-providers/azure/aks-helloworld-two.yaml b/es/extras/cloud-providers/azure/aks-helloworld-two.yaml deleted file mode 100644 index 74cc4bed..00000000 --- a/es/extras/cloud-providers/azure/aks-helloworld-two.yaml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: aks-helloworld-two -spec: - replicas: 1 - selector: - matchLabels: - app: aks-helloworld-two - template: - metadata: - labels: - app: aks-helloworld-two - spec: - containers: - - name: aks-helloworld-two - image: mcr.microsoft.com/azuredocs/aks-helloworld:v1 - ports: - - containerPort: 80 - env: - - name: TITLE - value: "AKS Ingress Demo" ---- -apiVersion: v1 -kind: Service -metadata: - name: aks-helloworld-two -spec: - type: ClusterIP - ports: - - port: 80 - selector: - app: aks-helloworld-two diff --git a/es/extras/cloud-providers/azure/hello-world-ingress.yaml b/es/extras/cloud-providers/azure/hello-world-ingress.yaml deleted file mode 100644 index ead5ad0d..00000000 --- a/es/extras/cloud-providers/azure/hello-world-ingress.yaml +++ /dev/null @@ -1,53 +0,0 @@ -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: hello-world-ingress - annotations: - kubernetes.io/ingress.class: nginx - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/use-regex: "true" - cert-manager.io/cluster-issuer: letsencrypt -spec: - tls: - - hosts: - - giropops-live.eastus.cloudapp.azure.com - secretName: tls-secret - rules: - - host: giropops-live.eastus.cloudapp.azure.com - http: - paths: - - backend: - serviceName: aks-helloworld-one - servicePort: 80 - path: /hello-world-one(/|$)(.*) - - backend: - serviceName: aks-helloworld-two - servicePort: 80 - path: /hello-world-two(/|$)(.*) - - backend: - serviceName: aks-helloworld-one - servicePort: 80 - path: /(.*) ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: hello-world-ingress-static - annotations: - kubernetes.io/ingress.class: nginx - nginx.ingress.kubernetes.io/rewrite-target: /static/$2 - nginx.ingress.kubernetes.io/use-regex: "true" - cert-manager.io/cluster-issuer: letsencrypt -spec: - tls: - - hosts: - - giropops-live.eastus.cloudapp.azure.com - secretName: tls-secret - rules: - - host: giropops-live.eastus.cloudapp.azure.com - http: - paths: - - backend: - serviceName: aks-helloworld-one - servicePort: 80 - path: /static(/|$)(.*) diff --git a/es/extras/cloud-providers/cloud-providers.md b/es/extras/cloud-providers/cloud-providers.md deleted file mode 100644 index e69de29b..00000000 diff --git a/es/extras/exame_tips.md b/es/extras/exame_tips.md deleted file mode 100644 index e69de29b..00000000 diff --git a/es/extras/pod_security_policy.md b/es/extras/pod_security_policy.md deleted file mode 100644 index e69de29b..00000000