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 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 }}"