35 lines
713 B
YAML
35 lines
713 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
namespace: huly
|
|
labels:
|
|
app: rekoni
|
|
name: rekoni
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: rekoni
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: rekoni
|
|
spec:
|
|
containers:
|
|
- image: hardcoreeng/rekoni-service:v0.6.471
|
|
name: rekoni
|
|
env:
|
|
- name: SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: huly-secret
|
|
key: SERVER_SECRET
|
|
ports:
|
|
- containerPort: 4004
|
|
hostPort: 4004
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
memory: "500M"
|
|
restartPolicy: Always
|