mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
♻️ defaultPodOptions
This commit is contained in:
@@ -26,6 +26,8 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
enableServiceLinks: false
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
strategy: RollingUpdate
|
strategy: RollingUpdate
|
||||||
@@ -57,8 +59,6 @@ spec:
|
|||||||
cpu: 10m
|
cpu: 10m
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
pod:
|
|
||||||
enableServiceLinks: false
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
|
@@ -31,6 +31,18 @@ spec:
|
|||||||
- name: authelia-redis
|
- name: authelia-redis
|
||||||
- name: smtp-relay
|
- name: smtp-relay
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
enableServiceLinks: false
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
topologySpreadConstraints:
|
||||||
|
- maxSkew: 1
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
|
whenUnsatisfiable: DoNotSchedule
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
@@ -112,18 +124,6 @@ spec:
|
|||||||
memory: 32Mi
|
memory: 32Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
pod:
|
|
||||||
enableServiceLinks: false
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 568
|
|
||||||
runAsGroup: 568
|
|
||||||
topologySpreadConstraints:
|
|
||||||
- maxSkew: 1
|
|
||||||
topologyKey: kubernetes.io/hostname
|
|
||||||
whenUnsatisfiable: DoNotSchedule
|
|
||||||
labelSelector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: *app
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
|
@@ -32,6 +32,12 @@ spec:
|
|||||||
- name: volsync
|
- name: volsync
|
||||||
namespace: volsync
|
namespace: volsync
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: statefulset
|
type: statefulset
|
||||||
@@ -70,12 +76,6 @@ spec:
|
|||||||
- --branch=master
|
- --branch=master
|
||||||
- --wait=86400 # 1 day
|
- --wait=86400 # 1 day
|
||||||
- --root=/add-ons
|
- --root=/add-ons
|
||||||
pod:
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 568
|
|
||||||
runAsGroup: 568
|
|
||||||
fsGroup: 568
|
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
|
||||||
statefulset:
|
statefulset:
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- name: config
|
- name: config
|
||||||
|
@@ -27,6 +27,12 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 1001
|
||||||
|
runAsGroup: 1001
|
||||||
|
fsGroup: 1001
|
||||||
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: statefulset
|
type: statefulset
|
||||||
@@ -50,12 +56,6 @@ spec:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
pod:
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 1001
|
|
||||||
runAsGroup: 1001
|
|
||||||
fsGroup: 1001
|
|
||||||
fsGroupChangePolicy: "OnRootMismatch"
|
|
||||||
statefulset:
|
statefulset:
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- name: config
|
- name: config
|
||||||
|
@@ -35,6 +35,10 @@ spec:
|
|||||||
- name: volsync
|
- name: volsync
|
||||||
namespace: volsync
|
namespace: volsync
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
nodeSelector:
|
||||||
|
google.feature.node.kubernetes.io/coral: "true"
|
||||||
|
intel.feature.node.kubernetes.io/gpu: "true"
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: statefulset
|
type: statefulset
|
||||||
@@ -51,14 +55,6 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: frigate-secret
|
name: frigate-secret
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 1000Mi
|
|
||||||
gpu.intel.com/i915: 1
|
|
||||||
limits:
|
|
||||||
memory: 6000Mi
|
|
||||||
gpu.intel.com/i915: 1
|
|
||||||
probes:
|
probes:
|
||||||
liveness: &probes
|
liveness: &probes
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -74,6 +70,16 @@ spec:
|
|||||||
readiness: *probes
|
readiness: *probes
|
||||||
startup:
|
startup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 1000Mi
|
||||||
|
gpu.intel.com/i915: 1
|
||||||
|
limits:
|
||||||
|
memory: 6000Mi
|
||||||
|
gpu.intel.com/i915: 1
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
statefulset:
|
statefulset:
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- name: config
|
- name: config
|
||||||
@@ -82,12 +88,6 @@ spec:
|
|||||||
storageClass: rook-ceph-block
|
storageClass: rook-ceph-block
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /data
|
- path: /data
|
||||||
pod:
|
|
||||||
nodeSelector:
|
|
||||||
google.feature.node.kubernetes.io/coral: "true"
|
|
||||||
intel.feature.node.kubernetes.io/gpu: "true"
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
@@ -27,6 +27,15 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
enableServiceLinks: false
|
||||||
|
nodeSelector:
|
||||||
|
intel.feature.node.kubernetes.io/gpu: "true"
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 568
|
||||||
|
runAsGroup: 568
|
||||||
|
fsGroup: 568
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: statefulset
|
type: statefulset
|
||||||
@@ -74,16 +83,6 @@ spec:
|
|||||||
storageClass: rook-ceph-block
|
storageClass: rook-ceph-block
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /config
|
- path: /config
|
||||||
pod:
|
|
||||||
enableServiceLinks: false
|
|
||||||
nodeSelector:
|
|
||||||
intel.feature.node.kubernetes.io/gpu: "true"
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 568
|
|
||||||
runAsGroup: 568
|
|
||||||
fsGroup: 568
|
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
|
||||||
supplementalGroups: [44, 105, 10000]
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
@@ -27,6 +27,9 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
nodeSelector:
|
||||||
|
zzh.feature.node.kubernetes.io/zigbee: "true"
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: statefulset
|
type: statefulset
|
||||||
@@ -86,9 +89,6 @@ spec:
|
|||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
pod:
|
|
||||||
nodeSelector:
|
|
||||||
zzh.feature.node.kubernetes.io/zigbee: "true"
|
|
||||||
statefulset:
|
statefulset:
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- name: config
|
- name: config
|
||||||
|
@@ -27,6 +27,9 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
|
defaultPodOptions:
|
||||||
|
nodeSelector:
|
||||||
|
aeotec.feature.node.kubernetes.io/zwave: "true"
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: statefulset
|
type: statefulset
|
||||||
@@ -62,9 +65,6 @@ spec:
|
|||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
pod:
|
|
||||||
nodeSelector:
|
|
||||||
aeotec.feature.node.kubernetes.io/zwave: "true"
|
|
||||||
statefulset:
|
statefulset:
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- name: config
|
- name: config
|
||||||
|
Reference in New Issue
Block a user