Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ kind: DaemonSet
metadata:
name: ydb-disk-manager
labels:
helm.sh/chart: ydb-disk-manager-0.2.5
helm.sh/chart: ydb-disk-manager-0.2.8
app.kubernetes.io/name: ydb-disk-manager
app.kubernetes.io/instance: ydb-disk-manager
app.kubernetes.io/version: "0.2.5"
app.kubernetes.io/version: "0.2.8"
app.kubernetes.io/managed-by: Helm
spec:
updateStrategy:
rollingUpdate:
maxUnavailable: 10%
type: RollingUpdate
selector:
matchLabels:
app.kubernetes.io/name: ydb-disk-manager
Expand All @@ -37,14 +41,14 @@ spec:
- name: ydb-disk-manager
securityContext:
privileged: true
image: "cr.yandex/crpl7ipeu79oseqhcgn2/ydb-disk-manager:0.2.5"
image: "cr.yandex/crpl7ipeu79oseqhcgn2/ydb-disk-manager:0.2.8"
imagePullPolicy: IfNotPresent
resources:
limits:
memory: 50Mi
memory: 128Mi
requests:
cpu: 50m
memory: 10Mi
cpu: 100m
memory: 128Mi
env:
- name: DP_DISABLE_PRE_START_CONTAINER
value: "true"
Expand Down
4 changes: 2 additions & 2 deletions helm/ydb-disk-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: ydb-disk-manager

type: application

version: 0.2.7
appVersion: 0.2.7
version: 0.2.8
appVersion: 0.2.8
6 changes: 6 additions & 0 deletions helm/ydb-disk-manager/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ metadata:
labels:
{{- include "ydb-disk-manager.labels" . | nindent 4 }}
spec:
updateStrategy:
{{- if eq .Values.updateStrategy "RollingUpdate" }}
rollingUpdate:
maxUnavailable: {{ .Values.maxUnavailable }}
{{- end }}
type: {{ .Values.updateStrategy }}
selector:
matchLabels:
{{- include "ydb-disk-manager.selectorLabels" . | nindent 6 }}
Expand Down
9 changes: 6 additions & 3 deletions helm/ydb-disk-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ image:
repository: "cr.yandex/crpl7ipeu79oseqhcgn2/ydb-disk-manager"
pullPolicy: "IfNotPresent"

updateStrategy: "RollingUpdate"
maxUnavailable: "10%"

imagePullSecrets: []
args: []
env:
Expand All @@ -10,10 +13,10 @@ env:

resources:
limits:
memory: 50Mi
memory: 128Mi
requests:
cpu: 50m
memory: 10Mi
cpu: 100m
memory: 128Mi

securityContext:
privileged: true
Expand Down