Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add seeya server #160

Merged
merged 8 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ apps/wacruit-prod/ @wafflestudio/waffledotcom-backend
apps/pupuri-prod/ @wafflestudio/pupuri
apps/ggzz-dev/ @wafflestudio/ggzz
apps/k8s-monitoring/ @PFCJeong
apps/seeya/ @minkyu97 @esc5221
71 changes: 71 additions & 0 deletions apps/seeya/seeya-server/seeya-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: seeya-server
labels:
app: seeya-server
namespace: seeya
spec:
replicas: 1
selector:
matchLabels:
app: seeya-server
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
revisionHistoryLimit: 4
template:
metadata:
labels:
app: seeya-server
spec:
nodeSelector:
phase: dev
tolerations:
- effect: NoSchedule
key: phase
operator: Equal
value: dev
containers:
- image: 405906814034.dkr.ecr.ap-northeast-2.amazonaws.com/seeya/seeya-server:1
name: seeya-server
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 200m
memory: 256Mi
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
namespace: seeya
name: seeya-server
spec:
type: ClusterIP
selector:
app: seeya-server
ports:
- port: 80
targetPort: 8080
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
namespace: seeya
name: seeya-server
spec:
gateways:
- istio-ingress/waffle-ingressgateway
- mesh
hosts:
- seeya-api.wafflestudio.com
http:
- route:
- destination:
host: seeya-server