FIX(applications): correct bjw-s/app-template schema for replica and affinity
- Move replicaCount to controllers.main level - Move affinity to controllers.main.pod level - Fix Helm schema validation errors for docusaurus, homer, mas FIX(applications): move replicaCount to top level for bjw-s/app-template - Move replicaCount from controllers.main to top level - Keep affinity in controllers.main.pod.affinity - Fix Helm schema validation errors FIX(applications): use replicas instead of replicaCount for bjw-s/app-template - Change replicaCount to controllers.main.replicas - Fix schema validation for bjw-s/app-template chart
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
replicaCount: 2
|
replicas: 2
|
||||||
annotations:
|
annotations:
|
||||||
docusaurus/source-hash: "2024-12-30-v1"
|
docusaurus/source-hash: "2024-12-30-v1"
|
||||||
initContainers:
|
initContainers:
|
||||||
@@ -56,6 +56,7 @@ controllers:
|
|||||||
port: 80
|
port: 80
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
pod:
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
replicaCount: 2
|
replicas: 2
|
||||||
initContainers:
|
initContainers:
|
||||||
copy-homer-files:
|
copy-homer-files:
|
||||||
image:
|
image:
|
||||||
@@ -40,6 +40,7 @@ controllers:
|
|||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
|
pod:
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ serviceAccount:
|
|||||||
|
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
replicaCount: 2
|
replicas: 2
|
||||||
strategy: RollingUpdate
|
strategy: RollingUpdate
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
unavailable: 0
|
unavailable: 0
|
||||||
@@ -77,6 +77,7 @@ controllers:
|
|||||||
port: 8000
|
port: 8000
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
pod:
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
Reference in New Issue
Block a user