From 14e987ea9525df4c328104d417a027a433af8466 Mon Sep 17 00:00:00 2001 From: savagebidoof Date: Sun, 30 Apr 2023 22:42:03 +0200 Subject: [PATCH] Small cleanup --- .../__-NetworkPolicies/README.md | 0 .../__-cert-management/README.md | 0 .../README.md | 0 .../README.md | 0 .../deployment.yaml | 0 .../gateway.yaml | 0 .../README.md | 0 .../deployment.yaml | 0 .../gateway.yaml | 0 .../README.md | 0 .../deployment.yaml | 0 .../gateway.yaml | 0 .../01-namespace.yaml | 0 .../README.md | 0 .../deployment.yaml | 0 .../gateway.yaml | 0 .../05-hello_world_1_Service_Entry/README.md | 0 .../ServiceEntry.yaml | 0 .../gateway.yaml | 0 .../README.md | 2 +- .../ServiceEntry.yaml | 0 .../gateway.yaml | 0 .../src/github-screenshot.png | Bin {Istio/01-Simple => 01-Simple}/README.md | 0 .../01-2_deployments_method/README.md | 0 .../01-2_deployments_method/deployment.yaml | 0 .../01-2_deployments_method/gateway.yaml | 0 .../02-DirectResponse-HTTP-Body/README.md | 0 .../deployment.yaml | 0 .../02-DirectResponse-HTTP-Body/gateway.yaml | 0 .../03-HTTPRewrite/README.md | 0 .../03-HTTPRewrite/deployment.yaml | 0 .../03-HTTPRewrite/gateway.yaml | 0 .../04-HTTPRedirect/README.md | 0 .../04-HTTPRedirect/deployment.yaml | 0 .../04-HTTPRedirect/gateway.yaml | 0 .../05a-FaultInjection-delay/README.md | 0 .../05a-FaultInjection-delay/deployment.yaml | 0 .../05a-FaultInjection-delay/gateway.yaml | 0 .../05b-FaultInjection-abort/README.md | 0 .../05b-FaultInjection-abort/deployment.yaml | 0 .../05b-FaultInjection-abort/gateway.yaml | 0 .../06-mTLS/README.md | 0 .../06-mTLS/authentication.yaml | 0 .../06-mTLS/deployment.yaml | 0 .../06-mTLS/deployment_2.yaml | 0 .../06-mTLS/gateway.yaml | 0 .../07-HTTPS-Gateway-Simple-TLS/README.md | 0 .../deployment.yaml | 0 .../07-HTTPS-Gateway-Simple-TLS/gateway.yaml | 0 .../08a-HTTPS-min-TLS-version/README.md | 0 .../08a-HTTPS-min-TLS-version/deployment.yaml | 0 .../08a-HTTPS-min-TLS-version/gateway.yaml | 0 .../08b-HTTPS-max-TLS-version/README.md | 0 .../08b-HTTPS-max-TLS-version/deployment.yaml | 0 .../08b-HTTPS-max-TLS-version/gateway.yaml | 0 .../09-HTTPS-backend/README.md | 0 .../09-HTTPS-backend/authentication.yaml | 0 .../09-HTTPS-backend/deployment.yaml | 0 .../09-HTTPS-backend/gateway.yaml | 0 .../10-TCP-FORWARDING/README.md | 0 .../10-TCP-FORWARDING/deployment.yaml | 0 .../10-TCP-FORWARDING/gateway.yaml | 0 .../11-TLS-PASSTHROUGH/README.md | 0 .../11-TLS-PASSTHROUGH/deployment.yaml | 0 .../11-TLS-PASSTHROUGH/gateway.yaml | 0 .../README.md | 0 .../gateway.yaml | 0 .../README.md | 0 .../src/06-kiali-services-byeworld.png | Bin .../src/06-kiali-services-helloworld.png | Bin .../src/06-kiali-services.png | Bin .../01-ingress-proxy-forwarding/README.md | 0 .../deployment.yaml | 0 .../01-ingress-proxy-forwarding/gateway.yaml | 0 .../01-ingress-proxy-forwarding/sidecar.yaml | 0 {Istio/03-Sidecar => 03-Sidecar}/README.md | 0 .../01-envoy_add_headers/README.md | 0 .../01-envoy_add_headers/deployment.yaml | 0 .../01-envoy_add_headers/envoy.yaml | 0 .../01-envoy_add_headers/envoy2.yaml | 0 .../01-envoy_add_headers/gateway.yaml | 0 {Istio/04-Envoy => 04-Envoy}/README.md | 0 .../01-Outboud-Traffic-Policy/README.md | 0 .../01-Outboud-Traffic-Policy/deployment.yaml | 0 .../01-Outboud-Traffic-Policy/gateway.yaml | 0 .../05-MeshConfig => 05-MeshConfig}/README.md | 0 .../01-target-namespaces/01-namespace.yaml | 0 .../01-target-namespaces/README.md | 0 .../01-target-namespaces/authentication.yaml | 0 .../01-target-namespaces/deployment.yaml | 0 .../01-target-namespaces/deployment_2.yaml | 0 .../01-target-namespaces/gateway.yaml | 0 .../01-namespace.yaml | 0 .../01-service-accounts.yaml | 0 .../02-target-service-accounts/README.md | 0 .../authentication.yaml | 0 .../deployment.yaml | 0 .../deployment_2.yaml | 0 .../02-target-service-accounts/gateway.yaml | 0 .../03-target-deployments/01-namespace.yaml | 0 .../03-target-deployments/README.md | 0 .../03-target-deployments/authentication.yaml | 0 .../03-target-deployments/deployment.yaml | 0 .../03-target-deployments/deployment_2.yaml | 0 .../03-target-deployments/gateway.yaml | 0 .../README.md | 0 .../README.md | 0 .../08-monitoring => 08-monitoring}/README.md | 0 .../01-namespace.yaml | 0 .../01-Create-Istio-LoadBalancer/README.md | 0 .../deployment.yaml | 0 .../01-Create-Istio-LoadBalancer/gateway.yaml | 0 .../01-Create-Istio-LoadBalancer/ingress.yaml | 0 .../01-disable-mTLS/README.md | 0 .../01-disable-mTLS/Service.yaml | 0 .../01-disable-mTLS/authentication.yaml | 0 .../01-disable-mTLS/deployment.yaml | 0 .../01-disable-mTLS/gateway.yaml | 0 .../02-portLevelMtls/Service.yaml | 0 .../02-portLevelMtls/authentication.yaml | 0 .../02-portLevelMtls/deployment.yaml | 0 .../02-portLevelMtls/gateway.yaml | 0 .../HTTPS-NGINX-DOCKERFILE/Dockerfile | 0 .../HTTPS-NGINX-DOCKERFILE/README.md | 0 .../HTTPS-NGINX-DOCKERFILE/server.conf | 0 Calico/README.md | 12 --- Istio/README.md | 63 ----------- LB/lb.yaml | 98 ------------------ PLACEHOLDER.md | 23 ---- README.md | 62 ++++++++++- .../Deployment.yaml | 0 .../DestinationRule.yaml | 0 .../Fortio.yaml | 0 .../README.md | 0 .../Service.yaml | 0 dashboard/README.md | 7 -- dashboard/dashboard.yaml | 33 ------ hosted_ideas/README.md | 45 -------- ingress/test.yaml | 80 -------------- istio_2/README.md | 1 - istio_2/file.yaml | 43 -------- istio_2/file2.yaml | 37 ------- istio_2/tmp2.yaml | 35 ------- istio_3/README.md | 48 --------- istio_3/ingress.yaml | 49 --------- istio_3/read_role.yaml | 9 -- istio_a/README.md | 34 ------ istio_a/default.yaml | 45 -------- istio_a/default2.yaml | 53 ---------- metallib/README.md | 41 -------- nginx_ingress/README.md | 25 ----- nginx_ingress/example.yaml | 61 ----------- simple_nginx/README.md | 14 --- simple_nginx/chess.yaml | 21 ---- simple_nginx/ingress.yaml | 46 -------- simple_nginx/ingtest.yaml | 20 ---- simple_nginx/nginx_backend.yaml | 19 ---- 158 files changed, 61 insertions(+), 965 deletions(-) rename {Istio => .placeholder}/__-NetworkPolicies/README.md (100%) rename {Istio => .placeholder}/__-cert-management/README.md (100%) rename {Istio/00-Troubleshooting => 00-Troubleshooting}/README.md (100%) rename {Istio/01-Simple => 01-Simple}/01-hello_world_1_service_1_deployment/README.md (100%) rename {Istio/01-Simple => 01-Simple}/01-hello_world_1_service_1_deployment/deployment.yaml (100%) rename {Istio/01-Simple => 01-Simple}/01-hello_world_1_service_1_deployment/gateway.yaml (100%) rename {Istio/01-Simple => 01-Simple}/02-hello_world_1_service_2_deployments_unmanaged/README.md (100%) rename {Istio/01-Simple => 01-Simple}/02-hello_world_1_service_2_deployments_unmanaged/deployment.yaml (100%) rename {Istio/01-Simple => 01-Simple}/02-hello_world_1_service_2_deployments_unmanaged/gateway.yaml (100%) rename {Istio/01-Simple => 01-Simple}/03-hello_world_1_service_2_deployments_managed_version/README.md (100%) rename {Istio/01-Simple => 01-Simple}/03-hello_world_1_service_2_deployments_managed_version/deployment.yaml (100%) rename {Istio/01-Simple => 01-Simple}/03-hello_world_1_service_2_deployments_managed_version/gateway.yaml (100%) rename {Istio/01-Simple => 01-Simple}/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/01-namespace.yaml (100%) rename {Istio/01-Simple => 01-Simple}/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/README.md (100%) rename {Istio/01-Simple => 01-Simple}/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/deployment.yaml (100%) rename {Istio/01-Simple => 01-Simple}/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/gateway.yaml (100%) rename {Istio/01-Simple => 01-Simple}/05-hello_world_1_Service_Entry/README.md (100%) rename {Istio/01-Simple => 01-Simple}/05-hello_world_1_Service_Entry/ServiceEntry.yaml (100%) rename {Istio/01-Simple => 01-Simple}/05-hello_world_1_Service_Entry/gateway.yaml (100%) rename {Istio/01-Simple => 01-Simple}/06-hello_world_1_HTTPS-Service_Entry/README.md (99%) rename {Istio/01-Simple => 01-Simple}/06-hello_world_1_HTTPS-Service_Entry/ServiceEntry.yaml (100%) rename {Istio/01-Simple => 01-Simple}/06-hello_world_1_HTTPS-Service_Entry/gateway.yaml (100%) rename {Istio/01-Simple => 01-Simple}/06-hello_world_1_HTTPS-Service_Entry/src/github-screenshot.png (100%) rename {Istio/01-Simple => 01-Simple}/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/01-2_deployments_method/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/01-2_deployments_method/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/01-2_deployments_method/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/02-DirectResponse-HTTP-Body/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/02-DirectResponse-HTTP-Body/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/02-DirectResponse-HTTP-Body/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/03-HTTPRewrite/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/03-HTTPRewrite/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/03-HTTPRewrite/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/04-HTTPRedirect/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/04-HTTPRedirect/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/04-HTTPRedirect/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/05a-FaultInjection-delay/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/05a-FaultInjection-delay/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/05a-FaultInjection-delay/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/05b-FaultInjection-abort/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/05b-FaultInjection-abort/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/05b-FaultInjection-abort/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/06-mTLS/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/06-mTLS/authentication.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/06-mTLS/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/06-mTLS/deployment_2.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/06-mTLS/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/07-HTTPS-Gateway-Simple-TLS/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/07-HTTPS-Gateway-Simple-TLS/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/07-HTTPS-Gateway-Simple-TLS/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/08a-HTTPS-min-TLS-version/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/08a-HTTPS-min-TLS-version/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/08a-HTTPS-min-TLS-version/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/08b-HTTPS-max-TLS-version/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/08b-HTTPS-max-TLS-version/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/08b-HTTPS-max-TLS-version/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/09-HTTPS-backend/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/09-HTTPS-backend/authentication.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/09-HTTPS-backend/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/09-HTTPS-backend/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/10-TCP-FORWARDING/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/10-TCP-FORWARDING/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/10-TCP-FORWARDING/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/11-TLS-PASSTHROUGH/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/11-TLS-PASSTHROUGH/deployment.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/11-TLS-PASSTHROUGH/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/12-HTTP-to-HTTPS-traffic-redirect/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/12-HTTP-to-HTTPS-traffic-redirect/gateway.yaml (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/README.md (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/src/06-kiali-services-byeworld.png (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/src/06-kiali-services-helloworld.png (100%) rename {Istio/02-Traffic_management => 02-Traffic_management}/src/06-kiali-services.png (100%) rename {Istio/03-Sidecar => 03-Sidecar}/01-ingress-proxy-forwarding/README.md (100%) rename {Istio/03-Sidecar => 03-Sidecar}/01-ingress-proxy-forwarding/deployment.yaml (100%) rename {Istio/03-Sidecar => 03-Sidecar}/01-ingress-proxy-forwarding/gateway.yaml (100%) rename {Istio/03-Sidecar => 03-Sidecar}/01-ingress-proxy-forwarding/sidecar.yaml (100%) rename {Istio/03-Sidecar => 03-Sidecar}/README.md (100%) rename {Istio/04-Envoy => 04-Envoy}/01-envoy_add_headers/README.md (100%) rename {Istio/04-Envoy => 04-Envoy}/01-envoy_add_headers/deployment.yaml (100%) rename {Istio/04-Envoy => 04-Envoy}/01-envoy_add_headers/envoy.yaml (100%) rename {Istio/04-Envoy => 04-Envoy}/01-envoy_add_headers/envoy2.yaml (100%) rename {Istio/04-Envoy => 04-Envoy}/01-envoy_add_headers/gateway.yaml (100%) rename {Istio/04-Envoy => 04-Envoy}/README.md (100%) rename {Istio/05-MeshConfig => 05-MeshConfig}/01-Outboud-Traffic-Policy/README.md (100%) rename {Istio/05-MeshConfig => 05-MeshConfig}/01-Outboud-Traffic-Policy/deployment.yaml (100%) rename {Istio/05-MeshConfig => 05-MeshConfig}/01-Outboud-Traffic-Policy/gateway.yaml (100%) rename {Istio/05-MeshConfig => 05-MeshConfig}/README.md (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/01-target-namespaces/01-namespace.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/01-target-namespaces/README.md (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/01-target-namespaces/authentication.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/01-target-namespaces/deployment.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/01-target-namespaces/deployment_2.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/01-target-namespaces/gateway.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/02-target-service-accounts/01-namespace.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/02-target-service-accounts/01-service-accounts.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/02-target-service-accounts/README.md (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/02-target-service-accounts/authentication.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/02-target-service-accounts/deployment.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/02-target-service-accounts/deployment_2.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/02-target-service-accounts/gateway.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/03-target-deployments/01-namespace.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/03-target-deployments/README.md (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/03-target-deployments/authentication.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/03-target-deployments/deployment.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/03-target-deployments/deployment_2.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/03-target-deployments/gateway.yaml (100%) rename {Istio/06-AuthorizationPolicy => 06-AuthorizationPolicy}/README.md (100%) rename {Istio/07-External-Authrorization => 07-External-Authrorization}/README.md (100%) rename {Istio/08-monitoring => 08-monitoring}/README.md (100%) rename {Istio/09-Ingress => 09-Ingress}/01-Create-Istio-LoadBalancer/01-namespace.yaml (100%) rename {Istio/09-Ingress => 09-Ingress}/01-Create-Istio-LoadBalancer/README.md (100%) rename {Istio/09-Ingress => 09-Ingress}/01-Create-Istio-LoadBalancer/deployment.yaml (100%) rename {Istio/09-Ingress => 09-Ingress}/01-Create-Istio-LoadBalancer/gateway.yaml (100%) rename {Istio/09-Ingress => 09-Ingress}/01-Create-Istio-LoadBalancer/ingress.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/01-disable-mTLS/README.md (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/01-disable-mTLS/Service.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/01-disable-mTLS/authentication.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/01-disable-mTLS/deployment.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/01-disable-mTLS/gateway.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/02-portLevelMtls/Service.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/02-portLevelMtls/authentication.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/02-portLevelMtls/deployment.yaml (100%) rename {Istio/10-PeerAuthentication => 10-PeerAuthentication}/02-portLevelMtls/gateway.yaml (100%) rename {Istio/99-resources => 99-resources}/HTTPS-NGINX-DOCKERFILE/Dockerfile (100%) rename {Istio/99-resources => 99-resources}/HTTPS-NGINX-DOCKERFILE/README.md (100%) rename {Istio/99-resources => 99-resources}/HTTPS-NGINX-DOCKERFILE/server.conf (100%) delete mode 100644 Calico/README.md delete mode 100755 Istio/README.md delete mode 100755 LB/lb.yaml delete mode 100644 PLACEHOLDER.md rename {Istio/XX-CirtcuitBreaking => XX-CirtcuitBreaking}/Deployment.yaml (100%) rename {Istio/XX-CirtcuitBreaking => XX-CirtcuitBreaking}/DestinationRule.yaml (100%) rename {Istio/XX-CirtcuitBreaking => XX-CirtcuitBreaking}/Fortio.yaml (100%) rename {Istio/XX-CirtcuitBreaking => XX-CirtcuitBreaking}/README.md (100%) rename {Istio/XX-CirtcuitBreaking => XX-CirtcuitBreaking}/Service.yaml (100%) delete mode 100755 dashboard/README.md delete mode 100755 dashboard/dashboard.yaml delete mode 100755 hosted_ideas/README.md delete mode 100755 ingress/test.yaml delete mode 100755 istio_2/README.md delete mode 100755 istio_2/file.yaml delete mode 100755 istio_2/file2.yaml delete mode 100755 istio_2/tmp2.yaml delete mode 100755 istio_3/README.md delete mode 100755 istio_3/ingress.yaml delete mode 100755 istio_3/read_role.yaml delete mode 100755 istio_a/README.md delete mode 100755 istio_a/default.yaml delete mode 100755 istio_a/default2.yaml delete mode 100755 metallib/README.md delete mode 100755 nginx_ingress/README.md delete mode 100755 nginx_ingress/example.yaml delete mode 100755 simple_nginx/README.md delete mode 100755 simple_nginx/chess.yaml delete mode 100755 simple_nginx/ingress.yaml delete mode 100755 simple_nginx/ingtest.yaml delete mode 100755 simple_nginx/nginx_backend.yaml diff --git a/Istio/__-NetworkPolicies/README.md b/.placeholder/__-NetworkPolicies/README.md similarity index 100% rename from Istio/__-NetworkPolicies/README.md rename to .placeholder/__-NetworkPolicies/README.md diff --git a/Istio/__-cert-management/README.md b/.placeholder/__-cert-management/README.md similarity index 100% rename from Istio/__-cert-management/README.md rename to .placeholder/__-cert-management/README.md diff --git a/Istio/00-Troubleshooting/README.md b/00-Troubleshooting/README.md similarity index 100% rename from Istio/00-Troubleshooting/README.md rename to 00-Troubleshooting/README.md diff --git a/Istio/01-Simple/01-hello_world_1_service_1_deployment/README.md b/01-Simple/01-hello_world_1_service_1_deployment/README.md similarity index 100% rename from Istio/01-Simple/01-hello_world_1_service_1_deployment/README.md rename to 01-Simple/01-hello_world_1_service_1_deployment/README.md diff --git a/Istio/01-Simple/01-hello_world_1_service_1_deployment/deployment.yaml b/01-Simple/01-hello_world_1_service_1_deployment/deployment.yaml similarity index 100% rename from Istio/01-Simple/01-hello_world_1_service_1_deployment/deployment.yaml rename to 01-Simple/01-hello_world_1_service_1_deployment/deployment.yaml diff --git a/Istio/01-Simple/01-hello_world_1_service_1_deployment/gateway.yaml b/01-Simple/01-hello_world_1_service_1_deployment/gateway.yaml similarity index 100% rename from Istio/01-Simple/01-hello_world_1_service_1_deployment/gateway.yaml rename to 01-Simple/01-hello_world_1_service_1_deployment/gateway.yaml diff --git a/Istio/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/README.md b/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/README.md similarity index 100% rename from Istio/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/README.md rename to 01-Simple/02-hello_world_1_service_2_deployments_unmanaged/README.md diff --git a/Istio/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/deployment.yaml b/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/deployment.yaml similarity index 100% rename from Istio/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/deployment.yaml rename to 01-Simple/02-hello_world_1_service_2_deployments_unmanaged/deployment.yaml diff --git a/Istio/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/gateway.yaml b/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/gateway.yaml similarity index 100% rename from Istio/01-Simple/02-hello_world_1_service_2_deployments_unmanaged/gateway.yaml rename to 01-Simple/02-hello_world_1_service_2_deployments_unmanaged/gateway.yaml diff --git a/Istio/01-Simple/03-hello_world_1_service_2_deployments_managed_version/README.md b/01-Simple/03-hello_world_1_service_2_deployments_managed_version/README.md similarity index 100% rename from Istio/01-Simple/03-hello_world_1_service_2_deployments_managed_version/README.md rename to 01-Simple/03-hello_world_1_service_2_deployments_managed_version/README.md diff --git a/Istio/01-Simple/03-hello_world_1_service_2_deployments_managed_version/deployment.yaml b/01-Simple/03-hello_world_1_service_2_deployments_managed_version/deployment.yaml similarity index 100% rename from Istio/01-Simple/03-hello_world_1_service_2_deployments_managed_version/deployment.yaml rename to 01-Simple/03-hello_world_1_service_2_deployments_managed_version/deployment.yaml diff --git a/Istio/01-Simple/03-hello_world_1_service_2_deployments_managed_version/gateway.yaml b/01-Simple/03-hello_world_1_service_2_deployments_managed_version/gateway.yaml similarity index 100% rename from Istio/01-Simple/03-hello_world_1_service_2_deployments_managed_version/gateway.yaml rename to 01-Simple/03-hello_world_1_service_2_deployments_managed_version/gateway.yaml diff --git a/Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/01-namespace.yaml b/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/01-namespace.yaml similarity index 100% rename from Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/01-namespace.yaml rename to 01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/01-namespace.yaml diff --git a/Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/README.md b/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/README.md similarity index 100% rename from Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/README.md rename to 01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/README.md diff --git a/Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/deployment.yaml b/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/deployment.yaml similarity index 100% rename from Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/deployment.yaml rename to 01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/deployment.yaml diff --git a/Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/gateway.yaml b/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/gateway.yaml similarity index 100% rename from Istio/01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/gateway.yaml rename to 01-Simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/gateway.yaml diff --git a/Istio/01-Simple/05-hello_world_1_Service_Entry/README.md b/01-Simple/05-hello_world_1_Service_Entry/README.md similarity index 100% rename from Istio/01-Simple/05-hello_world_1_Service_Entry/README.md rename to 01-Simple/05-hello_world_1_Service_Entry/README.md diff --git a/Istio/01-Simple/05-hello_world_1_Service_Entry/ServiceEntry.yaml b/01-Simple/05-hello_world_1_Service_Entry/ServiceEntry.yaml similarity index 100% rename from Istio/01-Simple/05-hello_world_1_Service_Entry/ServiceEntry.yaml rename to 01-Simple/05-hello_world_1_Service_Entry/ServiceEntry.yaml diff --git a/Istio/01-Simple/05-hello_world_1_Service_Entry/gateway.yaml b/01-Simple/05-hello_world_1_Service_Entry/gateway.yaml similarity index 100% rename from Istio/01-Simple/05-hello_world_1_Service_Entry/gateway.yaml rename to 01-Simple/05-hello_world_1_Service_Entry/gateway.yaml diff --git a/Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/README.md b/01-Simple/06-hello_world_1_HTTPS-Service_Entry/README.md similarity index 99% rename from Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/README.md rename to 01-Simple/06-hello_world_1_HTTPS-Service_Entry/README.md index 69813e6..91b2c30 100755 --- a/Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/README.md +++ b/01-Simple/06-hello_world_1_HTTPS-Service_Entry/README.md @@ -169,7 +169,7 @@ I mean, we can use curl but it's certainly quite an ugly output, it works tho. As performing the test through `curl` is ugly, here is a screenshot of the setting working correctly. -![github-screenshot.png](./src/github-screenshot.png) +![github-screenshot.png](src/github-screenshot.png) ## Cleanup diff --git a/Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/ServiceEntry.yaml b/01-Simple/06-hello_world_1_HTTPS-Service_Entry/ServiceEntry.yaml similarity index 100% rename from Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/ServiceEntry.yaml rename to 01-Simple/06-hello_world_1_HTTPS-Service_Entry/ServiceEntry.yaml diff --git a/Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/gateway.yaml b/01-Simple/06-hello_world_1_HTTPS-Service_Entry/gateway.yaml similarity index 100% rename from Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/gateway.yaml rename to 01-Simple/06-hello_world_1_HTTPS-Service_Entry/gateway.yaml diff --git a/Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/src/github-screenshot.png b/01-Simple/06-hello_world_1_HTTPS-Service_Entry/src/github-screenshot.png similarity index 100% rename from Istio/01-Simple/06-hello_world_1_HTTPS-Service_Entry/src/github-screenshot.png rename to 01-Simple/06-hello_world_1_HTTPS-Service_Entry/src/github-screenshot.png diff --git a/Istio/01-Simple/README.md b/01-Simple/README.md similarity index 100% rename from Istio/01-Simple/README.md rename to 01-Simple/README.md diff --git a/Istio/02-Traffic_management/01-2_deployments_method/README.md b/02-Traffic_management/01-2_deployments_method/README.md similarity index 100% rename from Istio/02-Traffic_management/01-2_deployments_method/README.md rename to 02-Traffic_management/01-2_deployments_method/README.md diff --git a/Istio/02-Traffic_management/01-2_deployments_method/deployment.yaml b/02-Traffic_management/01-2_deployments_method/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/01-2_deployments_method/deployment.yaml rename to 02-Traffic_management/01-2_deployments_method/deployment.yaml diff --git a/Istio/02-Traffic_management/01-2_deployments_method/gateway.yaml b/02-Traffic_management/01-2_deployments_method/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/01-2_deployments_method/gateway.yaml rename to 02-Traffic_management/01-2_deployments_method/gateway.yaml diff --git a/Istio/02-Traffic_management/02-DirectResponse-HTTP-Body/README.md b/02-Traffic_management/02-DirectResponse-HTTP-Body/README.md similarity index 100% rename from Istio/02-Traffic_management/02-DirectResponse-HTTP-Body/README.md rename to 02-Traffic_management/02-DirectResponse-HTTP-Body/README.md diff --git a/Istio/02-Traffic_management/02-DirectResponse-HTTP-Body/deployment.yaml b/02-Traffic_management/02-DirectResponse-HTTP-Body/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/02-DirectResponse-HTTP-Body/deployment.yaml rename to 02-Traffic_management/02-DirectResponse-HTTP-Body/deployment.yaml diff --git a/Istio/02-Traffic_management/02-DirectResponse-HTTP-Body/gateway.yaml b/02-Traffic_management/02-DirectResponse-HTTP-Body/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/02-DirectResponse-HTTP-Body/gateway.yaml rename to 02-Traffic_management/02-DirectResponse-HTTP-Body/gateway.yaml diff --git a/Istio/02-Traffic_management/03-HTTPRewrite/README.md b/02-Traffic_management/03-HTTPRewrite/README.md similarity index 100% rename from Istio/02-Traffic_management/03-HTTPRewrite/README.md rename to 02-Traffic_management/03-HTTPRewrite/README.md diff --git a/Istio/02-Traffic_management/03-HTTPRewrite/deployment.yaml b/02-Traffic_management/03-HTTPRewrite/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/03-HTTPRewrite/deployment.yaml rename to 02-Traffic_management/03-HTTPRewrite/deployment.yaml diff --git a/Istio/02-Traffic_management/03-HTTPRewrite/gateway.yaml b/02-Traffic_management/03-HTTPRewrite/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/03-HTTPRewrite/gateway.yaml rename to 02-Traffic_management/03-HTTPRewrite/gateway.yaml diff --git a/Istio/02-Traffic_management/04-HTTPRedirect/README.md b/02-Traffic_management/04-HTTPRedirect/README.md similarity index 100% rename from Istio/02-Traffic_management/04-HTTPRedirect/README.md rename to 02-Traffic_management/04-HTTPRedirect/README.md diff --git a/Istio/02-Traffic_management/04-HTTPRedirect/deployment.yaml b/02-Traffic_management/04-HTTPRedirect/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/04-HTTPRedirect/deployment.yaml rename to 02-Traffic_management/04-HTTPRedirect/deployment.yaml diff --git a/Istio/02-Traffic_management/04-HTTPRedirect/gateway.yaml b/02-Traffic_management/04-HTTPRedirect/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/04-HTTPRedirect/gateway.yaml rename to 02-Traffic_management/04-HTTPRedirect/gateway.yaml diff --git a/Istio/02-Traffic_management/05a-FaultInjection-delay/README.md b/02-Traffic_management/05a-FaultInjection-delay/README.md similarity index 100% rename from Istio/02-Traffic_management/05a-FaultInjection-delay/README.md rename to 02-Traffic_management/05a-FaultInjection-delay/README.md diff --git a/Istio/02-Traffic_management/05a-FaultInjection-delay/deployment.yaml b/02-Traffic_management/05a-FaultInjection-delay/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/05a-FaultInjection-delay/deployment.yaml rename to 02-Traffic_management/05a-FaultInjection-delay/deployment.yaml diff --git a/Istio/02-Traffic_management/05a-FaultInjection-delay/gateway.yaml b/02-Traffic_management/05a-FaultInjection-delay/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/05a-FaultInjection-delay/gateway.yaml rename to 02-Traffic_management/05a-FaultInjection-delay/gateway.yaml diff --git a/Istio/02-Traffic_management/05b-FaultInjection-abort/README.md b/02-Traffic_management/05b-FaultInjection-abort/README.md similarity index 100% rename from Istio/02-Traffic_management/05b-FaultInjection-abort/README.md rename to 02-Traffic_management/05b-FaultInjection-abort/README.md diff --git a/Istio/02-Traffic_management/05b-FaultInjection-abort/deployment.yaml b/02-Traffic_management/05b-FaultInjection-abort/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/05b-FaultInjection-abort/deployment.yaml rename to 02-Traffic_management/05b-FaultInjection-abort/deployment.yaml diff --git a/Istio/02-Traffic_management/05b-FaultInjection-abort/gateway.yaml b/02-Traffic_management/05b-FaultInjection-abort/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/05b-FaultInjection-abort/gateway.yaml rename to 02-Traffic_management/05b-FaultInjection-abort/gateway.yaml diff --git a/Istio/02-Traffic_management/06-mTLS/README.md b/02-Traffic_management/06-mTLS/README.md similarity index 100% rename from Istio/02-Traffic_management/06-mTLS/README.md rename to 02-Traffic_management/06-mTLS/README.md diff --git a/Istio/02-Traffic_management/06-mTLS/authentication.yaml b/02-Traffic_management/06-mTLS/authentication.yaml similarity index 100% rename from Istio/02-Traffic_management/06-mTLS/authentication.yaml rename to 02-Traffic_management/06-mTLS/authentication.yaml diff --git a/Istio/02-Traffic_management/06-mTLS/deployment.yaml b/02-Traffic_management/06-mTLS/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/06-mTLS/deployment.yaml rename to 02-Traffic_management/06-mTLS/deployment.yaml diff --git a/Istio/02-Traffic_management/06-mTLS/deployment_2.yaml b/02-Traffic_management/06-mTLS/deployment_2.yaml similarity index 100% rename from Istio/02-Traffic_management/06-mTLS/deployment_2.yaml rename to 02-Traffic_management/06-mTLS/deployment_2.yaml diff --git a/Istio/02-Traffic_management/06-mTLS/gateway.yaml b/02-Traffic_management/06-mTLS/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/06-mTLS/gateway.yaml rename to 02-Traffic_management/06-mTLS/gateway.yaml diff --git a/Istio/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/README.md b/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/README.md similarity index 100% rename from Istio/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/README.md rename to 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/README.md diff --git a/Istio/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/deployment.yaml b/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/deployment.yaml rename to 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/deployment.yaml diff --git a/Istio/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/gateway.yaml b/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/gateway.yaml rename to 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/gateway.yaml diff --git a/Istio/02-Traffic_management/08a-HTTPS-min-TLS-version/README.md b/02-Traffic_management/08a-HTTPS-min-TLS-version/README.md similarity index 100% rename from Istio/02-Traffic_management/08a-HTTPS-min-TLS-version/README.md rename to 02-Traffic_management/08a-HTTPS-min-TLS-version/README.md diff --git a/Istio/02-Traffic_management/08a-HTTPS-min-TLS-version/deployment.yaml b/02-Traffic_management/08a-HTTPS-min-TLS-version/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/08a-HTTPS-min-TLS-version/deployment.yaml rename to 02-Traffic_management/08a-HTTPS-min-TLS-version/deployment.yaml diff --git a/Istio/02-Traffic_management/08a-HTTPS-min-TLS-version/gateway.yaml b/02-Traffic_management/08a-HTTPS-min-TLS-version/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/08a-HTTPS-min-TLS-version/gateway.yaml rename to 02-Traffic_management/08a-HTTPS-min-TLS-version/gateway.yaml diff --git a/Istio/02-Traffic_management/08b-HTTPS-max-TLS-version/README.md b/02-Traffic_management/08b-HTTPS-max-TLS-version/README.md similarity index 100% rename from Istio/02-Traffic_management/08b-HTTPS-max-TLS-version/README.md rename to 02-Traffic_management/08b-HTTPS-max-TLS-version/README.md diff --git a/Istio/02-Traffic_management/08b-HTTPS-max-TLS-version/deployment.yaml b/02-Traffic_management/08b-HTTPS-max-TLS-version/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/08b-HTTPS-max-TLS-version/deployment.yaml rename to 02-Traffic_management/08b-HTTPS-max-TLS-version/deployment.yaml diff --git a/Istio/02-Traffic_management/08b-HTTPS-max-TLS-version/gateway.yaml b/02-Traffic_management/08b-HTTPS-max-TLS-version/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/08b-HTTPS-max-TLS-version/gateway.yaml rename to 02-Traffic_management/08b-HTTPS-max-TLS-version/gateway.yaml diff --git a/Istio/02-Traffic_management/09-HTTPS-backend/README.md b/02-Traffic_management/09-HTTPS-backend/README.md similarity index 100% rename from Istio/02-Traffic_management/09-HTTPS-backend/README.md rename to 02-Traffic_management/09-HTTPS-backend/README.md diff --git a/Istio/02-Traffic_management/09-HTTPS-backend/authentication.yaml b/02-Traffic_management/09-HTTPS-backend/authentication.yaml similarity index 100% rename from Istio/02-Traffic_management/09-HTTPS-backend/authentication.yaml rename to 02-Traffic_management/09-HTTPS-backend/authentication.yaml diff --git a/Istio/02-Traffic_management/09-HTTPS-backend/deployment.yaml b/02-Traffic_management/09-HTTPS-backend/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/09-HTTPS-backend/deployment.yaml rename to 02-Traffic_management/09-HTTPS-backend/deployment.yaml diff --git a/Istio/02-Traffic_management/09-HTTPS-backend/gateway.yaml b/02-Traffic_management/09-HTTPS-backend/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/09-HTTPS-backend/gateway.yaml rename to 02-Traffic_management/09-HTTPS-backend/gateway.yaml diff --git a/Istio/02-Traffic_management/10-TCP-FORWARDING/README.md b/02-Traffic_management/10-TCP-FORWARDING/README.md similarity index 100% rename from Istio/02-Traffic_management/10-TCP-FORWARDING/README.md rename to 02-Traffic_management/10-TCP-FORWARDING/README.md diff --git a/Istio/02-Traffic_management/10-TCP-FORWARDING/deployment.yaml b/02-Traffic_management/10-TCP-FORWARDING/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/10-TCP-FORWARDING/deployment.yaml rename to 02-Traffic_management/10-TCP-FORWARDING/deployment.yaml diff --git a/Istio/02-Traffic_management/10-TCP-FORWARDING/gateway.yaml b/02-Traffic_management/10-TCP-FORWARDING/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/10-TCP-FORWARDING/gateway.yaml rename to 02-Traffic_management/10-TCP-FORWARDING/gateway.yaml diff --git a/Istio/02-Traffic_management/11-TLS-PASSTHROUGH/README.md b/02-Traffic_management/11-TLS-PASSTHROUGH/README.md similarity index 100% rename from Istio/02-Traffic_management/11-TLS-PASSTHROUGH/README.md rename to 02-Traffic_management/11-TLS-PASSTHROUGH/README.md diff --git a/Istio/02-Traffic_management/11-TLS-PASSTHROUGH/deployment.yaml b/02-Traffic_management/11-TLS-PASSTHROUGH/deployment.yaml similarity index 100% rename from Istio/02-Traffic_management/11-TLS-PASSTHROUGH/deployment.yaml rename to 02-Traffic_management/11-TLS-PASSTHROUGH/deployment.yaml diff --git a/Istio/02-Traffic_management/11-TLS-PASSTHROUGH/gateway.yaml b/02-Traffic_management/11-TLS-PASSTHROUGH/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/11-TLS-PASSTHROUGH/gateway.yaml rename to 02-Traffic_management/11-TLS-PASSTHROUGH/gateway.yaml diff --git a/Istio/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/README.md b/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/README.md similarity index 100% rename from Istio/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/README.md rename to 02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/README.md diff --git a/Istio/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/gateway.yaml b/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/gateway.yaml similarity index 100% rename from Istio/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/gateway.yaml rename to 02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/gateway.yaml diff --git a/Istio/02-Traffic_management/README.md b/02-Traffic_management/README.md similarity index 100% rename from Istio/02-Traffic_management/README.md rename to 02-Traffic_management/README.md diff --git a/Istio/02-Traffic_management/src/06-kiali-services-byeworld.png b/02-Traffic_management/src/06-kiali-services-byeworld.png similarity index 100% rename from Istio/02-Traffic_management/src/06-kiali-services-byeworld.png rename to 02-Traffic_management/src/06-kiali-services-byeworld.png diff --git a/Istio/02-Traffic_management/src/06-kiali-services-helloworld.png b/02-Traffic_management/src/06-kiali-services-helloworld.png similarity index 100% rename from Istio/02-Traffic_management/src/06-kiali-services-helloworld.png rename to 02-Traffic_management/src/06-kiali-services-helloworld.png diff --git a/Istio/02-Traffic_management/src/06-kiali-services.png b/02-Traffic_management/src/06-kiali-services.png similarity index 100% rename from Istio/02-Traffic_management/src/06-kiali-services.png rename to 02-Traffic_management/src/06-kiali-services.png diff --git a/Istio/03-Sidecar/01-ingress-proxy-forwarding/README.md b/03-Sidecar/01-ingress-proxy-forwarding/README.md similarity index 100% rename from Istio/03-Sidecar/01-ingress-proxy-forwarding/README.md rename to 03-Sidecar/01-ingress-proxy-forwarding/README.md diff --git a/Istio/03-Sidecar/01-ingress-proxy-forwarding/deployment.yaml b/03-Sidecar/01-ingress-proxy-forwarding/deployment.yaml similarity index 100% rename from Istio/03-Sidecar/01-ingress-proxy-forwarding/deployment.yaml rename to 03-Sidecar/01-ingress-proxy-forwarding/deployment.yaml diff --git a/Istio/03-Sidecar/01-ingress-proxy-forwarding/gateway.yaml b/03-Sidecar/01-ingress-proxy-forwarding/gateway.yaml similarity index 100% rename from Istio/03-Sidecar/01-ingress-proxy-forwarding/gateway.yaml rename to 03-Sidecar/01-ingress-proxy-forwarding/gateway.yaml diff --git a/Istio/03-Sidecar/01-ingress-proxy-forwarding/sidecar.yaml b/03-Sidecar/01-ingress-proxy-forwarding/sidecar.yaml similarity index 100% rename from Istio/03-Sidecar/01-ingress-proxy-forwarding/sidecar.yaml rename to 03-Sidecar/01-ingress-proxy-forwarding/sidecar.yaml diff --git a/Istio/03-Sidecar/README.md b/03-Sidecar/README.md similarity index 100% rename from Istio/03-Sidecar/README.md rename to 03-Sidecar/README.md diff --git a/Istio/04-Envoy/01-envoy_add_headers/README.md b/04-Envoy/01-envoy_add_headers/README.md similarity index 100% rename from Istio/04-Envoy/01-envoy_add_headers/README.md rename to 04-Envoy/01-envoy_add_headers/README.md diff --git a/Istio/04-Envoy/01-envoy_add_headers/deployment.yaml b/04-Envoy/01-envoy_add_headers/deployment.yaml similarity index 100% rename from Istio/04-Envoy/01-envoy_add_headers/deployment.yaml rename to 04-Envoy/01-envoy_add_headers/deployment.yaml diff --git a/Istio/04-Envoy/01-envoy_add_headers/envoy.yaml b/04-Envoy/01-envoy_add_headers/envoy.yaml similarity index 100% rename from Istio/04-Envoy/01-envoy_add_headers/envoy.yaml rename to 04-Envoy/01-envoy_add_headers/envoy.yaml diff --git a/Istio/04-Envoy/01-envoy_add_headers/envoy2.yaml b/04-Envoy/01-envoy_add_headers/envoy2.yaml similarity index 100% rename from Istio/04-Envoy/01-envoy_add_headers/envoy2.yaml rename to 04-Envoy/01-envoy_add_headers/envoy2.yaml diff --git a/Istio/04-Envoy/01-envoy_add_headers/gateway.yaml b/04-Envoy/01-envoy_add_headers/gateway.yaml similarity index 100% rename from Istio/04-Envoy/01-envoy_add_headers/gateway.yaml rename to 04-Envoy/01-envoy_add_headers/gateway.yaml diff --git a/Istio/04-Envoy/README.md b/04-Envoy/README.md similarity index 100% rename from Istio/04-Envoy/README.md rename to 04-Envoy/README.md diff --git a/Istio/05-MeshConfig/01-Outboud-Traffic-Policy/README.md b/05-MeshConfig/01-Outboud-Traffic-Policy/README.md similarity index 100% rename from Istio/05-MeshConfig/01-Outboud-Traffic-Policy/README.md rename to 05-MeshConfig/01-Outboud-Traffic-Policy/README.md diff --git a/Istio/05-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml b/05-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml similarity index 100% rename from Istio/05-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml rename to 05-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml diff --git a/Istio/05-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml b/05-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml similarity index 100% rename from Istio/05-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml rename to 05-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml diff --git a/Istio/05-MeshConfig/README.md b/05-MeshConfig/README.md similarity index 100% rename from Istio/05-MeshConfig/README.md rename to 05-MeshConfig/README.md diff --git a/Istio/06-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml b/06-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml rename to 06-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml diff --git a/Istio/06-AuthorizationPolicy/01-target-namespaces/README.md b/06-AuthorizationPolicy/01-target-namespaces/README.md similarity index 100% rename from Istio/06-AuthorizationPolicy/01-target-namespaces/README.md rename to 06-AuthorizationPolicy/01-target-namespaces/README.md diff --git a/Istio/06-AuthorizationPolicy/01-target-namespaces/authentication.yaml b/06-AuthorizationPolicy/01-target-namespaces/authentication.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/01-target-namespaces/authentication.yaml rename to 06-AuthorizationPolicy/01-target-namespaces/authentication.yaml diff --git a/Istio/06-AuthorizationPolicy/01-target-namespaces/deployment.yaml b/06-AuthorizationPolicy/01-target-namespaces/deployment.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/01-target-namespaces/deployment.yaml rename to 06-AuthorizationPolicy/01-target-namespaces/deployment.yaml diff --git a/Istio/06-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml b/06-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml rename to 06-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml diff --git a/Istio/06-AuthorizationPolicy/01-target-namespaces/gateway.yaml b/06-AuthorizationPolicy/01-target-namespaces/gateway.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/01-target-namespaces/gateway.yaml rename to 06-AuthorizationPolicy/01-target-namespaces/gateway.yaml diff --git a/Istio/06-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml b/06-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml rename to 06-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml diff --git a/Istio/06-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml b/06-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml rename to 06-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml diff --git a/Istio/06-AuthorizationPolicy/02-target-service-accounts/README.md b/06-AuthorizationPolicy/02-target-service-accounts/README.md similarity index 100% rename from Istio/06-AuthorizationPolicy/02-target-service-accounts/README.md rename to 06-AuthorizationPolicy/02-target-service-accounts/README.md diff --git a/Istio/06-AuthorizationPolicy/02-target-service-accounts/authentication.yaml b/06-AuthorizationPolicy/02-target-service-accounts/authentication.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/02-target-service-accounts/authentication.yaml rename to 06-AuthorizationPolicy/02-target-service-accounts/authentication.yaml diff --git a/Istio/06-AuthorizationPolicy/02-target-service-accounts/deployment.yaml b/06-AuthorizationPolicy/02-target-service-accounts/deployment.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/02-target-service-accounts/deployment.yaml rename to 06-AuthorizationPolicy/02-target-service-accounts/deployment.yaml diff --git a/Istio/06-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml b/06-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml rename to 06-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml diff --git a/Istio/06-AuthorizationPolicy/02-target-service-accounts/gateway.yaml b/06-AuthorizationPolicy/02-target-service-accounts/gateway.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/02-target-service-accounts/gateway.yaml rename to 06-AuthorizationPolicy/02-target-service-accounts/gateway.yaml diff --git a/Istio/06-AuthorizationPolicy/03-target-deployments/01-namespace.yaml b/06-AuthorizationPolicy/03-target-deployments/01-namespace.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/03-target-deployments/01-namespace.yaml rename to 06-AuthorizationPolicy/03-target-deployments/01-namespace.yaml diff --git a/Istio/06-AuthorizationPolicy/03-target-deployments/README.md b/06-AuthorizationPolicy/03-target-deployments/README.md similarity index 100% rename from Istio/06-AuthorizationPolicy/03-target-deployments/README.md rename to 06-AuthorizationPolicy/03-target-deployments/README.md diff --git a/Istio/06-AuthorizationPolicy/03-target-deployments/authentication.yaml b/06-AuthorizationPolicy/03-target-deployments/authentication.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/03-target-deployments/authentication.yaml rename to 06-AuthorizationPolicy/03-target-deployments/authentication.yaml diff --git a/Istio/06-AuthorizationPolicy/03-target-deployments/deployment.yaml b/06-AuthorizationPolicy/03-target-deployments/deployment.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/03-target-deployments/deployment.yaml rename to 06-AuthorizationPolicy/03-target-deployments/deployment.yaml diff --git a/Istio/06-AuthorizationPolicy/03-target-deployments/deployment_2.yaml b/06-AuthorizationPolicy/03-target-deployments/deployment_2.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/03-target-deployments/deployment_2.yaml rename to 06-AuthorizationPolicy/03-target-deployments/deployment_2.yaml diff --git a/Istio/06-AuthorizationPolicy/03-target-deployments/gateway.yaml b/06-AuthorizationPolicy/03-target-deployments/gateway.yaml similarity index 100% rename from Istio/06-AuthorizationPolicy/03-target-deployments/gateway.yaml rename to 06-AuthorizationPolicy/03-target-deployments/gateway.yaml diff --git a/Istio/06-AuthorizationPolicy/README.md b/06-AuthorizationPolicy/README.md similarity index 100% rename from Istio/06-AuthorizationPolicy/README.md rename to 06-AuthorizationPolicy/README.md diff --git a/Istio/07-External-Authrorization/README.md b/07-External-Authrorization/README.md similarity index 100% rename from Istio/07-External-Authrorization/README.md rename to 07-External-Authrorization/README.md diff --git a/Istio/08-monitoring/README.md b/08-monitoring/README.md similarity index 100% rename from Istio/08-monitoring/README.md rename to 08-monitoring/README.md diff --git a/Istio/09-Ingress/01-Create-Istio-LoadBalancer/01-namespace.yaml b/09-Ingress/01-Create-Istio-LoadBalancer/01-namespace.yaml similarity index 100% rename from Istio/09-Ingress/01-Create-Istio-LoadBalancer/01-namespace.yaml rename to 09-Ingress/01-Create-Istio-LoadBalancer/01-namespace.yaml diff --git a/Istio/09-Ingress/01-Create-Istio-LoadBalancer/README.md b/09-Ingress/01-Create-Istio-LoadBalancer/README.md similarity index 100% rename from Istio/09-Ingress/01-Create-Istio-LoadBalancer/README.md rename to 09-Ingress/01-Create-Istio-LoadBalancer/README.md diff --git a/Istio/09-Ingress/01-Create-Istio-LoadBalancer/deployment.yaml b/09-Ingress/01-Create-Istio-LoadBalancer/deployment.yaml similarity index 100% rename from Istio/09-Ingress/01-Create-Istio-LoadBalancer/deployment.yaml rename to 09-Ingress/01-Create-Istio-LoadBalancer/deployment.yaml diff --git a/Istio/09-Ingress/01-Create-Istio-LoadBalancer/gateway.yaml b/09-Ingress/01-Create-Istio-LoadBalancer/gateway.yaml similarity index 100% rename from Istio/09-Ingress/01-Create-Istio-LoadBalancer/gateway.yaml rename to 09-Ingress/01-Create-Istio-LoadBalancer/gateway.yaml diff --git a/Istio/09-Ingress/01-Create-Istio-LoadBalancer/ingress.yaml b/09-Ingress/01-Create-Istio-LoadBalancer/ingress.yaml similarity index 100% rename from Istio/09-Ingress/01-Create-Istio-LoadBalancer/ingress.yaml rename to 09-Ingress/01-Create-Istio-LoadBalancer/ingress.yaml diff --git a/Istio/10-PeerAuthentication/01-disable-mTLS/README.md b/10-PeerAuthentication/01-disable-mTLS/README.md similarity index 100% rename from Istio/10-PeerAuthentication/01-disable-mTLS/README.md rename to 10-PeerAuthentication/01-disable-mTLS/README.md diff --git a/Istio/10-PeerAuthentication/01-disable-mTLS/Service.yaml b/10-PeerAuthentication/01-disable-mTLS/Service.yaml similarity index 100% rename from Istio/10-PeerAuthentication/01-disable-mTLS/Service.yaml rename to 10-PeerAuthentication/01-disable-mTLS/Service.yaml diff --git a/Istio/10-PeerAuthentication/01-disable-mTLS/authentication.yaml b/10-PeerAuthentication/01-disable-mTLS/authentication.yaml similarity index 100% rename from Istio/10-PeerAuthentication/01-disable-mTLS/authentication.yaml rename to 10-PeerAuthentication/01-disable-mTLS/authentication.yaml diff --git a/Istio/10-PeerAuthentication/01-disable-mTLS/deployment.yaml b/10-PeerAuthentication/01-disable-mTLS/deployment.yaml similarity index 100% rename from Istio/10-PeerAuthentication/01-disable-mTLS/deployment.yaml rename to 10-PeerAuthentication/01-disable-mTLS/deployment.yaml diff --git a/Istio/10-PeerAuthentication/01-disable-mTLS/gateway.yaml b/10-PeerAuthentication/01-disable-mTLS/gateway.yaml similarity index 100% rename from Istio/10-PeerAuthentication/01-disable-mTLS/gateway.yaml rename to 10-PeerAuthentication/01-disable-mTLS/gateway.yaml diff --git a/Istio/10-PeerAuthentication/02-portLevelMtls/Service.yaml b/10-PeerAuthentication/02-portLevelMtls/Service.yaml similarity index 100% rename from Istio/10-PeerAuthentication/02-portLevelMtls/Service.yaml rename to 10-PeerAuthentication/02-portLevelMtls/Service.yaml diff --git a/Istio/10-PeerAuthentication/02-portLevelMtls/authentication.yaml b/10-PeerAuthentication/02-portLevelMtls/authentication.yaml similarity index 100% rename from Istio/10-PeerAuthentication/02-portLevelMtls/authentication.yaml rename to 10-PeerAuthentication/02-portLevelMtls/authentication.yaml diff --git a/Istio/10-PeerAuthentication/02-portLevelMtls/deployment.yaml b/10-PeerAuthentication/02-portLevelMtls/deployment.yaml similarity index 100% rename from Istio/10-PeerAuthentication/02-portLevelMtls/deployment.yaml rename to 10-PeerAuthentication/02-portLevelMtls/deployment.yaml diff --git a/Istio/10-PeerAuthentication/02-portLevelMtls/gateway.yaml b/10-PeerAuthentication/02-portLevelMtls/gateway.yaml similarity index 100% rename from Istio/10-PeerAuthentication/02-portLevelMtls/gateway.yaml rename to 10-PeerAuthentication/02-portLevelMtls/gateway.yaml diff --git a/Istio/99-resources/HTTPS-NGINX-DOCKERFILE/Dockerfile b/99-resources/HTTPS-NGINX-DOCKERFILE/Dockerfile similarity index 100% rename from Istio/99-resources/HTTPS-NGINX-DOCKERFILE/Dockerfile rename to 99-resources/HTTPS-NGINX-DOCKERFILE/Dockerfile diff --git a/Istio/99-resources/HTTPS-NGINX-DOCKERFILE/README.md b/99-resources/HTTPS-NGINX-DOCKERFILE/README.md similarity index 100% rename from Istio/99-resources/HTTPS-NGINX-DOCKERFILE/README.md rename to 99-resources/HTTPS-NGINX-DOCKERFILE/README.md diff --git a/Istio/99-resources/HTTPS-NGINX-DOCKERFILE/server.conf b/99-resources/HTTPS-NGINX-DOCKERFILE/server.conf similarity index 100% rename from Istio/99-resources/HTTPS-NGINX-DOCKERFILE/server.conf rename to 99-resources/HTTPS-NGINX-DOCKERFILE/server.conf diff --git a/Calico/README.md b/Calico/README.md deleted file mode 100644 index cf13547..0000000 --- a/Calico/README.md +++ /dev/null @@ -1,12 +0,0 @@ - -## Eventually - -https://medium.com/expedia-group-tech/network-policies-with-calico-for-kubernetes-networking-875c0ebbcfb3 - -https://docs.tigera.io/calico/latest/network-policy/get-started/calico-policy/calico-network-policy - -https://docs.tigera.io/calico/latest/getting-started/kubernetes/quickstart - -https://docs.tigera.io/archive/v3.7/getting-started/kubernetes/ - -https://hustcat.github.io/getting-started-with-calico/ \ No newline at end of file diff --git a/Istio/README.md b/Istio/README.md deleted file mode 100755 index 514fef1..0000000 --- a/Istio/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# Disclaimer: - -I have absolutely used as a reference and or template other party configurations/files. - -I have tried to reference as much as possible as long it's relevant/useful for the reader. - -# Stuff - -## Glossary - -https://istio.io/latest/docs/reference/glossary/ - - -## Workload - -https://istio.io/latest/docs/reference/glossary/#workload - -https://kiali.io/docs/architecture/terminology/concepts/#workload - - -https://istio.io/latest/docs/ops/deployment/vm-architecture/ - - -## Sidecar - -https://kubebyexample.com/learning-paths/istio/intro - - -# Notes for myself - -Internal and external authentication should be set together. - - -https://istio.io/latest/docs/ops/diagnostic-tools/proxy-cmd/ - -https://istio.io/latest/docs/ops/deployment/deployment-models/ - -## Services port names - -Istio allows to specify which protocol will run through a port. - -It requires the name of the port to be set to a specific format `name: (-)`. - -Starting from Kubernetes 1.18, it also can be specified through the `appProtocol` field in the port, resulting in `appProtocol: `. - -This means that port names should respect this format to avoid issues, and for such be cautious when setting up the name of the ports. - -This applies to multiple Istio elements, but as well to `kind: Services` from default Kubernetes. - -For more information about this behavior, refer to: - -https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/#explicit-protocol-selection - - - -# Workload selector is cool - -- https://istio.io/latest/docs/reference/config/type/workload-selector/#WorkloadSelector - -# Links of interest - -- https://istiobyexample.dev/ - diff --git a/LB/lb.yaml b/LB/lb.yaml deleted file mode 100755 index ca32151..0000000 --- a/LB/lb.yaml +++ /dev/null @@ -1,98 +0,0 @@ -# Example of a Ingress "LB" that itterates between 3 instances -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginxo-deploayment - labels: - environment: testin-lb1s -spec: - selector: - matchLabels: - applicasao: webpaggo - replicas: 1 - template: - metadata: - labels: - applicasao: webpaggo - spec: - containers: - - name: nginxo - image: nginx - ports: - - containerPort: 80 - name: http ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: whoami-traefik - labels: - environment: testin-lb1 -spec: - selector: - matchLabels: - applicasao: webpaggo - replicas: 2 - template: - metadata: - labels: - applicasao: webpaggo - spec: - containers: - - name: whoami - image: traefik/whoami - ports: - - containerPort: 80 - name: http ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: httpago-deployment - labels: - environment: testin-lb1 -spec: - selector: - matchLabels: - applicasao: webpaggo - replicas: 1 - template: - metadata: - labels: - applicasao: webpaggo - spec: - containers: - - name: apache - image: httpd - ports: - - containerPort: 80 - name: http ---- -apiVersion: v1 -kind: Service -metadata: - name: ingressito - labels: - environment: testin-lb1 -spec: - selector: - applicasao: webpaggo - ports: - - port: 80 - targetPort: http - externalTrafficPolicy: Local - type: LoadBalancer - - - - - - - - - - - - - - diff --git a/PLACEHOLDER.md b/PLACEHOLDER.md deleted file mode 100644 index 46a9440..0000000 --- a/PLACEHOLDER.md +++ /dev/null @@ -1,23 +0,0 @@ - -https://plantuml.com/ -https://blog.jetbrains.com/dotnet/2020/10/06/create-uml-diagrams-using-plantuml/ - -```puml -Bob->Alice : Hello! -``` - -https://mermaid.js.org/#/ - -```mermaid -graph LR - A[Write Code] --> B{Does it work?} - B --> NO --> D[Google] - B --> YES --> C[GREAT!] - D --> A -``` - - -> NOTE:\ -> Gitea has support for mermaid.\ -> Doesn't have support for puml.\ -> (obv talking about default behavior) \ No newline at end of file diff --git a/README.md b/README.md index 0c08e8b..514fef1 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,63 @@ -# Surely only the following folders work / have any meaningful information +# Disclaimer: -- [Istio](./Istio) +I have absolutely used as a reference and or template other party configurations/files. + +I have tried to reference as much as possible as long it's relevant/useful for the reader. + +# Stuff + +## Glossary + +https://istio.io/latest/docs/reference/glossary/ +## Workload + +https://istio.io/latest/docs/reference/glossary/#workload + +https://kiali.io/docs/architecture/terminology/concepts/#workload + + +https://istio.io/latest/docs/ops/deployment/vm-architecture/ + + +## Sidecar + +https://kubebyexample.com/learning-paths/istio/intro + + +# Notes for myself + +Internal and external authentication should be set together. + + +https://istio.io/latest/docs/ops/diagnostic-tools/proxy-cmd/ + +https://istio.io/latest/docs/ops/deployment/deployment-models/ + +## Services port names + +Istio allows to specify which protocol will run through a port. + +It requires the name of the port to be set to a specific format `name: (-)`. + +Starting from Kubernetes 1.18, it also can be specified through the `appProtocol` field in the port, resulting in `appProtocol: `. + +This means that port names should respect this format to avoid issues, and for such be cautious when setting up the name of the ports. + +This applies to multiple Istio elements, but as well to `kind: Services` from default Kubernetes. + +For more information about this behavior, refer to: + +https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/#explicit-protocol-selection + + + +# Workload selector is cool + +- https://istio.io/latest/docs/reference/config/type/workload-selector/#WorkloadSelector + +# Links of interest + +- https://istiobyexample.dev/ + diff --git a/Istio/XX-CirtcuitBreaking/Deployment.yaml b/XX-CirtcuitBreaking/Deployment.yaml similarity index 100% rename from Istio/XX-CirtcuitBreaking/Deployment.yaml rename to XX-CirtcuitBreaking/Deployment.yaml diff --git a/Istio/XX-CirtcuitBreaking/DestinationRule.yaml b/XX-CirtcuitBreaking/DestinationRule.yaml similarity index 100% rename from Istio/XX-CirtcuitBreaking/DestinationRule.yaml rename to XX-CirtcuitBreaking/DestinationRule.yaml diff --git a/Istio/XX-CirtcuitBreaking/Fortio.yaml b/XX-CirtcuitBreaking/Fortio.yaml similarity index 100% rename from Istio/XX-CirtcuitBreaking/Fortio.yaml rename to XX-CirtcuitBreaking/Fortio.yaml diff --git a/Istio/XX-CirtcuitBreaking/README.md b/XX-CirtcuitBreaking/README.md similarity index 100% rename from Istio/XX-CirtcuitBreaking/README.md rename to XX-CirtcuitBreaking/README.md diff --git a/Istio/XX-CirtcuitBreaking/Service.yaml b/XX-CirtcuitBreaking/Service.yaml similarity index 100% rename from Istio/XX-CirtcuitBreaking/Service.yaml rename to XX-CirtcuitBreaking/Service.yaml diff --git a/dashboard/README.md b/dashboard/README.md deleted file mode 100755 index 9305ed9..0000000 --- a/dashboard/README.md +++ /dev/null @@ -1,7 +0,0 @@ -https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md - - - -``` -eyJhbGciOiJSUzI1NiIsImtpZCI6IlZJbF9YZWlzNGVybkRTMUVjZ0hFbVJkZ0tVaEFYVTNSUjhVWXlJWWJuUkEifQ.eyJhdWQiOlsiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjLmNsdXN0ZXIubG9jYWwiXSwiZXhwIjoxNjc5MDExNTUwLCJpYXQiOjE2NzkwMDc5NTAsImlzcyI6Imh0dHBzOi8va3ViZXJuZXRlcy5kZWZhdWx0LnN2Yy5jbHVzdGVyLmxvY2FsIiwia3ViZXJuZXRlcy5pbyI6eyJuYW1lc3BhY2UiOiJrdWJlcm5ldGVzLWRhc2hib2FyZCIsInNlcnZpY2VhY2NvdW50Ijp7Im5hbWUiOiJhZG1pbi11c2VyIiwidWlkIjoiZDhmOWU3YTgtYmZiMy00Zjc0LWE3Y2MtZjZjODkzMmEzOWYzIn19LCJuYmYiOjE2NzkwMDc5NTAsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlcm5ldGVzLWRhc2hib2FyZDphZG1pbi11c2VyIn0.HAmpLXAz8GZpEDqvpsQNnS3HOvP13UnytbVLzmfCMEKpA_HrVtq48fqeRbWICjNit7qeT8eGEB22fTsBhFzGLoKM7REC7hisq8jiMMvKOtZ-wbCQk5SiK4njr0ovhxKfhUvumK6D7oPVdSXGX3j8LC_T6nLjfMqoU3vRMam08yUJ88WWVQLKUOKlqVbsQaLrWvjg8M8Sme0gawxRFo21DFHfk8afP6kEC7n6MnBna6bjd2He74GeJZ9QwwdllTjIX9GdVxXpjj8e1VnvkTZKDWzV9F5mLHmuuE8lgQT02kZRUv0P3vPGckIgUS-kzvBIrmBwIjvStiOK6L93zzJHTg -``` \ No newline at end of file diff --git a/dashboard/dashboard.yaml b/dashboard/dashboard.yaml deleted file mode 100755 index fd3253b..0000000 --- a/dashboard/dashboard.yaml +++ /dev/null @@ -1,33 +0,0 @@ -kind: Service -apiVersion: v1 -metadata: - labels: - k8s-app: kubernetes-dashboard - name: kubernetes-dashboard-pub - namespace: kubernetes-dashboard -spec: - ports: - - port: 443 - targetPort: 8443 - selector: - k8s-app: kubernetes-dashboard-pub - type: LoadBalancer ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: admin-user - namespace: kubernetes-dashboard ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: admin-user -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: cluster-admin -subjects: - - kind: ServiceAccount - name: admin-user - namespace: kubernetes-dashboard \ No newline at end of file diff --git a/hosted_ideas/README.md b/hosted_ideas/README.md deleted file mode 100755 index 2300f43..0000000 --- a/hosted_ideas/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# Dashboards - -Muximux https://github.com/mescon/Muximux - -Flame https://github.com/pawelmalak/flame - -# Kanboard / Task manager - -Vikunja https://vikunja.io/ - -# CV (looks cool) -rxresu https://rxresu.me/ - - -# Misc - -whoogle https://github.com/benbusby/whoogle-search - - - -Metabase ? - -# Downloader - -## Music -Deemix - - -# Content Streaming -## Music -Navidrome - -# Games -## Chess -Lila - -# File uploading (replace tube) -## -https://github.com/awesome-selfhosted/awesome-selfhosted#file-transfer---single-click--drag-n-drop-upload - - - -# Metrics / Logs analytics - -Wazuh \ No newline at end of file diff --git a/ingress/test.yaml b/ingress/test.yaml deleted file mode 100755 index 4b2e5e5..0000000 --- a/ingress/test.yaml +++ /dev/null @@ -1,80 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-ingress-test - labels: - example: ingress -spec: - selector: - matchLabels: - app: nginx-test - replicas: 1 # Not much meaningful to have 2 pods if the content will be the same ... - template: - metadata: - labels: - example: ingress - app: nginx-test - spec: - containers: - - name: nginx-cont - image: nginx - ports: - - containerPort: 80 - name: http ---- -apiVersion: v1 -kind: Service -metadata: - name: ingress-service - labels: - example: ingress -spec: - selector: - app: nginx-test - ports: - - port: 80 - targetPort: http - externalTrafficPolicy: Local - type: NodePort - ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: ingress-test -# annotations: -# nginx.ingress.kubernetes.io/rewrite-target: / - labels: - example: ingress -spec: - ingressClassName: ingress-example - rules: - - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: ingress-service - port: - number: 80 -#--- -#apiVersion: networking.k8s.io/v1 -#kind: Ingress -#metadata: -# annotations: -# kubernetes.io/ingress.class: istio -# name: istio-ingress -#spec: -# rules: -# #- host: * -# - http: -# paths: -# - path: / -# pathType: Prefix -# backend: -# service: -# name: ingress-service -# port: -# number: 80 -# type: LoadBalancer \ No newline at end of file diff --git a/istio_2/README.md b/istio_2/README.md deleted file mode 100755 index 095ba2e..0000000 --- a/istio_2/README.md +++ /dev/null @@ -1 +0,0 @@ -https://istio.io/latest/docs/tasks/traffic-management/ingress/ingress-control/ \ No newline at end of file diff --git a/istio_2/file.yaml b/istio_2/file.yaml deleted file mode 100755 index b46d444..0000000 --- a/istio_2/file.yaml +++ /dev/null @@ -1,43 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: httpbin ---- -apiVersion: v1 -kind: Service -metadata: - name: httpbin - labels: - app: httpbin - service: httpbin -spec: - ports: - - name: http - port: 8000 - targetPort: 80 - selector: - app: httpbin ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: httpbin -spec: - replicas: 1 - selector: - matchLabels: - app: httpbin - version: v1 - template: - metadata: - labels: - app: httpbin - version: v1 - spec: - serviceAccountName: httpbin - containers: - - image: docker.io/kennethreitz/httpbin - imagePullPolicy: IfNotPresent - name: httpbin - ports: - - containerPort: 80 \ No newline at end of file diff --git a/istio_2/file2.yaml b/istio_2/file2.yaml deleted file mode 100755 index d4ec00a..0000000 --- a/istio_2/file2.yaml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: networking.istio.io/v1alpha3 -kind: Gateway -metadata: - name: httpbin-gateway -spec: - # The selector matches the ingress gateway pod labels. - # If you installed Istio using Helm following the standard documentation, this would be "istio=ingress" - selector: - istio: ingressgateway - servers: - - port: - number: 80 - name: http - protocol: HTTP - hosts: - - "httpbin.example.com" ---- -apiVersion: networking.istio.io/v1alpha3 -kind: VirtualService -metadata: - name: httpbin -spec: - hosts: - - "httpbin.example.com" - gateways: - - httpbin-gateway - http: - - match: - - uri: - prefix: /status - - uri: - prefix: /delay - route: - - destination: - port: - number: 8000 - host: httpbin \ No newline at end of file diff --git a/istio_2/tmp2.yaml b/istio_2/tmp2.yaml deleted file mode 100755 index 5e49e02..0000000 --- a/istio_2/tmp2.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: HTTPRoute -metadata: - name: http - namespace: default -spec: - parentRefs: - - name: gateway - namespace: istio-ingress - hostnames: ["httpbin.example.com"] - rules: - - matches: - - path: - type: PathPrefix - value: /get - - path: - type: PathPrefix - value: /headers - filters: - - type: URLRewrite - urlRewrite: -# hostname: "*" - hostname: elsewhere.example - path: - type: ReplacePrefixMatch -# replacePrefixMatch: / - replacePrefixMatch: /fennel -# - type: RequestHeaderModifier -# requestHeaderModifier: -# add: -# - name: my-added-header -# value: added-value - backendRefs: - - name: httpbin - port: 8000 diff --git a/istio_3/README.md b/istio_3/README.md deleted file mode 100755 index 6dde793..0000000 --- a/istio_3/README.md +++ /dev/null @@ -1,48 +0,0 @@ -## https://istio.io/latest/docs/examples/microservices-istio/setup-kubernetes-cluster/ - -### Create namespaces - -```shell -export NAMESPACE=tutorial -kubectl create namespace $NAMESPACE -``` - -### Install istio demo - - -```shell -istioctl install --set profile=demo -``` - - -### Install telemetry addons - -#### Grafana - -```shell -kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/grafana.yaml -``` - -#### Prometheus - -```shell -kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/prometheus.yaml -``` - -#### Kiali - -```shell -kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/kiali.yaml -``` - -#### Jaeger - -```shell -kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/addons/jaeger.yaml -``` - -### Create ingress resources - -```shell -kubectl apply ./gateway.yaml -``` \ No newline at end of file diff --git a/istio_3/ingress.yaml b/istio_3/ingress.yaml deleted file mode 100755 index e2bea4f..0000000 --- a/istio_3/ingress.yaml +++ /dev/null @@ -1,49 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: istio-system - namespace: istio-system - annotations: - kubernetes.io/ingress.class: istio -spec: - rules: - - host: my-istio-dashboard.io - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: grafana - port: - number: 3000 - - host: my-istio-tracing.io - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: tracing - port: - number: 9411 - - host: my-istio-logs-database.io - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: prometheus - port: - number: 9090 - - host: my-kiali.io - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: kiali - port: - number: 20001 diff --git a/istio_3/read_role.yaml b/istio_3/read_role.yaml deleted file mode 100755 index 6b30d66..0000000 --- a/istio_3/read_role.yaml +++ /dev/null @@ -1,9 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: istio-system-access - namespace: istio-system -rules: - - apiGroups: ["", "extensions", "apps"] - resources: ["*"] - verbs: ["get", "list"] \ No newline at end of file diff --git a/istio_a/README.md b/istio_a/README.md deleted file mode 100755 index 14dd914..0000000 --- a/istio_a/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# https://istio.io/latest/docs/setup/getting-started/ -### https://istio.io/latest/docs/setup/additional-setup/config-profiles/ - - -```shell -istioctl install --set profile=default -y -``` -### https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/ - - -### ? - -https://istio.io/latest/docs/examples/microservices-istio/istio-ingress-gateway/ - -```sh -NAMESPACE=istio-test -``` - -### Wildcard hosts -https://istio.io/latest/docs/tasks/traffic-management/egress/wildcard-egress-hosts/ - - -### ingress gateway - -https://istio.io/latest/docs/setup/additional-setup/gateway/ - -## Documentation - -https://istio.io/latest/docs/reference/config/networking/virtual-service/#VirtualService - - -## Dashboard -### Kiali -https://istio.io/latest/docs/ops/integrations/kiali/#installation \ No newline at end of file diff --git a/istio_a/default.yaml b/istio_a/default.yaml deleted file mode 100755 index aff1be3..0000000 --- a/istio_a/default.yaml +++ /dev/null @@ -1,45 +0,0 @@ -apiVersion: networking.istio.io/v1beta1 -kind: Gateway -metadata: - name: bookinfo-gateway -spec: - # The selector matches the ingress gateway pod labels. - # If you installed Istio using Helm following the standard documentation, this would be "istio=ingress" - selector: - istio: ingressgateway # use istio default controller - servers: - - port: - number: 80 - name: http - protocol: HTTP - hosts: - - "*" ---- -apiVersion: networking.istio.io/v1beta1 -kind: VirtualService -metadata: - name: bookinfo -spec: - hosts: - - "*" - gateways: - - bookinfo-gateway - http: - - match: - - uri: - exact: /productpage - - uri: - prefix: /static - - uri: - exact: /login -# - uri: -# exact: /logout -# - uri: -# prefix: /api/v1/products - rewrite: - uri: / - route: - - destination: - host: productpage - port: - number: 80 \ No newline at end of file diff --git a/istio_a/default2.yaml b/istio_a/default2.yaml deleted file mode 100755 index 209fac9..0000000 --- a/istio_a/default2.yaml +++ /dev/null @@ -1,53 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: productpage - labels: - app: productpage - service: productpage -spec: - ports: - - port: 80 - name: http - selector: - app: productpage ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: bookinfo-productpage - labels: - account: productpage ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: productpage-v1 - labels: - app: productpage - version: v1 -spec: - replicas: 1 - selector: - matchLabels: - app: productpage - version: v1 - template: - metadata: -# annotations: -# prometheus.io/scrape: "true" -# prometheus.io/port: "9080" -# prometheus.io/path: "/metrics" - labels: - app: productpage - version: v1 - spec: - serviceAccountName: bookinfo-productpage - containers: - - name: nginx - image: nginx:1.14.2 - ports: - - containerPort: 80 - volumes: - - name: tmp - emptyDir: {} \ No newline at end of file diff --git a/metallib/README.md b/metallib/README.md deleted file mode 100755 index 3113b58..0000000 --- a/metallib/README.md +++ /dev/null @@ -1,41 +0,0 @@ -[//]: # () -[//]: # (# https://levelup.gitconnected.com/step-by-step-slow-guide-kubernetes-cluster-on-raspberry-pi-4b-part-3-899fc270600e) - -[//]: # () -[//]: # () -[//]: # (kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/namespace.yaml) - -[//]: # (kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/metallb.yaml) - -[//]: # () -kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)" - - -https://metallb.universe.tf/installation/ - -https://metallb.universe.tf/configuration/_advanced_l2_configuration/ - -https://mvallim.github.io/kubernetes-under-the-hood/documentation/kube-metallb.html - - - -```sh -kubectl apply -f - << EOF -apiVersion: v1 -kind: ConfigMap -metadata: - namespace: metallb-system - name: config -data: - config: | - address-pools: - - name: default - protocol: layer2 - addresses: - - 192.168.1.50-192.168.1.130 -EOF -``` - - - -# https://github.com/metallb/metallb/blob/main/design/pool-configuration.md \ No newline at end of file diff --git a/nginx_ingress/README.md b/nginx_ingress/README.md deleted file mode 100755 index 953a7f8..0000000 --- a/nginx_ingress/README.md +++ /dev/null @@ -1,25 +0,0 @@ - -##### https://github.com/istio/istio/tree/master/samples - -```shell -$ kubectl get ingress -NAME CLASS HOSTS ADDRESS PORTS AGE -demo-localhost nginx demo.localdev.me 192.168.1.31 80 21h -$ curl 192.168.1.31 - -404 Not Found - -

404 Not Found

-
nginx
- - -$ curl 192.168.1.31 -HHOST:demo.localdev.me -

It works!

-``` - - -https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/ - -ingress-nginx - -https://docs.nginx.com/nginx-ingress-controller/ \ No newline at end of file diff --git a/nginx_ingress/example.yaml b/nginx_ingress/example.yaml deleted file mode 100755 index 2fb62c4..0000000 --- a/nginx_ingress/example.yaml +++ /dev/null @@ -1,61 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-deployment - #namespace: nginx-ingress-testing - labels: - environment: nginx-deployment -spec: - selector: - matchLabels: - name: nginx-service - replicas: 1 - template: - metadata: - labels: - name: nginx-service - spec: - containers: - - name: nginxo - image: nginx - ports: - - containerPort: 80 - name: http ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: ingress-myservicea - #namespace: nginx-ingress-testing -spec: - rules: - #- host: * - - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: nginx-deployment - port: - number: 80 - ingressClassName: nginx -#--- -#apiVersion: networking.k8s.io/v1 -#kind: Ingress -#metadata: -# name: ingress-myserviceb -# namespace: nginx-ingress-testing -#spec: -# rules: -# - host: myserviceb.foo.org -# http: -# paths: -# - path: / -# pathType: Prefix -# backend: -# service: -# name: myserviceb -# port: -# number: 80 -# ingressClassName: nginx \ No newline at end of file diff --git a/simple_nginx/README.md b/simple_nginx/README.md deleted file mode 100755 index 7d84f7b..0000000 --- a/simple_nginx/README.md +++ /dev/null @@ -1,14 +0,0 @@ -https://kubernetes.io/docs/concepts/services-networking/ingress/ - -https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/ - -https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/ - -https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service - -https://docs.openshift.com/container-platform/4.9/networking/metallb/metallb-configure-services.html - -https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/ - - -https://levelup.gitconnected.com/step-by-step-slow-guide-kubernetes-cluster-on-raspberry-pi-4b-part-3-899fc270600e \ No newline at end of file diff --git a/simple_nginx/chess.yaml b/simple_nginx/chess.yaml deleted file mode 100755 index 11de693..0000000 --- a/simple_nginx/chess.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-deployment - labels: - app: nginx -spec: - replicas: 3 - selector: - matchLabels: - app: nginx - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: nginx - image: nginx:1.14.2 - ports: - - containerPort: 80 \ No newline at end of file diff --git a/simple_nginx/ingress.yaml b/simple_nginx/ingress.yaml deleted file mode 100755 index c252270..0000000 --- a/simple_nginx/ingress.yaml +++ /dev/null @@ -1,46 +0,0 @@ -#apiVersion: v1 -#kind: Pod -#metadata: -# name: nginx -# labels: -# app.kubernetes.io/name: proxy -#spec: -# containers: -# - name: nginx -# image: nginx:stable -# ports: -# - containerPort: 80 -# name: http-web-svc ---- -apiVersion: v1 -kind: Service -metadata: - name: nginx-service -spec: - selector: - app.kubernetes.io/name: proxy - ports: - - name: name-of-service-port - protocol: TCP - port: 80 - targetPort: http-web-svc ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-service -spec: - selector: - matchLabels: - app: nginx-backend - replicas: 2 # tells deployment to run 2 pods matching the template - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: nginx - image: nginx:1.14.2 - ports: - - containerPort: 80 \ No newline at end of file diff --git a/simple_nginx/ingtest.yaml b/simple_nginx/ingtest.yaml deleted file mode 100755 index 784162a..0000000 --- a/simple_nginx/ingtest.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: ingress-resource-backend -spec: -# defaultBackend: -# resource: -# apiGroup: k8s.example.com -# kind: StorageBucket -# name: static-assets - rules: - - http: - paths: - - path: * -# pathType: ImplementationSpecific - backend: - resource: - apiGroup: k8s.example.com - kind: StorageBucket - name: icon-assets diff --git a/simple_nginx/nginx_backend.yaml b/simple_nginx/nginx_backend.yaml deleted file mode 100755 index b1c6b0b..0000000 --- a/simple_nginx/nginx_backend.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-deployment -spec: - selector: - matchLabels: - app: nginx-backend - replicas: 2 # tells deployment to run 2 pods matching the template - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: nginx - image: nginx:1.14.2 - ports: - - containerPort: 80 \ No newline at end of file