Dear Mendix team,
We set Mendix for Private Cloud Connected environment to one of our customers, and the Kubernetes cluster has two node groups. Each node group consists of different Kubernetes label as following:
Nodegroup A Label -> App: Workflow
Nodegroup B Label -> App: Catalogue
The scenario is we would like to deploy application Workflow only on Nodegroup A, so we try to use Kubernetes NodeSelector with key/value as App: Workflow with Mendix Private Cloud.
However, this feature does not support on Mendix for Private Cloud for now.
I hope this feature will be available soon. It will make Mendix for Private Cloud solution become more appealing for more customers.
[Kubernetes Nodeselector reference: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector]
I use the following solution and it works well for me:
References:
Comments:
1) Enable admission plugin “PodNodeSelector” in kube-apiserver
2) Configure label with “zone={nome da zona}”
3) Configure the namespace with “node-selector” annotation:
4) Namespace pods come with “nodeSelector” attribute:
I hope this helps