Update
This commit is contained in:
34
kube-manifests/Prod/Backend/3 - deployment.yaml
Normal file
34
kube-manifests/Prod/Backend/3 - deployment.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: prod-mind-sos-dp
|
||||
namespace: prod-mind-sos-ns
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: prod-mind-sos-ap
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: prod-mind-sos-ap
|
||||
spec:
|
||||
containers:
|
||||
- name: prod-mind-sos-pd
|
||||
image: gitea.tars.tools/mind/help_center:latest
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
requests:
|
||||
memory: "500Mi"
|
||||
cpu: "250m"
|
||||
limits:
|
||||
memory: "500Mi"
|
||||
cpu: "250m"
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
imagePullSecrets:
|
||||
- name: mind-sos-gitea-img
|
||||
Reference in New Issue
Block a user