x.5 increment replicas
Hello team, Does it make sense to have x.5 increment on relicas? Not sure it's normal
Let me know if I'm wrong Thanks a lot
The replicas field should be an integer value, as Kubernetes requires the replicas field in a Deployment specification to be an integer. The UI component for configuring the number of replicas is implemented in the packages/system/dashboard/charts/kubeapps/values.schema.json file, where the replicaCount property is defined as an integer, indicating that there should be validation logic to ensure integer values [1][2]. The appearance of a non-integer value like 2.5 suggests there might be an issue with the slider component's validation or configuration.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other
Yeah, we're going to fix that soon, thank you for report!
Fixed by declaring all replicas fields as int type.
$ grep -rin . -e "param replicas"
./packages/extra/ingress/values.yaml:3:## @param replicas {int} Number of ingress-nginx replicas
./packages/extra/etcd/values.yaml:5:## @param replicas {*int} Number of etcd replicas
./packages/extra/seaweedfs/values.yaml:13:## @param replicas {int} Number of replicas
./packages/apps/clickhouse/values.yaml:3:## @param replicas {int} Number of Clickhouse replicas
./packages/apps/redis/values.yaml:3:## @param replicas {int} Number of Redis replicas
./packages/apps/vpn/values.yaml:3:## @param replicas {int} Number of VPN server replicas
./packages/apps/ferretdb/values.yaml:3:## @param replicas {int} Number of replicas
./packages/apps/rabbitmq/values.yaml:3:## @param replicas {int} Number of RabbitMQ replicas
./packages/apps/postgres/values.yaml:3:## @param replicas {int} Number of Postgres replicas
./packages/apps/nats/values.yaml:3:## @param replicas {int} Number of replicas
./packages/apps/mysql/values.yaml:3:## @param replicas {int} Number of MariaDB replicas
./packages/apps/tcp-balancer/values.yaml:3:## @param replicas {int} Number of HAProxy replicas