Hello,
This is something that you can achieve from the Cluster itself not from the Mendix Side.
For example, if you are using AKS, you need to change the whitelisting settings from Azure portal not the sprinter. by going to the AKS service >> Networking >> Authorized IP ranges >> add the desired IP's
For other services such as EKS, you can relate to the same.
https://learn.microsoft.com/en-us/azure/aks/api-server-authorized-ip-ranges#update-disable-and-find-authorized-ip-ranges-using-azure-portal