mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
updates to rtorrent-flood chart (#67)
* updates to rtorrent-flood chart * trying to fix linting errors * resources should be set in values * add necessary resources stanza * revert livenessProbe for rtorrent container
This commit is contained in:
parent
32c21ea851
commit
dd686320ac
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: 1.0.0
|
appVersion: 1.0.0
|
||||||
description: rtorrent and flood co-located in the same deployment
|
description: rtorrent and flood co-located in the same deployment
|
||||||
name: rtorrent-flood
|
name: rtorrent-flood
|
||||||
version: 3.0.1
|
version: 3.1.1
|
||||||
keywords:
|
keywords:
|
||||||
- rtorrent
|
- rtorrent
|
||||||
- flood
|
- flood
|
||||||
@ -13,7 +13,6 @@ sources:
|
|||||||
- https://hub.docker.com/r/looselyrigorous/rtorrent
|
- https://hub.docker.com/r/looselyrigorous/rtorrent
|
||||||
- https://github.com/looselyrigorous/docker-rtorrent
|
- https://github.com/looselyrigorous/docker-rtorrent
|
||||||
- https://github.com/Flood-UI/flood
|
- https://github.com/Flood-UI/flood
|
||||||
- https://cloud.docker.com/repository/docker/billimek/flood
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: billimek
|
- name: billimek
|
||||||
email: jeff@billimek.com
|
email: jeff@billimek.com
|
||||||
|
@ -29,12 +29,16 @@ spec:
|
|||||||
- name: bt
|
- name: bt
|
||||||
containerPort: 49161
|
containerPort: 49161
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
tty: true
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: bt
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: bt
|
port: bt
|
||||||
livenessProbe:
|
periodSeconds: 10
|
||||||
tcpSocket:
|
successThreshold: 1
|
||||||
port: bt
|
failureThreshold: 3
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "{{ .Values.timezone }}"
|
value: "{{ .Values.timezone }}"
|
||||||
@ -56,6 +60,7 @@ spec:
|
|||||||
- mountPath: /socket
|
- mountPath: /socket
|
||||||
name: socket
|
name: socket
|
||||||
resources:
|
resources:
|
||||||
|
{{ toYaml .Values.rtorrent.resources | indent 12 }}
|
||||||
- name: {{ .Chart.Name }}-flood
|
- name: {{ .Chart.Name }}-flood
|
||||||
image: "{{ .Values.flood.image.repository }}:{{ .Values.flood.image.tag }}"
|
image: "{{ .Values.flood.image.repository }}:{{ .Values.flood.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.flood.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.flood.image.pullPolicy }}
|
||||||
@ -75,7 +80,7 @@ spec:
|
|||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 60
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
timeoutSeconds: 20
|
timeoutSeconds: 20
|
||||||
tty: true
|
# tty: true
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "{{ .Values.timezone }}"
|
value: "{{ .Values.timezone }}"
|
||||||
@ -92,7 +97,7 @@ spec:
|
|||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: socket
|
name: socket
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
{{ toYaml .Values.flood.resources | indent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
{{- if .Values.persistence.config.enabled }}
|
{{- if .Values.persistence.config.enabled }}
|
||||||
|
@ -19,13 +19,27 @@ rtorrent:
|
|||||||
repository: looselyrigorous/rtorrent
|
repository: looselyrigorous/rtorrent
|
||||||
tag: latest
|
tag: latest
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "50m"
|
||||||
|
memory: "50Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "1000m"
|
||||||
|
memory: "1Gi"
|
||||||
|
|
||||||
flood:
|
flood:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
repository: billimek/flood
|
repository: jfurrow/flood-ui
|
||||||
tag: latest
|
tag: latest
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "100Mi"
|
||||||
|
cpu: "10m"
|
||||||
|
limits:
|
||||||
|
memory: "250Mi"
|
||||||
|
cpu: "50m"
|
||||||
|
|
||||||
guiService:
|
guiService:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@ -118,18 +132,6 @@ persistence:
|
|||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
|
||||||
resources: {}
|
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
||||||
# limits:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
Loading…
Reference in New Issue
Block a user