Skip to content

Commit

Permalink
chore: openvidu 다시 배포
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Yeji committed Nov 1, 2024
1 parent 44cf79b commit f4be569
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 96 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/deploy_msa_k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,4 @@ jobs:
- name: eks kubectl apply
run: |
kubectl apply -f ./backend/apigateway/k8s/apigateway-depl.yml
kubectl rollout restart deployment apigateway-deployment
# openvidu
- name: eks kubectl apply
run: |
kubectl apply -f ./k8s/openvidu-depl.yml
kubectl apply -f ./k8s/openvidu-service.yml
kubectl rollout restart deployment openvidu-deployment
kubectl rollout restart deployment apigateway-deployment
37 changes: 13 additions & 24 deletions k8s/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,21 @@ metadata:
name: inong-ingress
annotations:
kubernetes.io/ingress.class: nginx
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
# # nginx.ingress.kubernetes.io/rewrite-target: /$1 # api-gateway에서 라우팅하므로 이부부은 주석 처리 되어야한다.
nginx.ingress.kubernetes.io/websocket-services: "openvidu-service" # 웹소켓 지원
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
# 아래 tls 부분을 추가!
tls:
- hosts:
- "api.inong.shop"
secretName: inong-com-tls
- hosts:
- "api.inong.shop"
secretName: inong-com-tls
rules:
- host: api.inong.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: apigateway-service
port:
number: 80 # 서비스 포트를 적어 줘야 한다.
- path: /openvidu
pathType: Prefix
backend:
service:
name: openvidu-service
port:
number: 4443
- host: api.inong.shop
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: apigateway-service
port:
number: 80 # 서비스 포트를 적어 줘야 한다.
49 changes: 0 additions & 49 deletions k8s/openvidu-depl.yml

This file was deleted.

15 changes: 0 additions & 15 deletions k8s/openvidu-service.yml

This file was deleted.

0 comments on commit f4be569

Please sign in to comment.