Skip to content

Commit

Permalink
fix: clean up replica counts across apps
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed May 23, 2024
1 parent 452398d commit 18dfe45
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/tests/config-talos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bootstrap_node_inventory:
disk: fake
mac_addr: fake
bootstrap_dns_servers: ["1.1.1.1", "1.0.0.1"]
bootstrap_dntp_servers: ["time.cloudflare.com"]
bootstrap_ntp_servers: ["time.cloudflare.com"]
bootstrap_pod_network: 10.69.0.0/16
bootstrap_service_network: 10.96.0.0/16
bootstrap_controller_vip: 10.10.10.254
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
autoDirectNodeRoutes: true
#% if bootstrap_bgp.enabled %#
bgpControlPlane:
enabled: true
#% endif %#
bpf:
masquerade: false
cgroup:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
fullnameOverride: coredns
replicaCount: 1
k8sAppLabelOverride: kube-dns
serviceAccount:
create: true
Expand Down Expand Up @@ -49,10 +48,3 @@ tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/instance: coredns
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ spec:
values:
controllers:
cloudflared:
replicas: 2
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ spec:
values:
fullnameOverride: ingress-nginx-external
controller:
replicaCount: 1
service:
annotations:
external-dns.alpha.kubernetes.io/hostname: "external.${SECRET_DOMAIN}"
Expand Down Expand Up @@ -73,19 +72,8 @@ spec:
#% else %#
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
#% endif %#
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: ingress-nginx-external
app.kubernetes.io/component: controller
resources:
requests:
cpu: 100m
limits:
memory: 500Mi
defaultBackend:
enabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ spec:
values:
fullnameOverride: ingress-nginx-internal
controller:
replicaCount: 1
service:
annotations:
io.cilium/lb-ipam-ips: "#{ bootstrap_cloudflare.ingress_vip }#"
Expand Down Expand Up @@ -70,19 +69,8 @@ spec:
#% else %#
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
#% endif %#
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: ingress-nginx-internal
app.kubernetes.io/component: controller
resources:
requests:
cpu: 100m
limits:
memory: 500Mi
defaultBackend:
enabled: false

0 comments on commit 18dfe45

Please sign in to comment.