Merge pull request #13 from sridhargaddam/update-sm-engine-as-ds

Update Submariner Engine to a DaemonSet
This commit is contained in:
Miguel Angel Ajo Pelayo
2020-01-28 16:21:14 +01:00
committed by GitHub
+2 -5
View File
@@ -1,5 +1,5 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: DaemonSet
metadata: metadata:
labels: labels:
heritage: {{ .Release.Service | quote }} heritage: {{ .Release.Service | quote }}
@@ -9,16 +9,13 @@ metadata:
component: engine component: engine
name: {{ template "submariner.fullname" . }} name: {{ template "submariner.fullname" . }}
spec: spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 5 revisionHistoryLimit: 5
selector: selector:
matchLabels: matchLabels:
app: {{ template "submariner.fullname" . }}-engine app: {{ template "submariner.fullname" . }}-engine
strategy: strategy:
rollingUpdate: rollingUpdate:
maxSurge: 1 maxUnavailable: 1
maxUnavailable: 0
type: RollingUpdate type: RollingUpdate
template: template:
metadata: metadata: