Skip to content

Commit 28d85ab

Browse files
committed
Modify README.md
1 parent 43cb1e5 commit 28d85ab

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,4 @@ React 19 + Vite + Tailwind frontend for DGU AI Lab.
3737
kubectl apply -f k8s/ingress.yaml
3838
kubectl rollout status deployment/ailab-frontend -n ailab-frontend
3939
```
40-
41-
## Migrate to Another Kubernetes Cluster
42-
1) Switch context: `kubectl config use-context <new-cluster>`; ensure the NGINX ingress class or host matches the new setup (edit `k8s/ingress.yaml` as needed).
43-
2) Push the image to a registry the new cluster can pull from; update `k8s/deployment.yaml` `image:` (and add an `imagePullSecret` if the registry is private).
44-
3) Update env values (e.g., `VITE_API_BASE_URL`) to point at the backend reachable from the new cluster, rebuild, and push the image.
45-
4) Apply manifests: `kubectl apply -f k8s/namespace.yaml && kubectl apply -f k8s`.
46-
5) Verify: `kubectl rollout status deployment/ailab-frontend -n ailab-frontend` and check ingress/service reachability.
40+
Or deploy through `./deploy.sh`

0 commit comments

Comments
 (0)