-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy_test.sh
More file actions
executable file
·26 lines (21 loc) · 858 Bytes
/
deploy_test.sh
File metadata and controls
executable file
·26 lines (21 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
kubectl apply -f redis/redis-deployment.yaml
kubectl apply -f redis/redis-service.yaml
kubectl apply -f psql/psql-deployment.yaml
kubectl apply -f psql/psql-service.yaml
# kubectl apply -f nginx-deploy.yaml
sleep 5
kubectl apply -f rest-server/rest-deployment.yaml
kubectl apply -f rest-server/rest-service.yaml
kubectl apply -f rest-server/rest-ingress.yaml
sleep 5
kubectl apply -f socket/ss-deployment.yaml
kubectl apply -f socket/ss-service.yaml
# kubectl apply -f socket/ss-ingress.yaml
sleep 10
kubectl apply -f frontend/front-deployment.yaml
kubectl apply -f frontend/front-service.yaml
kubectl apply -f frontend/front-ingress.yaml
# sleep 5
# kubectl port-forward --address 0.0.0.0 service/frontend 4999:4999 &
# kubectl port-forward --address 0.0.0.0 service/rest 5000:5000 &
# # while true; do kubectl port-forward svc/socket 5001:5001&; done