Ingress: Improve port opening
Update nginx replica counts and rollout strategy.
What proxy-backend configmap changes and reload auto proxy nginx.
Make ingress optional.
Use <PREFIX>.<CLUSTER_NAME>.clusters.p.<DOMAIN> addresses for remote
cluster services.
Change-Id: Ideb146a8c0275822ee5cd28311c00a817f4202aa
diff --git a/core/installer/values-tmpl/ingress-public.cue b/core/installer/values-tmpl/ingress-public.cue
index fe6098e..119dd44 100644
--- a/core/installer/values-tmpl/ingress-public.cue
+++ b/core/installer/values-tmpl/ingress-public.cue
@@ -4,6 +4,7 @@
input: {
sshPrivateKey: string
+ controllerReplicaCount: int | *3
}
name: "ingress-public"
@@ -48,7 +49,7 @@
fullnameOverride: "\(global.pcloudEnvName)-ingress-public"
controller: {
kind: "Deployment"
- replicaCount: 1 // TODO(gio): configurable
+ replicaCount: input.controllerReplicaCount
topologySpreadConstraints: [{
labelSelector: {
matchLabels: {
@@ -64,7 +65,7 @@
updateStrategy: {
type: "RollingUpdate"
rollingUpdate: {
- maxSurge: "100%"
+ maxSurge: "50%"
maxUnavailable: "30%"
}
}