Hello All,

I'm using an OKD cluster 4.5 with 3 masters and 3 workers, using oVirt IPI.

I want to segregate external traffic of some workloads from the rest, so I 
created a different IngressController, named external.
I had 2 choices.

  1.  Add another worker node and keep the default ingress controller on 2 
worker nodes and the external ingress controller on the other 2 worker nodes.
  2.  Move default ingress controller to master nodes and use the worker nodes 
to host the external ingress controller.
I opted for option 2, using nodeSelector and tolerances so that the default 
routers would run on the master nodes.
So far, so good.

My problem now it that I don't want keepalived for the internal API and 
internal *.app to run on the worker nodes, I want it to run only on the master 
nodes. So I edited 00-worker Machine Config and removed the 
/etc/kubernetes/manifests/keepalived.yaml config.
But this MachineConfig gets overwritten very time I change it, probably 
overwritten by the machine config operator. I deleted the file manually on the 
worker nodes, but I'm afraid it will come back after an upgrade or some other 
change.
Is there any other way to accomplish what I'm trying to do?

Even if I opt for having 2 worker nodes with the default router and 2 worker 
nodes with the new one (external), I think I'll have the same problem, because 
keepalived could put the internal *.apps IP on a worker node with the external 
router, and there would be at least a mismatched certificate, and, because I 
want to only publish some few namespace routes on the external router, internal 
apps would not run when hitting the external router, including console.

How do you people segregate traffic and how did you overcome these problems?

Thanks

Carlo Rodrigues
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to