chore: Add Kubernetes resources for API and client deployments, services, and ingress

This commit is contained in:
2024-08-11 22:17:25 +08:00
parent 69ab87e4ed
commit 1f0b71fab1
8 changed files with 121 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# test stack
```bash
k create ns test
kubectl config set-context --current --namespace=test
k apply -f api-deployment.yaml -f client-deployment.yaml
k apply -f database-persistent-volume-claim.yaml
k apply -f api-cluster-ip-service.yaml
k apply -f client-cluster-ip-deployment.yaml
k apply -f postgres-cluster-ip-service.yaml
k apply -f ingress-service.yaml
```