Question

Kubernetes Loadbalancer is stuck showing default apache page

Hi!

I’m playing around with Kubernetes setup and noticed my loadbalancer all of the sudden is showing an apache default page… interestingly enough it was working before but suddenly decided to show the default page instead of my apps.

When I do kubectl describe service wordpress-lb i get this error message at the bottom of the print out.

Warning CreatingLoadBalancerFailed 30m (x5 over 31m) service-controller Error creating load balancer (will retry): failed to ensure load balancer for service default/wordpress-lb: load-balancer not active, currently new

Normal EnsuringLoadBalancer 28m (x6 over 31m) service-controller Ensuring load balancer

Normal EnsuredLoadBalancer 28m service-controller Ensured load balancer

Im still learning Kubes so im a little lost :P If anyone can point me in the right direction that would be awesome.

Thanks!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Seems to be fixed now, I did nothing. Possibly a stray cache file or something im not sure…

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Also to add to this, when I do kubectl delete services wordpress-lb to delete the load balancer, it disappears from my kubernetes command line (as in if I get services nothing shows) but if I visit the external IP I can still see that the service is clearly running still. :( It errors out even when deleting.