diff --git a/k8s/applications/videohosting/templates/sts-linuxservices.yaml b/k8s/applications/videohosting/templates/sts-linuxservices.yaml index 9f36e06..5b978cd 100644 --- a/k8s/applications/videohosting/templates/sts-linuxservices.yaml +++ b/k8s/applications/videohosting/templates/sts-linuxservices.yaml @@ -34,6 +34,8 @@ spec: app: {{$k}} replicas: 1 revisionHistoryLimit: 2 + updateStrategy: + type: RollingUpdate volumeClaimTemplates: - metadata: finalizers: @@ -49,10 +51,6 @@ spec: labels: app: {{$k}} spec: - # securityContext: - # runAsUser: 1000 - # runAsGroup: 1000 - # fsGroup: 1000 containers: - name: {{$k}} image: "{{ $v.repo }}:{{ $v.tag }}" diff --git a/k8s/applications/videohosting/templates/sts-plex.yaml b/k8s/applications/videohosting/templates/sts-plex.yaml index 9468314..e28a85c 100644 --- a/k8s/applications/videohosting/templates/sts-plex.yaml +++ b/k8s/applications/videohosting/templates/sts-plex.yaml @@ -67,6 +67,8 @@ spec: app: plex replicas: 1 revisionHistoryLimit: 2 + updateStrategy: + type: RollingUpdate volumeClaimTemplates: - metadata: finalizers: @@ -97,6 +99,8 @@ spec: labels: app: plex spec: + nodeSelector: + homelab/type: highcapacity containers: - name: plex image: "{{ .Values.plex.repo }}:{{ .Values.plex.tag }}"