weizhouapache commented on issue #7431: URL: https://github.com/apache/cloudstack/issues/7431#issuecomment-1519697155
@Noelantogerorge I assume only the app service is created with type=LoadBalancer. > Hi, We are trying to deploy media server and its app server on kubernetes. Media server works in host network mode. So basically there are lot of ports used by media server these ports works through host server network. If it behind any nat then it won't work. If media servers are on an isolated network, you can use static nat or create port forwarding rule with a port range. The app server can access the media servers via <public IP>:<public port> > I have the deployment yml file which works in cloud like AWS,Digital ocean. If needed I can share the yml file. @Noelantogerorge can you share the yaml file and network/ip information of nodes/pods on one of the cloud provider ? > On cloudstack we can create a isolated or vpc network for kubernetes cluster and LB works perfectly. But as I mentioned if we deploy my pod it works on host network and it get some isolated lan cidr. We need that to be public IP. So I created a shared network with public IP and start the cluster and unfortunately LB fails @Noelantogerorge yes, as we have discussed, LB is not supported in cloudstack shared networks. If the media servers and app servers must be in same kubernetes cluster, it will not work due to the LB failure. > I tried adding a shared network to another NIC and see how it works but that crash down the cluster. Is there any way how we can make nodes to have public IP rather than isolated or vpc lan cidr. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
