feat: add lolympus tournament support manifests

This commit is contained in:
dahyeon committed 2026-06-07 04:13:23 +09:00
1 parent 80b9341308
commit 5b643bf4e6
14 files changed
+239 -2

No files matched your search

@@ -0,0 +1,61 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: lolympus-tournament-support
labels:
app.kubernetes.io/component: api
spec:
selector:
matchLabels:
app.kubernetes.io/name: lolympus-tournament-support
app.kubernetes.io/component: api
template:
metadata:
labels:
app.kubernetes.io/name: lolympus-tournament-support
app.kubernetes.io/component: api
spec:
serviceAccountName: lolympus-tournament-support
automountServiceAccountToken: false
imagePullSecrets:
- name: harbor-registry
containers:
- name: app
image: registry.dahyeon.us/lolympus/lolympus-tournament-support
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: PORT
value: "8080"
envFrom:
- configMapRef:
name: lolympus-tournament-support-config
optional: true
- secretRef:
name: lolympus-tournament-support-secrets
optional: true
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 15
periodSeconds: 20
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
- serviceaccount.yaml
commonLabels:
app.kubernetes.io/name: lolympus-tournament-support
app.kubernetes.io/part-of: lolympus
app.kubernetes.io/managed-by: kustomize
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: lolympus-tournament-support
labels:
app.kubernetes.io/component: api
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: lolympus-tournament-support
app.kubernetes.io/component: api
ports:
- name: http
port: 80
targetPort: http
protocol: TCP
@@ -0,0 +1,6 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: lolympus-tournament-support
labels:
app.kubernetes.io/component: api