-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathdeployment.yaml
More file actions
34 lines (34 loc) · 948 Bytes
/
deployment.yaml
File metadata and controls
34 lines (34 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "ceph.fullname" . }}
labels:
app: {{ template "ceph.name" . }}
chart: {{ template "ceph.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ template "ceph.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ template "ceph.name" . }}
release: {{ .Release.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.ceph.image.repository }}:{{ .Values.ceph.image.tag }}"
imagePullPolicy: {{ .Values.ceph.image.pullPolicy }}
ports:
- containerPort: {{ .Values.ceph.service.internalPort }}
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: 500m
memory: 1Gi