optscale
optscale copied to clipboard
external loadbalancer service is in pending state always
Describe the bug I am trying to do a POC for optscale and finding it difficult to setup as documentation is not correct completely. At location https://github.com/hystax/optscale/tree/integration#get-ip-access-https , below command is giving EXTERNAL-IP as pending always.
kubectl get services --field-selector metadata.name=ngingress-nginx-ingress-controlle
To Reproduce
Follow below readme.md https://github.com/hystax/optscale/tree/integration#get-ip-access-https
Expected behavior up and running k8s cluster with optscale installed and accessible
Screenshots
Desktop (please complete the following information):
- OS: Ubuntu20.04
Additional context Do we need to add some cloud-provider kind of option. if yes, how we can configure that in the provided optscale code.
Any update on this, nothing is working out.?
I am just doing a flyby, but ... It looks like you are running on k8s. K8s requires a LoadBalancer service to provide external IP addresses. Is is through minikube?
It seems like minikube solves this with
minikube tunnel
It also looks like MetalLB is an option as well. https://metallb.org/
I did a search online and found this Stack Overflow that tries to address the problem.
https://stackoverflow.com/questions/44110876/kubernetes-service-external-ip-pending
If this does work, it still seems like the documentation needs some updating on how to do this with k8s or a kubernetes cluster that does not come with an built-in load balancer like those provided on cloud kubernetes instances.