Noelantogerorge commented on issue #7431:
URL: https://github.com/apache/cloudstack/issues/7431#issuecomment-1518462746

   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.
   
   I have the deployment yml file which works in cloud like AWS,Digital ocean.
   If needed I can share the yml file.
   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
   
   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.
   
   
   On Sat, Apr 22, 2023, 1:04 AM Wei Zhou ***@***.***> wrote:
   
   > @weizhouapache <https://github.com/weizhouapache>
   > https://github.com/weizhouapache My environment is like I need kubnertes
   > cluster to have public IP. So that when I deploy pod as host network node
   > IP should be public network and I need all traffic to route to node network
   > namespace. So I create a shared network with public IP and observer that
   > load balancer won't able to provide any external IP address If this is a
   > normal behaviour then how can we deploy kubernetes in hostnetwork mode Same
   > scenario works in coud environment like AWS, AZURE, Digital Ocean etc
   > … <#m_6023603284368853770_>
   > On Fri, Apr 21, 2023, 11:41 PM Wei Zhou *@*.*> wrote: @weizhouapache
   > <https://github.com/weizhouapache> https://github.com/weizhouapache
   > <https://github.com/weizhouapache> I tried with the changed code to allow
   > deploying provider for shared network. After that though it tries to
   > list/create loadbalancer but fails with the API call, ⇒ ./kubectl
   > --kubeconfig ./kube.conf describe svc nginx-deployment Name:
   > nginx-deployment Namespace: default Labels: app=nginx Annotations:
   > Selector: app=nginx Type: LoadBalancer IP Family Policy: SingleStack IP
   > Families: IPv4 IP: 10.104.19.159 IPs: 10.104.19.159 Port: 80/TCP
   > TargetPort: 80/TCP NodePort: 30495/TCP Endpoints: Session Affinity: None
   > External Traffic Policy: Cluster Events: Type Reason Age From Message ----
   > ------ ---- ---- ------- Normal EnsuringLoadBalancer 2m40s (x11 over 32m)
   > service-controller Ensuring load balancer Warning SyncLoadBalancerFailed
   > 2m10s (x11 over 32m) service-controller Error syncing load balancer: failed
   > to ensure load balancer: error retrieving load balancer rules: Get
   > 
http://10.0.34.201:8080/client/api?apiKey=KrMLbhjYaLWLqnPISgpqo-2XRXKx0MFuJwfcaf2kGuTVaaoTRYmlyQRTy_VuVBn5zXP2Pkb5cCnZxmYu80ycKw&command=listLoadBalancerRules&keyword=a2508be6b99c0462f9bdc09ba0ab46ac&listall=true&response=json&signature=5y5T5QbgcR9jhjHf5raodd%2F3FsA%3D
   > 
<http://10.0.34.201:8080/client/api?apiKey=KrMLbhjYaLWLqnPISgpqo-2XRXKx0MFuJwfcaf2kGuTVaaoTRYmlyQRTy_VuVBn5zXP2Pkb5cCnZxmYu80ycKw&command=listLoadBalancerRules&keyword=a2508be6b99c0462f9bdc09ba0ab46ac&listall=true&response=json&signature=5y5T5QbgcR9jhjHf5raodd%2F3FsA%3D>:
   > dial tcp 10.0.34.201:8080 <http://10.0.34.201:8080>: i/o timeout @shwstppr
   > <https://github.com/shwstppr> https://github.com/shwstppr
   > <https://github.com/shwstppr> it looks like expected behaviour to me. cc
   > @davidjumani <https://github.com/davidjumani>
   > https://github.com/davidjumani <https://github.com/davidjumani> — Reply to
   > this email directly, view it on GitHub <#7431 (comment)
   > 
<https://github.com/apache/cloudstack/issues/7431#issuecomment-1518177870>>,
   > or unsubscribe
   > 
https://github.com/notifications/unsubscribe-auth/A6FZLRE6XMZRWLIA2MAQ433XCLEVJANCNFSM6AAAAAAW5C4UAM
   > 
<https://github.com/notifications/unsubscribe-auth/A6FZLRE6XMZRWLIA2MAQ433XCLEVJANCNFSM6AAAAAAW5C4UAM>
   > . You are receiving this because you were mentioned.Message ID: @.*>
   >
   > @Noelantogerorge <https://github.com/Noelantogerorge>
   > As you mentioned, there is no issue with isolated network. In my opinion,
   > you will have to use isolated network or vpc.
   > Can you describe more details of your requirements, better with an example
   > ? let's discuss if there is a resolution.
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/cloudstack/issues/7431#issuecomment-1518256554>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/A6FZLRFBVMHJTIJEMIWL4LLXCLOMXANCNFSM6AAAAAAW5C4UAM>
   > .
   > You are receiving this because you were mentioned.Message ID:
   > ***@***.***>
   >
   


-- 
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]

Reply via email to