From d4037c7218eacee426a369e78ea9e4cbc668fcca Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Tue, 13 Aug 2024 21:24:06 +0800 Subject: [PATCH] refactor: Update API deployment and service names to match component name change --- .../api-cluster-ip-service.yaml | 0 cluster/{test => nginx_ingress_test}/api-deployment.yaml | 0 .../client-cluster-ip-deployment.yaml | 0 .../{test => nginx_ingress_test}/client-deployment.yaml | 0 .../database-persistent-volume-claim.yaml | 0 cluster/{test => nginx_ingress_test}/ingress-service.yaml | 0 .../postgres-cluster-ip-service.yaml | 0 .../{test => nginx_ingress_test}/postgres-deployment.yaml | 0 cluster/{test => nginx_ingress_test}/readme.md | 8 ++++---- 9 files changed, 4 insertions(+), 4 deletions(-) rename cluster/{test => nginx_ingress_test}/api-cluster-ip-service.yaml (100%) rename cluster/{test => nginx_ingress_test}/api-deployment.yaml (100%) rename cluster/{test => nginx_ingress_test}/client-cluster-ip-deployment.yaml (100%) rename cluster/{test => nginx_ingress_test}/client-deployment.yaml (100%) rename cluster/{test => nginx_ingress_test}/database-persistent-volume-claim.yaml (100%) rename cluster/{test => nginx_ingress_test}/ingress-service.yaml (100%) rename cluster/{test => nginx_ingress_test}/postgres-cluster-ip-service.yaml (100%) rename cluster/{test => nginx_ingress_test}/postgres-deployment.yaml (100%) rename cluster/{test => nginx_ingress_test}/readme.md (83%) diff --git a/cluster/test/api-cluster-ip-service.yaml b/cluster/nginx_ingress_test/api-cluster-ip-service.yaml similarity index 100% rename from cluster/test/api-cluster-ip-service.yaml rename to cluster/nginx_ingress_test/api-cluster-ip-service.yaml diff --git a/cluster/test/api-deployment.yaml b/cluster/nginx_ingress_test/api-deployment.yaml similarity index 100% rename from cluster/test/api-deployment.yaml rename to cluster/nginx_ingress_test/api-deployment.yaml diff --git a/cluster/test/client-cluster-ip-deployment.yaml b/cluster/nginx_ingress_test/client-cluster-ip-deployment.yaml similarity index 100% rename from cluster/test/client-cluster-ip-deployment.yaml rename to cluster/nginx_ingress_test/client-cluster-ip-deployment.yaml diff --git a/cluster/test/client-deployment.yaml b/cluster/nginx_ingress_test/client-deployment.yaml similarity index 100% rename from cluster/test/client-deployment.yaml rename to cluster/nginx_ingress_test/client-deployment.yaml diff --git a/cluster/test/database-persistent-volume-claim.yaml b/cluster/nginx_ingress_test/database-persistent-volume-claim.yaml similarity index 100% rename from cluster/test/database-persistent-volume-claim.yaml rename to cluster/nginx_ingress_test/database-persistent-volume-claim.yaml diff --git a/cluster/test/ingress-service.yaml b/cluster/nginx_ingress_test/ingress-service.yaml similarity index 100% rename from cluster/test/ingress-service.yaml rename to cluster/nginx_ingress_test/ingress-service.yaml diff --git a/cluster/test/postgres-cluster-ip-service.yaml b/cluster/nginx_ingress_test/postgres-cluster-ip-service.yaml similarity index 100% rename from cluster/test/postgres-cluster-ip-service.yaml rename to cluster/nginx_ingress_test/postgres-cluster-ip-service.yaml diff --git a/cluster/test/postgres-deployment.yaml b/cluster/nginx_ingress_test/postgres-deployment.yaml similarity index 100% rename from cluster/test/postgres-deployment.yaml rename to cluster/nginx_ingress_test/postgres-deployment.yaml diff --git a/cluster/test/readme.md b/cluster/nginx_ingress_test/readme.md similarity index 83% rename from cluster/test/readme.md rename to cluster/nginx_ingress_test/readme.md index ddbd6b2..e0edcf8 100644 --- a/cluster/test/readme.md +++ b/cluster/nginx_ingress_test/readme.md @@ -1,9 +1,9 @@ -# test stack +# nginx_ingress_test stack ```bash minikube start -k create ns test -kubectl config set-context --current --namespace=test +k create ns nginx_ingress_test +kubectl config set-context --current --namespace=nginx_ingress_test # kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml helm upgrade --install ingress-nginx ingress-nginx \ @@ -11,7 +11,7 @@ helm upgrade --install ingress-nginx ingress-nginx \ --namespace ingress-nginx --create-namespace minikube addons enable ingress -k apply -f test +k apply -f nginx_ingress_test minikube ip minikube tunnel