nodeselector pathces
This commit is contained in:
parent
7393552809
commit
cc860d1fc9
@ -34,6 +34,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: adguard-pvc
|
||||
mountPath: /opt/adguardhome/work
|
||||
resources: {}
|
||||
volumes:
|
||||
- name: adguard-pvc
|
||||
persistentVolumeClaim:
|
||||
|
@ -10,3 +10,8 @@ resources:
|
||||
- base/adguard-namespace.yaml
|
||||
- base/adguard-pvc.yaml
|
||||
- base/adguard-service.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
9
apps/adguard/patches/nodeselector.yaml
Normal file
9
apps/adguard/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -9,3 +9,8 @@ resources:
|
||||
- base/gitea-deployment.yaml
|
||||
- base/gitea-data-pvc.yaml
|
||||
- base/gitea-namespace.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
9
apps/gitea/patches/nodeselector.yaml
Normal file
9
apps/gitea/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -12,4 +12,7 @@ resources:
|
||||
|
||||
patches:
|
||||
- path: patches/dashboard-insecure-access.yaml
|
||||
- path: patches/dashboard-insecure-service.yaml
|
||||
- path: patches/dashboard-insecure-service.yaml
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
9
apps/kube-dashboard/patches/nodeselector.yaml
Normal file
9
apps/kube-dashboard/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -15,3 +15,8 @@ helmCharts:
|
||||
repo: https://nextcloud.github.io/helm/
|
||||
valuesFile: base/values.yaml
|
||||
releaseName: lcl
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
9
apps/nextcloud/patches/nodeselector.yaml
Normal file
9
apps/nextcloud/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -10,3 +10,8 @@ resources:
|
||||
- base/vaultwarden-namespace.yaml
|
||||
- base/vaultwarden-secret-sealed.yaml
|
||||
- base/vaultwarden-service.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
9
apps/vaultwarden/patches/nodeselector.yaml
Normal file
9
apps/vaultwarden/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -13,3 +13,6 @@ patches:
|
||||
- path: patches/argocd-cmd-params-cm-patch.yaml
|
||||
- path: patches/argocd-server-service.yaml
|
||||
- path: patches/argocd-cm-patch.yaml
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
||||
|
9
infrastructure/02-argocd/patches/nodeselector.yaml
Normal file
9
infrastructure/02-argocd/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -14,3 +14,8 @@ helmCharts:
|
||||
releaseName: lcl
|
||||
repo: https://traefik.github.io/charts
|
||||
valuesFile: base/values.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
||||
|
9
infrastructure/03-traefik/patches/nodeselector.yaml
Normal file
9
infrastructure/03-traefik/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -13,3 +13,8 @@ helmCharts:
|
||||
repo: https://charts.longhorn.io
|
||||
valuesFile: base/values.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
||||
|
||||
|
8
infrastructure/04-longhorn/patches/nodeselector.yaml
Normal file
8
infrastructure/04-longhorn/patches/nodeselector.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
@ -20,3 +20,8 @@ helmCharts:
|
||||
version: 1.0.2
|
||||
repo: https://fabmade.github.io/cert-manager-webhook-ionos
|
||||
# valuesFile: base/ionos-values.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
9
infrastructure/05-cert-manager/patches/nodeselector.yaml
Normal file
9
infrastructure/05-cert-manager/patches/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: local
|
9
projects/website/base/nodeselector.yaml
Normal file
9
projects/website/base/nodeselector.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: not-important
|
||||
metadata:
|
||||
name: not-important
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
region: front
|
@ -1,9 +1,9 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: website-deployment
|
||||
labels:
|
||||
app: website
|
||||
name: website
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@ -14,9 +14,11 @@ spec:
|
||||
labels:
|
||||
app: website
|
||||
spec:
|
||||
nodeName: gatekeeper
|
||||
containers:
|
||||
- name: website
|
||||
image: registry.steffenillium.de/website
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- image: ghcr.io/illiumst/website:latest
|
||||
name: website
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
restartPolicy: Always
|
15
projects/website/base/website-ingress.yaml
Normal file
15
projects/website/base/website-ingress.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: website-ingress
|
||||
namespace: website
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`www.steffenillium.de`) || Host(`steffenillium.de`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: website
|
||||
port: 80
|
4
projects/website/base/website-namespace.yaml
Normal file
4
projects/website/base/website-namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: website
|
13
projects/website/base/website-service.yaml
Normal file
13
projects/website/base/website-service.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: website
|
||||
name: website
|
||||
spec:
|
||||
ports:
|
||||
- name: "http"
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: website
|
15
projects/website/kustomization.yaml
Normal file
15
projects/website/kustomization.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: website
|
||||
|
||||
resources:
|
||||
- base/website-deployment.yaml
|
||||
- base/website-ingress.yaml
|
||||
- base/website-namespace.yaml
|
||||
- base/website-service.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
kind: (StatefulSet|Deployment|Job)
|
Loading…
x
Reference in New Issue
Block a user