mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 22:40:34 +00:00
Update Submariner Engine to a DaemonSet
Currently, the Submariner Engine is a deployment with nodeSelector (for submariner.io/gateway=true). It is seen that when the label is removed from the node after SM engine is deployed, SM engine continues to run on that node. This behavior is not in Sync with the DaemonSet (used by GlobalnetController) behavior where the POD is immediately terminated when the label is removed from the node. This PR updates SM engine as DaemonSet so that we have consistent behavior between the SM Engine POD and GlobalnetController POD. Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
labels:
|
||||
heritage: {{ .Release.Service | quote }}
|
||||
@@ -9,16 +9,13 @@ metadata:
|
||||
component: engine
|
||||
name: {{ template "submariner.fullname" . }}
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 5
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "submariner.fullname" . }}-engine
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
maxUnavailable: 1
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user