35 lines
746 B
YAML
35 lines
746 B
YAML
|
---
|
||
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: fider
|
||
|
spec:
|
||
|
replicas: 2
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app.kubernetes.io/name: fider
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: fider
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: fider
|
||
|
image: docker.io/getfider/fider:stable
|
||
|
ports:
|
||
|
- containerPort: 3000
|
||
|
protocol: TCP
|
||
|
name: web
|
||
|
envFrom:
|
||
|
- secretRef:
|
||
|
name: fider-base-config
|
||
|
- secretRef:
|
||
|
name: fider-secret-config
|
||
|
resources:
|
||
|
limits:
|
||
|
cpu: 200m
|
||
|
memory: 200Mi
|
||
|
requests:
|
||
|
cpu: 50m
|
||
|
memory: 50Mi
|