| @ -0,0 +1,23 @@ | |||||
| # Patterns to ignore when building packages. | |||||
| # This supports shell glob matching, relative path matching, and | |||||
| # negation (prefixed with !). Only one pattern per line. | |||||
| .DS_Store | |||||
| # Common VCS dirs | |||||
| .git/ | |||||
| .gitignore | |||||
| .bzr/ | |||||
| .bzrignore | |||||
| .hg/ | |||||
| .hgignore | |||||
| .svn/ | |||||
| # Common backup files | |||||
| *.swp | |||||
| *.bak | |||||
| *.tmp | |||||
| *.orig | |||||
| *~ | |||||
| # Various IDEs | |||||
| .project | |||||
| .idea/ | |||||
| *.tmproj | |||||
| .vscode/ | |||||
| @ -0,0 +1,24 @@ | |||||
| apiVersion: v2 | |||||
| name: jellyfin-chart | |||||
| description: A Helm chart for Kubernetes | |||||
| # A chart can be either an 'application' or a 'library' chart. | |||||
| # | |||||
| # Application charts are a collection of templates that can be packaged into versioned archives | |||||
| # to be deployed. | |||||
| # | |||||
| # Library charts provide useful utilities or functions for the chart developer. They're included as | |||||
| # a dependency of application charts to inject those utilities and functions into the rendering | |||||
| # pipeline. Library charts do not define any templates and therefore cannot be deployed. | |||||
| type: application | |||||
| # This is the chart version. This version number should be incremented each time you make changes | |||||
| # to the chart and its templates, including the app version. | |||||
| # Versions are expected to follow Semantic Versioning (https://semver.org/) | |||||
| version: 0.1.0 | |||||
| # This is the version number of the application being deployed. This version number should be | |||||
| # incremented each time you make changes to the application. Versions are not expected to | |||||
| # follow Semantic Versioning. They should reflect the version the application is using. | |||||
| # It is recommended to use it with quotes. | |||||
| appVersion: "1.16.0" | |||||
| @ -0,0 +1,12 @@ | |||||
| # los pv | |||||
| kubectl create -f pv-local-jellyfin-cache.yaml | |||||
| kubectl create -f pv-local-jellyfin-config.yaml | |||||
| kubectl create -f pv-local-jellyfin-media2.yaml | |||||
| kubectl create -f pv-local-jellyfin-media.yaml | |||||
| # las pvc | |||||
| kubectl create -f jellyfin-cache-persistentvolumeclaim.yaml | |||||
| kubectl create -f jellyfin-config-persistentvolumeclaim.yaml | |||||
| kubectl create -f jellyfin-media2-persistentvolumeclaim.yaml | |||||
| kubectl create -f jellyfin-media-persistentvolumeclaim.yaml | |||||
| # el deployment | |||||
| kubectl create -f jellyfin-deployment.yaml | |||||
| @ -0,0 +1,12 @@ | |||||
| # el deployment | |||||
| kubectl delete -f jellyfin-deployment.yaml | |||||
| # las pvc | |||||
| kubectl delete -f jellyfin-cache-persistentvolumeclaim.yaml | |||||
| kubectl delete -f jellyfin-config-persistentvolumeclaim.yaml | |||||
| kubectl delete -f jellyfin-media2-persistentvolumeclaim.yaml | |||||
| kubectl delete -f jellyfin-media-persistentvolumeclaim.yaml | |||||
| # los pv | |||||
| kubectl delete -f pv-local-jellyfin-cache.yaml | |||||
| kubectl delete -f pv-local-jellyfin-config.yaml | |||||
| kubectl delete -f pv-local-jellyfin-media2.yaml | |||||
| kubectl delete -f pv-local-jellyfin-media.yaml | |||||
| @ -0,0 +1,15 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-cache | |||||
| name: jellyfin-cache | |||||
| namespace: jellyfin | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| resources: | |||||
| requests: | |||||
| storage: 150Mi | |||||
| status: {} | |||||
| @ -0,0 +1,15 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-config | |||||
| name: jellyfin-config | |||||
| namespace: jellyfin | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| resources: | |||||
| requests: | |||||
| storage: 100Mi | |||||
| status: {} | |||||
| @ -0,0 +1,61 @@ | |||||
| apiVersion: apps/v1 | |||||
| kind: Deployment | |||||
| metadata: | |||||
| annotations: | |||||
| kompose.cmd: kompose convert | |||||
| kompose.version: 1.26.0 (40646f47) | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin | |||||
| name: jellyfin | |||||
| namespace: jellyfin | |||||
| spec: | |||||
| replicas: 1 | |||||
| selector: | |||||
| matchLabels: | |||||
| io.kompose.service: jellyfin | |||||
| strategy: | |||||
| type: Recreate | |||||
| template: | |||||
| metadata: | |||||
| annotations: | |||||
| kompose.cmd: kompose convert | |||||
| kompose.version: 1.26.0 (40646f47) | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin | |||||
| spec: | |||||
| hostNetwork: true | |||||
| containers: | |||||
| - image: jellyfin/jellyfin | |||||
| name: jellyfin | |||||
| ports: | |||||
| - containerPort: 8096 | |||||
| name: jellyfin | |||||
| resources: {} | |||||
| volumeMounts: | |||||
| - mountPath: /config | |||||
| name: jellyfin-config | |||||
| - mountPath: /cache | |||||
| name: jellyfin-cache | |||||
| - mountPath: /media | |||||
| name: jellyfin-media | |||||
| - mountPath: /media2 | |||||
| name: jellyfin-media2 | |||||
| readOnly: true | |||||
| restartPolicy: Always | |||||
| volumes: | |||||
| - name: jellyfin-config | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-config | |||||
| - name: jellyfin-cache | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-cache | |||||
| - name: jellyfin-media | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-media | |||||
| - name: jellyfin-media2 | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-media2 | |||||
| readOnly: true | |||||
| status: {} | |||||
| @ -0,0 +1,15 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-media | |||||
| name: jellyfin-media | |||||
| namespace: jellyfin | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| resources: | |||||
| requests: | |||||
| storage: 20Gi | |||||
| status: {} | |||||
| @ -0,0 +1,15 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-media2 | |||||
| name: jellyfin-media2 | |||||
| namespace: jellyfin | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadOnlyMany | |||||
| resources: | |||||
| requests: | |||||
| storage: 10Gi | |||||
| status: {} | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolume | |||||
| metadata: | |||||
| name: jellyfin-cache-folder | |||||
| labels: | |||||
| app: jellyfin | |||||
| spec: | |||||
| capacity: | |||||
| storage: 150Mi | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| hostPath: | |||||
| path: "/mnt/Externo/jellyfin/cache" | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolume | |||||
| metadata: | |||||
| name: jellyfin-config-folder | |||||
| labels: | |||||
| app: jellyfin | |||||
| spec: | |||||
| capacity: | |||||
| storage: 100Mi | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| hostPath: | |||||
| path: "/mnt/Externo/jellyfin/config" | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolume | |||||
| metadata: | |||||
| name: jellyfin-media-folder | |||||
| labels: | |||||
| app: jellyfin | |||||
| spec: | |||||
| capacity: | |||||
| storage: 20Gi | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| hostPath: | |||||
| path: "/mnt/Externo/jellyfin/media" | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolume | |||||
| metadata: | |||||
| name: jellyfin-media2-folder | |||||
| labels: | |||||
| app: jellyfin | |||||
| spec: | |||||
| capacity: | |||||
| storage: 10Gi | |||||
| accessModes: | |||||
| - ReadOnlyMany | |||||
| hostPath: | |||||
| path: "/mnt/Externo/jellyfin/media2" | |||||
| @ -0,0 +1,82 @@ | |||||
| # Default values for jellyfin-chart. | |||||
| # This is a YAML-formatted file. | |||||
| # Declare variables to be passed into your templates. | |||||
| replicaCount: 1 | |||||
| image: | |||||
| repository: nginx | |||||
| pullPolicy: IfNotPresent | |||||
| # Overrides the image tag whose default is the chart appVersion. | |||||
| tag: "" | |||||
| imagePullSecrets: [] | |||||
| nameOverride: "" | |||||
| fullnameOverride: "" | |||||
| serviceAccount: | |||||
| # Specifies whether a service account should be created | |||||
| create: true | |||||
| # Annotations to add to the service account | |||||
| annotations: {} | |||||
| # The name of the service account to use. | |||||
| # If not set and create is true, a name is generated using the fullname template | |||||
| name: "" | |||||
| podAnnotations: {} | |||||
| podSecurityContext: {} | |||||
| # fsGroup: 2000 | |||||
| securityContext: {} | |||||
| # capabilities: | |||||
| # drop: | |||||
| # - ALL | |||||
| # readOnlyRootFilesystem: true | |||||
| # runAsNonRoot: true | |||||
| # runAsUser: 1000 | |||||
| service: | |||||
| type: ClusterIP | |||||
| port: 80 | |||||
| ingress: | |||||
| enabled: false | |||||
| className: "" | |||||
| annotations: {} | |||||
| # kubernetes.io/ingress.class: nginx | |||||
| # kubernetes.io/tls-acme: "true" | |||||
| hosts: | |||||
| - host: chart-example.local | |||||
| paths: | |||||
| - path: / | |||||
| pathType: ImplementationSpecific | |||||
| tls: [] | |||||
| # - secretName: chart-example-tls | |||||
| # hosts: | |||||
| # - chart-example.local | |||||
| 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 | |||||
| autoscaling: | |||||
| enabled: false | |||||
| minReplicas: 1 | |||||
| maxReplicas: 100 | |||||
| targetCPUUtilizationPercentage: 80 | |||||
| # targetMemoryUtilizationPercentage: 80 | |||||
| nodeSelector: {} | |||||
| tolerations: [] | |||||
| affinity: {} | |||||
| @ -0,0 +1,67 @@ | |||||
| apiVersion: v1 | |||||
| kind: Service | |||||
| metadata: | |||||
| name: nodered-influxdb | |||||
| namespace: nodered | |||||
| labels: | |||||
| app: nodered | |||||
| spec: | |||||
| type: NodePort | |||||
| ports: | |||||
| - name: influxdb | |||||
| port: 8086 | |||||
| nodePort: 30686 | |||||
| targetPort: influxdb | |||||
| selector: | |||||
| app: nodered | |||||
| tier: influxdb | |||||
| --- | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| name: influxdb-pv-claim | |||||
| namespace: nodered | |||||
| labels: | |||||
| app: nodered | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| resources: | |||||
| requests: | |||||
| storage: 25Gi | |||||
| --- | |||||
| apiVersion: apps/v1 | |||||
| kind: Deployment | |||||
| metadata: | |||||
| name: nodered-influxdb | |||||
| namespace: nodered | |||||
| labels: | |||||
| app: nodered | |||||
| spec: | |||||
| selector: | |||||
| matchLabels: | |||||
| app: nodered | |||||
| tier: influxdb | |||||
| strategy: | |||||
| type: Recreate | |||||
| template: | |||||
| metadata: | |||||
| labels: | |||||
| app: nodered | |||||
| tier: influxdb | |||||
| spec: | |||||
| containers: | |||||
| - image: influxdb:latest | |||||
| name: influxdb | |||||
| ports: | |||||
| - containerPort: 8086 | |||||
| name: influxdb | |||||
| volumeMounts: | |||||
| - name: influxdb-persistent-storage | |||||
| mountPath: /var/lib/influxdb2 | |||||
| imagePullSecrets: | |||||
| - name: reg-cred-secret | |||||
| volumes: | |||||
| - name: influxdb-persistent-storage | |||||
| persistentVolumeClaim: | |||||
| claimName: influxdb-pv-claim | |||||
| @ -0,0 +1,11 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolume | |||||
| metadata: | |||||
| name: nodered-influxdb | |||||
| spec: | |||||
| capacity: | |||||
| storage: 25Gi | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| hostPath: | |||||
| path: "/mnt/Externo/nodered/influx-db" | |||||
| @ -0,0 +1,13 @@ | |||||
| version: '3.5' | |||||
| services: | |||||
| jellyfin: | |||||
| image: jellyfin/jellyfin | |||||
| container_name: jellyfin | |||||
| network_mode: "host" | |||||
| volumes: | |||||
| - /mnt/Externo/jellyfin/config:/config | |||||
| - /mnt/Externo/jellyfin/cache:/cache | |||||
| - /mnt/Externo/jellyfin/media:/media | |||||
| - /mnt/Externo/jellyfin/media2:/media2:ro | |||||
| restart: 'unless-stopped' | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-claim0 | |||||
| name: jellyfin-claim0 | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| resources: | |||||
| requests: | |||||
| storage: 100Mi | |||||
| status: {} | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-claim1 | |||||
| name: jellyfin-claim1 | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| resources: | |||||
| requests: | |||||
| storage: 100Mi | |||||
| status: {} | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-claim2 | |||||
| name: jellyfin-claim2 | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadWriteOnce | |||||
| resources: | |||||
| requests: | |||||
| storage: 100Mi | |||||
| status: {} | |||||
| @ -0,0 +1,14 @@ | |||||
| apiVersion: v1 | |||||
| kind: PersistentVolumeClaim | |||||
| metadata: | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin-claim3 | |||||
| name: jellyfin-claim3 | |||||
| spec: | |||||
| accessModes: | |||||
| - ReadOnlyMany | |||||
| resources: | |||||
| requests: | |||||
| storage: 100Mi | |||||
| status: {} | |||||
| @ -0,0 +1,56 @@ | |||||
| apiVersion: apps/v1 | |||||
| kind: Deployment | |||||
| metadata: | |||||
| annotations: | |||||
| kompose.cmd: kompose convert | |||||
| kompose.version: 1.26.0 (40646f47) | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin | |||||
| name: jellyfin | |||||
| spec: | |||||
| replicas: 1 | |||||
| selector: | |||||
| matchLabels: | |||||
| io.kompose.service: jellyfin | |||||
| strategy: | |||||
| type: Recreate | |||||
| template: | |||||
| metadata: | |||||
| annotations: | |||||
| kompose.cmd: kompose convert | |||||
| kompose.version: 1.26.0 (40646f47) | |||||
| creationTimestamp: null | |||||
| labels: | |||||
| io.kompose.service: jellyfin | |||||
| spec: | |||||
| containers: | |||||
| - image: jellyfin/jellyfin | |||||
| name: jellyfin | |||||
| resources: {} | |||||
| volumeMounts: | |||||
| - mountPath: /config | |||||
| name: jellyfin-claim0 | |||||
| - mountPath: /cache | |||||
| name: jellyfin-claim1 | |||||
| - mountPath: /media | |||||
| name: jellyfin-claim2 | |||||
| - mountPath: /media2 | |||||
| name: jellyfin-claim3 | |||||
| readOnly: true | |||||
| restartPolicy: Always | |||||
| volumes: | |||||
| - name: jellyfin-claim0 | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-claim0 | |||||
| - name: jellyfin-claim1 | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-claim1 | |||||
| - name: jellyfin-claim2 | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-claim2 | |||||
| - name: jellyfin-claim3 | |||||
| persistentVolumeClaim: | |||||
| claimName: jellyfin-claim3 | |||||
| readOnly: true | |||||
| status: {} | |||||