28 lines
541 B
YAML
28 lines
541 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: auth
|
|
labels:
|
|
app: auth
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: auth
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: auth
|
|
spec:
|
|
containers:
|
|
- image: {{ .Values.registry }}/suyiiyii/hertz101-auth:{{ .Values.tag }}
|
|
name: badger
|
|
resources:
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "200m"
|
|
restartPolicy: Always
|