Loading rucio-daemons/templates/reaper.yamldeleted 100644 → 0 +0 −123 Original line number Diff line number Diff line {{- if gt .Values.reaperCount 0.0 -}} apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }}-reaper labels: app: {{ template "rucio.name" . }} chart: {{ template "rucio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: replicas: {{ .Values.reaperCount }} selector: matchLabels: app: {{ template "rucio.name" . }} release: {{ .Release.Name }} strategy: type: {{ .Values.strategy.type }} {{- if eq .Values.strategy.type "RollingUpdate" }} {{- with .Values.strategy.rollingUpdate }} rollingUpdate: {{ toYaml . | trim | indent 6 }} {{- end }} {{- end }} minReadySeconds: {{ .Values.minReadySeconds }} template: metadata: labels: app: {{ template "rucio.name" . }} release: {{ .Release.Name }} rucio-daemon: reaper {{- with .Values.podLabels }} {{- toYaml . | nindent 8 }} {{- end }} {{- if or .Values.podAnnotations .Values.reaper.podAnnotations}} annotations: {{- end }} {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.reaper.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} spec: {{- if .Values.serviceAccountName }} serviceAccountName: {{ .Values.serviceAccountName }} {{- end }} volumes: - name: proxy-volume secret: secretName: {{ .Release.Name }}-rucio-x509up - name: ca-volume secret: secretName: {{ .Release.Name }}-rucio-ca-bundle-reaper {{- range $key, $val := .Values.additionalSecrets }} - name: {{ $key }} secret: secretName: {{ $.Release.Name }}-{{ $val.secretName }} {{- end}} {{- range $key, $val := .Values.persistentVolumes }} - name: {{ $key }} persistentVolumeClaim: claimName: {{ $val.name }} {{- end}} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} volumeMounts: - name: proxy-volume mountPath: /opt/proxy - name: ca-volume mountPath: /etc/grid-security/certificates {{- range $key, $val := .Values.additionalSecrets }} - name: {{ $key }} mountPath: {{ $val.mountPath }} subPath: {{ $val.subPath }} {{- end}} {{- range $key, $val := .Values.persistentVolumes }} - name: {{ $key }} mountPath: {{ $val.mountPath }} {{- end}} env: {{- range $key1, $val1 := .Values.config }} {{- range $key2, $val2 := $val1}} - name: RUCIO_CFG_{{ $key1 | upper }}_{{ $key2 | upper }} valueFrom: secretKeyRef: name: {{ template "rucio.fullname" $ }}.cfg key: {{ $key1 }}_{{ $key2 }} {{- end}} {{- end}} {{- range $key1, $val1 := .Values.optional_config }} - name: {{ $key1 | upper }} value: "{{ $val1 }}" {{- end}} - name: RUCIO_DAEMON value: "reaper" - name: RUCIO_DAEMON_ARGS value: '{{ if .Values.reaper.greedy }} --greedy {{ end }} --total-workers {{ .Values.reaper.workers }} --threads-per-worker {{ .Values.reaper.threadsPerWorker }} {{ if .Values.reaper.scheme }}--scheme {{ .Values.reaper.scheme }}{{ end }}{{ if .Values.reaper.includeRses }} --include-rses="{{ .Values.reaper.includeRses }}"{{ end }}{{ if .Values.reaper.rses }} --rses {{ .Values.reaper.rses }}{{ end }}' - name: GLOBUS_THREAD_MODEL value: "pthread" - name: RUCIO_HOME value: "/opt/rucio/reaper" - name: X509_USER_PROXY value: "/opt/proxy/x509up" {{- with .Values.reaper.resources }} resources: {{ toYaml . | trim | indent 12 }} {{ end }} {{- with .Values.reaper.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} {{- end }} {{- with .Values.reaper.affinity }} affinity: {{ toYaml . | indent 8 }} {{- end }} {{- with .Values.reaper.tolerations }} tolerations: {{ toYaml . | indent 8 }} {{- end }} {{ end }} rucio-daemons/values.yaml +0 −16 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ judgeInjectorCount: 0 judgeRepairerCount: 0 oauthManagerCount: 0 undertakerCount: 0 reaperCount: 0 reaper2Count: 0 transmogrifierCount: 0 tracerKronosCount: 0 Loading Loading @@ -278,21 +277,6 @@ undertaker: memory: "200Mi" cpu: "700m" reaper: greedy: 0 scheme: "" workers: 1 threadsPerWorker: 4 includeRses: "" podAnnotations: {} resources: limits: memory: "200Mi" cpu: "700m" requests: memory: "200Mi" cpu: "700m" reaper2: greedy: 0 scheme: "" Loading Loading
rucio-daemons/templates/reaper.yamldeleted 100644 → 0 +0 −123 Original line number Diff line number Diff line {{- if gt .Values.reaperCount 0.0 -}} apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }}-reaper labels: app: {{ template "rucio.name" . }} chart: {{ template "rucio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: replicas: {{ .Values.reaperCount }} selector: matchLabels: app: {{ template "rucio.name" . }} release: {{ .Release.Name }} strategy: type: {{ .Values.strategy.type }} {{- if eq .Values.strategy.type "RollingUpdate" }} {{- with .Values.strategy.rollingUpdate }} rollingUpdate: {{ toYaml . | trim | indent 6 }} {{- end }} {{- end }} minReadySeconds: {{ .Values.minReadySeconds }} template: metadata: labels: app: {{ template "rucio.name" . }} release: {{ .Release.Name }} rucio-daemon: reaper {{- with .Values.podLabels }} {{- toYaml . | nindent 8 }} {{- end }} {{- if or .Values.podAnnotations .Values.reaper.podAnnotations}} annotations: {{- end }} {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.reaper.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} spec: {{- if .Values.serviceAccountName }} serviceAccountName: {{ .Values.serviceAccountName }} {{- end }} volumes: - name: proxy-volume secret: secretName: {{ .Release.Name }}-rucio-x509up - name: ca-volume secret: secretName: {{ .Release.Name }}-rucio-ca-bundle-reaper {{- range $key, $val := .Values.additionalSecrets }} - name: {{ $key }} secret: secretName: {{ $.Release.Name }}-{{ $val.secretName }} {{- end}} {{- range $key, $val := .Values.persistentVolumes }} - name: {{ $key }} persistentVolumeClaim: claimName: {{ $val.name }} {{- end}} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} volumeMounts: - name: proxy-volume mountPath: /opt/proxy - name: ca-volume mountPath: /etc/grid-security/certificates {{- range $key, $val := .Values.additionalSecrets }} - name: {{ $key }} mountPath: {{ $val.mountPath }} subPath: {{ $val.subPath }} {{- end}} {{- range $key, $val := .Values.persistentVolumes }} - name: {{ $key }} mountPath: {{ $val.mountPath }} {{- end}} env: {{- range $key1, $val1 := .Values.config }} {{- range $key2, $val2 := $val1}} - name: RUCIO_CFG_{{ $key1 | upper }}_{{ $key2 | upper }} valueFrom: secretKeyRef: name: {{ template "rucio.fullname" $ }}.cfg key: {{ $key1 }}_{{ $key2 }} {{- end}} {{- end}} {{- range $key1, $val1 := .Values.optional_config }} - name: {{ $key1 | upper }} value: "{{ $val1 }}" {{- end}} - name: RUCIO_DAEMON value: "reaper" - name: RUCIO_DAEMON_ARGS value: '{{ if .Values.reaper.greedy }} --greedy {{ end }} --total-workers {{ .Values.reaper.workers }} --threads-per-worker {{ .Values.reaper.threadsPerWorker }} {{ if .Values.reaper.scheme }}--scheme {{ .Values.reaper.scheme }}{{ end }}{{ if .Values.reaper.includeRses }} --include-rses="{{ .Values.reaper.includeRses }}"{{ end }}{{ if .Values.reaper.rses }} --rses {{ .Values.reaper.rses }}{{ end }}' - name: GLOBUS_THREAD_MODEL value: "pthread" - name: RUCIO_HOME value: "/opt/rucio/reaper" - name: X509_USER_PROXY value: "/opt/proxy/x509up" {{- with .Values.reaper.resources }} resources: {{ toYaml . | trim | indent 12 }} {{ end }} {{- with .Values.reaper.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} {{- end }} {{- with .Values.reaper.affinity }} affinity: {{ toYaml . | indent 8 }} {{- end }} {{- with .Values.reaper.tolerations }} tolerations: {{ toYaml . | indent 8 }} {{- end }} {{ end }}
rucio-daemons/values.yaml +0 −16 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ judgeInjectorCount: 0 judgeRepairerCount: 0 oauthManagerCount: 0 undertakerCount: 0 reaperCount: 0 reaper2Count: 0 transmogrifierCount: 0 tracerKronosCount: 0 Loading Loading @@ -278,21 +277,6 @@ undertaker: memory: "200Mi" cpu: "700m" reaper: greedy: 0 scheme: "" workers: 1 threadsPerWorker: 4 includeRses: "" podAnnotations: {} resources: limits: memory: "200Mi" cpu: "700m" requests: memory: "200Mi" cpu: "700m" reaper2: greedy: 0 scheme: "" Loading