Adjusting the Replica Count in Rancher
You can adjust the WebHMI replica count based on the available CPU and memory resources. This typically depends on the number and capacity of your nodes. You can experiment by setting a higher value to see how many pods Kubernetes can schedule.
In Rancher, you can set the minimum and maximum replica counts in your WebHMI Helm chart configuration in the Autoscaling section of the Edit Options tab.
You can monitor the pod status in Workloads > Pods. Pods that cannot be scheduled due to insufficient resources remain in the Pending state. In such cases, you’ll see an event message similar to the following:
You can resolve the issue by one of the following actions:
- Reduce the replica count to match your cluster’s available resources.
- Add more nodes (or increase their capacity) to allow Kubernetes to schedule all pods successfully.