You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shared cluster config is in **`deployment/`**; website and backend each have their own **`deployment/`** (manifests + scripts). See **[deployment/README.md](deployment/README.md)** for layout and backend prerequisites.
Shared cluster config and scripts for java-swing-tutor. **Cluster-only** setup lives here; website and backend are deployed from their own **`deployment/`** folders.
4
+
5
+
## What’s here (common)
6
+
7
+
-**namespace.yaml**, **configmap.yaml**, **secrets.yaml** – shared for namespace `java-swing-tutor`
8
+
-**ingress/** – Traefik IngressRoute, Let’s Encrypt, middlewares; api-ingress.yaml (optional standard Ingress for API)
9
+
-**scripts/k3s/deploy-to-k3s.sh** – prepare cluster only (namespace, registry secret, ConfigMap, Secrets, Traefik). Does **not** deploy website or backend.
10
+
-**scripts/k3s/install-k3s.sh**, **setup-env.sh** – k3s install and env checks
1. Set env: `DOCKERHUB_USERNAME`, `DOCKERHUB_TOKEN`, `K3S_SERVER_IP`, `K3S_SSH_USER`; for backend: `JAVA_SWING_TUTOR_DB_PASSWORD` etc. (see **scripts/k3s/setup-env.sh**).
0 commit comments