Created the initial k3s configuration for personal use

This commit is contained in:
2025-02-19 15:08:58 -07:00
parent 01e069514e
commit 72c4a448ff
83 changed files with 2109 additions and 1 deletions
+34
View File
@@ -0,0 +1,34 @@
- name: Create Bazarr PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'bazarr/bazarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Bazarr PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'bazarr/bazarr-claim1-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Bazarr PVC 3
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'bazarr/bazarr-claim2-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Bazarr deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'bazarr/bazarr-deployment.yaml') | from_yaml }}"
- name: Create Bazarr service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'bazarr/bazarr-service.yaml') | from_yaml }}"
+34
View File
@@ -0,0 +1,34 @@
- name: Create Jellyfin PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'jellyfin/jellyfin-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Jellyfin PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'jellyfin/jellyfin-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Jellyfin PVC 3
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'jellyfin/jellyfin-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Jellyfin deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'jellyfin/jellyfin-deployment.yaml') | from_yaml }}"
- name: Create Jellyfin service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'jellyfin/jellyfin-service.yaml') | from_yaml }}"
+34
View File
@@ -0,0 +1,34 @@
- name: Create Lidarr PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'lidarr/lidarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Lidarr PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'lidarr/lidarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Lidarr PVC 3
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'lidarr/lidarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Lidarr deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'lidarr/lidarr-deployment.yaml') | from_yaml }}"
- name: Create Lidarr service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'lidarr/lidarr-service.yaml') | from_yaml }}"
+24
View File
@@ -0,0 +1,24 @@
- import_tasks: bazarr.yml
tags: bazarr
- import_tasks: jellyfin.yml
tags: jellyfin
- import_tasks: lidarr.yml
tags: lidarr
- import_tasks: nzbget.yml
tags: nzbget
- import_tasks: overseerr.yml
tags: overseerr
- import_tasks: plex.yml
tags: plex
- import_tasks: prowlarr.yml
tags: prowlarr
- import_tasks: radarr.yml
tags: radarr
- import_tasks: readarr.yml
tags: readarr
- import_tasks: sonarr.yml
tags: sonarr
- import_tasks: tautulli.yml
tags: tautulli
- import_tasks: transmission.yml
tags: transmission
+27
View File
@@ -0,0 +1,27 @@
- name: Create NZBGet PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'nzbget/nzbget-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create NZBGet PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'nzbget/nzbget-claim1-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create NZBGet deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'nzbget/nzbget-deployment.yaml') | from_yaml }}"
- name: Create NZBGet service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'nzbget/nzbget-service.yaml') | from_yaml }}"
+20
View File
@@ -0,0 +1,20 @@
- name: Create Overseerr PVC
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'overseerr/overseerr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Overseerr deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'overseerr/overseerr-deployment.yaml') | from_yaml }}"
- name: Create Overseerr service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'overseerr/overseerr-service.yaml') | from_yaml }}"
+27
View File
@@ -0,0 +1,27 @@
- name: Create Plex PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'plex/plex-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Plex PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'plex/plex-claim1-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Plex PVC 3
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'plex/plex-claim2-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Plex deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'plex/plex-deployment.yaml') | from_yaml }}"
+20
View File
@@ -0,0 +1,20 @@
- name: Create Prowlarr PVC
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'prowlarr/prowlarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Prowlarr deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'prowlarr/prowlarr-deployment.yaml') | from_yaml }}"
- name: Create Prowlarr service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'prowlarr/prowlarr-service.yaml') | from_yaml }}"
+20
View File
@@ -0,0 +1,20 @@
- name: Create Radarr PVC
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'radarr/radarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Radarr deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'radarr/radarr-deployment.yaml') | from_yaml }}"
- name: Create Radarr service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'radarr/radarr-service.yaml') | from_yaml }}"
+34
View File
@@ -0,0 +1,34 @@
- name: Create Readarr PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'readarr/readarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Readarr PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'readarr/readarr-claim1-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Readarr PVC 3
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'readarr/readarr-claim2-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Readarr deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'readarr/readarr-deployment.yaml') | from_yaml }}"
- name: Create Readarr service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'readarr/readarr-service.yaml') | from_yaml }}"
+34
View File
@@ -0,0 +1,34 @@
- name: Create Sonarr PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'sonarr/sonarr-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Sonarr PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'sonarr/sonarr-claim1-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Sonarr PVC 3
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'sonarr/sonarr-claim2-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Sonarr deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'sonarr/sonarr-deployment.yaml') | from_yaml }}"
- name: Create Sonarr service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'sonarr/sonarr-service.yaml') | from_yaml }}"
+20
View File
@@ -0,0 +1,20 @@
- name: Create Tautulli PVC
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'tautulli/tautulli-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Tautulli deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'tautulli/tautulli-deployment.yaml') | from_yaml }}"
- name: Create Tautulli service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'tautulli/tautulli-service.yaml') | from_yaml }}"
+27
View File
@@ -0,0 +1,27 @@
- name: Create Transmission PVC 1
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'transmission/transmission-claim0-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Transmission PVC 2
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'transmission/transmission-claim1-persistentvolumeclaim.yaml') | from_yaml }}"
- name: Create Transmission deployment
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'transmission/transmission-deployment.yaml') | from_yaml }}"
- name: Create Transmission service
kubernetes.core.k8s:
kubeconfig: /etc/rancher/k3s/k3s.yaml
state: present
namespace: default
definition: "{{ lookup('file', 'transmission/transmission-service.yaml') | from_yaml }}"