Compare commits
1 Commits
renovate/d
...
8e8daa77ab
Author | SHA1 | Date | |
---|---|---|---|
8e8daa77ab |
11
README.md
11
README.md
@@ -1,7 +1,7 @@
|
|||||||
# Kluster setup and IaaC using argoCD
|
# Kluster setup and IaaC using argoCD
|
||||||
|
|
||||||
|
|
||||||
### Description
|
### Initial setup
|
||||||
#### Requirements:
|
#### Requirements:
|
||||||
- A running k3s instance
|
- A running k3s instance
|
||||||
- `sealedsecrets` deployed
|
- `sealedsecrets` deployed
|
||||||
@@ -27,21 +27,20 @@ The app-of-apps will bootstrap a fully featured cluster with the following compo
|
|||||||
- immich
|
- immich
|
||||||
- ...
|
- ...
|
||||||
|
|
||||||
## Setup instructions
|
#### Recap
|
||||||
1. install sealedsecrets see [README](./infrastructure/sealedsecrets/README.md)
|
- install sealedsecrets see [README](./infrastructure/sealedsecrets/README.md)
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -k infrastructure/sealedsecrets
|
kubectl apply -k infrastructure/sealedsecrets
|
||||||
kubectl apply -f infrastructure/sealedsecrets/main.key
|
kubectl apply -f infrastructure/sealedsecrets/main.key
|
||||||
kubectl delete pod -n kube-system -l name=sealed-secrets-controller
|
kubectl delete pod -n kube-system -l name=sealed-secrets-controller
|
||||||
```
|
```
|
||||||
1. install argocd and the app-of-apps bundled with it
|
- install argocd
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -k infrastructure/argocd
|
kubectl apply -k infrastructure/argocd
|
||||||
```
|
```
|
||||||
|
- wait...
|
||||||
|
|
||||||
|
|
||||||
> NOTE: The argocd kustomization already mentions some CRDs available only after the full bootstrapping (traefik). You might have to apply the last step twice
|
|
||||||
|
|
||||||
### Adding an application
|
### Adding an application
|
||||||
todo
|
todo
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: adguard/adguardhome
|
- name: adguard/adguardhome
|
||||||
newName: adguard/adguardhome
|
newName: adguard/adguardhome
|
||||||
newTag: v0.107.65
|
newTag: v0.107.64
|
||||||
|
|
||||||
namespace: adguard
|
namespace: adguard
|
||||||
|
|
||||||
|
@@ -12,4 +12,4 @@ namespace: audiobookshelf
|
|||||||
images:
|
images:
|
||||||
- name: audiobookshelf
|
- name: audiobookshelf
|
||||||
newName: ghcr.io/advplyr/audiobookshelf
|
newName: ghcr.io/advplyr/audiobookshelf
|
||||||
newTag: "2.29.0"
|
newTag: "2.26.3"
|
||||||
|
@@ -14,4 +14,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: actualbudget
|
- name: actualbudget
|
||||||
newName: actualbudget/actual-server
|
newName: actualbudget/actual-server
|
||||||
newTag: 25.9.0
|
newTag: 25.7.1
|
||||||
|
@@ -17,5 +17,5 @@ helmCharts:
|
|||||||
- releaseName: grafana
|
- releaseName: grafana
|
||||||
name: grafana
|
name: grafana
|
||||||
repo: https://grafana.github.io/helm-charts
|
repo: https://grafana.github.io/helm-charts
|
||||||
version: 9.4.5
|
version: 9.2.10
|
||||||
valuesFile: grafana.values.yaml
|
valuesFile: grafana.values.yaml
|
||||||
|
@@ -15,4 +15,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: homeassistant
|
- name: homeassistant
|
||||||
newName: homeassistant/home-assistant
|
newName: homeassistant/home-assistant
|
||||||
newTag: "2025.9"
|
newTag: "2025.7"
|
||||||
|
@@ -22,9 +22,9 @@ helmCharts:
|
|||||||
|
|
||||||
images:
|
images:
|
||||||
- name: ghcr.io/immich-app/immich-machine-learning
|
- name: ghcr.io/immich-app/immich-machine-learning
|
||||||
newTag: v1.141.1
|
newTag: v1.136.0
|
||||||
- name: ghcr.io/immich-app/immich-server
|
- name: ghcr.io/immich-app/immich-server
|
||||||
newTag: v1.141.1
|
newTag: v1.136.0
|
||||||
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
|
@@ -13,4 +13,4 @@ namespace: linkding
|
|||||||
images:
|
images:
|
||||||
- name: linkding
|
- name: linkding
|
||||||
newName: sissbruecker/linkding
|
newName: sissbruecker/linkding
|
||||||
newTag: "1.42.0"
|
newTag: "1.41.0"
|
||||||
|
@@ -13,4 +13,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: binwiederhier/ntfy
|
- name: binwiederhier/ntfy
|
||||||
newName: binwiederhier/ntfy
|
newName: binwiederhier/ntfy
|
||||||
newTag: v2.14.0
|
newTag: v2.13.0
|
||||||
|
@@ -14,14 +14,14 @@ namespace: paperless
|
|||||||
images:
|
images:
|
||||||
- name: paperless
|
- name: paperless
|
||||||
newName: ghcr.io/paperless-ngx/paperless-ngx
|
newName: ghcr.io/paperless-ngx/paperless-ngx
|
||||||
newTag: "2.18.4"
|
newTag: "2.17.1"
|
||||||
|
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: redis
|
- name: redis
|
||||||
releaseName: redis
|
releaseName: redis
|
||||||
repo: https://charts.bitnami.com/bitnami
|
repo: https://charts.bitnami.com/bitnami
|
||||||
version: 22.0.7
|
version: 21.2.13
|
||||||
valuesInline:
|
valuesInline:
|
||||||
auth:
|
auth:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@@ -13,5 +13,5 @@ resources:
|
|||||||
|
|
||||||
images:
|
images:
|
||||||
- name: mealie
|
- name: mealie
|
||||||
newTag: v3.1.2
|
newTag: v3.0.2
|
||||||
newName: ghcr.io/mealie-recipes/mealie
|
newName: ghcr.io/mealie-recipes/mealie
|
||||||
|
@@ -27,6 +27,6 @@ images:
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: authelia
|
- name: authelia
|
||||||
releaseName: authelia
|
releaseName: authelia
|
||||||
version: 0.10.46
|
version: 0.10.41
|
||||||
repo: https://charts.authelia.com
|
repo: https://charts.authelia.com
|
||||||
valuesFile: authelia.values.yaml
|
valuesFile: authelia.values.yaml
|
||||||
|
@@ -23,6 +23,6 @@ helmCharts:
|
|||||||
- name: gitea
|
- name: gitea
|
||||||
namespace: gitea # needs to be set explicitly for svc to be referenced correctly
|
namespace: gitea # needs to be set explicitly for svc to be referenced correctly
|
||||||
releaseName: gitea
|
releaseName: gitea
|
||||||
version: 12.2.0
|
version: 12.1.2
|
||||||
valuesFile: gitea.values.yaml
|
valuesFile: gitea.values.yaml
|
||||||
repo: https://dl.gitea.io/charts/
|
repo: https://dl.gitea.io/charts/
|
||||||
|
@@ -2,6 +2,7 @@ apiVersion: metallb.io/v1beta1
|
|||||||
kind: IPAddressPool
|
kind: IPAddressPool
|
||||||
metadata:
|
metadata:
|
||||||
name: default
|
name: default
|
||||||
|
namespace: metallb-system
|
||||||
spec:
|
spec:
|
||||||
addresses:
|
addresses:
|
||||||
- 192.168.3.0/24
|
- 192.168.3.0/24
|
||||||
@@ -9,8 +10,5 @@ spec:
|
|||||||
apiVersion: metallb.io/v1beta1
|
apiVersion: metallb.io/v1beta1
|
||||||
kind: L2Advertisement
|
kind: L2Advertisement
|
||||||
metadata:
|
metadata:
|
||||||
name: default
|
name: empty
|
||||||
# selector is left empty on purpose to match all IPAddressPools
|
namespace: metallb-system
|
||||||
# spec:
|
|
||||||
# ipAddressPools:
|
|
||||||
# - default
|
|
@@ -1,12 +1,15 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- ipaddresspool.yaml
|
||||||
|
|
||||||
namespace: metallb-system
|
namespace: metallb-system
|
||||||
|
|
||||||
resources:
|
|
||||||
# - namespace.yaml
|
|
||||||
# namespace is already included in the remote kustomization
|
|
||||||
# - github.com/metallb/metallb/config/native?ref=v0.15.2
|
|
||||||
- github.com/metallb/metallb/config/frr?ref=v0.15.2
|
|
||||||
- ipaddresspool.yaml
|
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: metallb
|
||||||
|
repo: https://metallb.github.io/metallb
|
||||||
|
version: 0.15.2
|
||||||
|
releaseName: metallb
|
||||||
|
valuesFile: values.yaml
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: metallb-system
|
name: placeholder
|
||||||
# labels:
|
labels:
|
||||||
# pod-security.kubernetes.io/enforce: privileged
|
pod-security.kubernetes.io/enforce: privileged
|
||||||
|
@@ -24,7 +24,7 @@ helmCharts:
|
|||||||
- name: loki
|
- name: loki
|
||||||
releaseName: loki
|
releaseName: loki
|
||||||
repo: https://grafana.github.io/helm-charts
|
repo: https://grafana.github.io/helm-charts
|
||||||
version: 6.39.0
|
version: 6.34.0
|
||||||
valuesFile: loki.values.yaml
|
valuesFile: loki.values.yaml
|
||||||
- name: prometheus-node-exporter
|
- name: prometheus-node-exporter
|
||||||
releaseName: prometheus-node-exporter
|
releaseName: prometheus-node-exporter
|
||||||
|
@@ -30,6 +30,7 @@ loki:
|
|||||||
filesystem:
|
filesystem:
|
||||||
chunks_directory: /var/loki/chunks
|
chunks_directory: /var/loki/chunks
|
||||||
rules_directory: /var/loki/rules
|
rules_directory: /var/loki/rules
|
||||||
|
admin_api_directory: /var/loki/admin
|
||||||
|
|
||||||
minio:
|
minio:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@@ -9,4 +9,4 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: controller
|
- name: controller
|
||||||
newName: docker.io/bitnami/sealed-secrets-controller
|
newName: docker.io/bitnami/sealed-secrets-controller
|
||||||
newTag: 0.32.1
|
newTag: 0.30.0
|
||||||
|
@@ -71,7 +71,7 @@ data:
|
|||||||
address = ":9100"
|
address = ":9100"
|
||||||
|
|
||||||
[entryPoints.traefik]
|
[entryPoints.traefik]
|
||||||
address = ":8080"
|
address = ":9000"
|
||||||
|
|
||||||
[entryPoints.dnsovertls]
|
[entryPoints.dnsovertls]
|
||||||
address = ":8853"
|
address = ":8853"
|
||||||
|
@@ -23,7 +23,8 @@ ingressClass:
|
|||||||
# true is not unit-testable yet, pending https://github.com/rancher/helm-unittest/pull/12
|
# true is not unit-testable yet, pending https://github.com/rancher/helm-unittest/pull/12
|
||||||
enabled: true
|
enabled: true
|
||||||
isDefaultClass: true
|
isDefaultClass: true
|
||||||
|
# Use to force a networking.k8s.io API Version for certain CI/CD applications. E.g. "v1beta1"
|
||||||
|
fallbackApiVersion: ""
|
||||||
|
|
||||||
# Activate Pilot integration
|
# Activate Pilot integration
|
||||||
pilot:
|
pilot:
|
||||||
@@ -66,8 +67,7 @@ providers:
|
|||||||
kubernetesIngress:
|
kubernetesIngress:
|
||||||
enabled: true
|
enabled: true
|
||||||
allowExternalNameServices: true
|
allowExternalNameServices: true
|
||||||
# Ingresses missing the annotation, having an empty value, or the value traefik are processed by default.
|
ingressClass: traefik
|
||||||
# ingressClass: traefik
|
|
||||||
# labelSelector: environment=production,method=traefik
|
# labelSelector: environment=production,method=traefik
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user