Noelantogerorge commented on issue #7431: URL: https://github.com/apache/cloudstack/issues/7431#issuecomment-1518201451
@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 On Fri, Apr 21, 2023, 11:41 PM Wei Zhou ***@***.***> wrote: > @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: <none> > Selector: app=nginx > Type: LoadBalancer > IP Family Policy: SingleStack > IP Families: IPv4 > IP: 10.104.19.159 > IPs: 10.104.19.159 > Port: <unset> 80/TCP > TargetPort: 80/TCP > NodePort: <unset> 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: dial tcp 10.0.34.201:8080: i/o timeout > > @shwstppr <https://github.com/shwstppr> it looks like expected behaviour > to me. > cc @davidjumani <https://github.com/davidjumani> > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/cloudstack/issues/7431#issuecomment-1518177870>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/A6FZLRE6XMZRWLIA2MAQ433XCLEVJANCNFSM6AAAAAAW5C4UAM> > . > 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]
