Skip to content
Snippets Groups Projects
Verified Commit b919bd3d authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

refactor(jellyfin): Rework structure to make kustomize more universal

parent fb9bcedf
No related branches found
No related tags found
No related merge requests found
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
patches:
- patch: |-
- op: add
path: /spec/template/spec/containers/0/resources/requests/amd.com~1gpu
value: 1
- op: add
path: /spec/template/spec/containers/0/resources/limits/amd.com~1gpu
value: 1
target:
group: apps
version: v1
kind: Deployment
\ No newline at end of file
......@@ -54,11 +54,9 @@ spec:
name: jellyfin-cache
resources:
requests:
amd.com/gpu: 1
memory: 2Gi
cpu: 100m
limits:
amd.com/gpu: 1
memory: 3.5Gi
cpu: "4"
securityContext:
......
......@@ -8,11 +8,3 @@ resources:
- pvc.yaml
- service.yaml
- serviceaccount.yaml
- ../../../shared/networkpolicies/deny-by-default-ingress.yaml
- ../../../shared/networkpolicies/deny-by-default-egress.yaml
- ../../../shared/networkpolicies/allow-from-ingress.yaml
- ../../../shared/networkpolicies/allow-to-public-web.yaml
patches:
- path: allow-from-ingress.patch.yaml
- path: allow-to-public-web.patch.yaml
......@@ -15,6 +15,10 @@ resources:
- slo.yaml
- jellyfin-token.yaml
- ../../../shared/resourcequotas/default.yaml
- ../../../shared/networkpolicies/deny-by-default-ingress.yaml
- ../../../shared/networkpolicies/deny-by-default-egress.yaml
- ../../../shared/networkpolicies/allow-from-ingress.yaml
- ../../../shared/networkpolicies/allow-to-public-web.yaml
patches:
- path: deployment.yaml
......@@ -23,6 +27,9 @@ patches:
group: apps
version: v1
name: jellyfin
- path: allow-from-ingress.patch.yaml
- path: allow-to-public-web.patch.yaml
components:
- jellyfin-pdb-mgr
\ No newline at end of file
- ../../base/jellyfin/amd-gpu
- ../../base/jellyfin/jellyfin-pdb-mgr
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment