feat: add realtime codenames game
This commit is contained in:
44
deploy/k8s/deployment.yaml
Normal file
44
deploy/k8s/deployment.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: codenames
|
||||
labels:
|
||||
app: codenames
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: codenames
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: codenames
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: codenames-registry
|
||||
containers:
|
||||
- name: codenames
|
||||
image: git.dslan.at/zeugs/codenames:master
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 192Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health/liveness
|
||||
port: http
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 15
|
||||
Reference in New Issue
Block a user