GithubHelp home page GithubHelp logo

Comments (6)

yld avatar yld commented on June 1, 2024

Didn't you forget to expose the service

kubectl --namespace kube-system expose deployment gitkubed --type=LoadBalancer --name=gitkubed

from gitkube.

easyenglishcoding avatar easyenglishcoding commented on June 1, 2024

Hello,

I have the same problem. that LoadBalancer has no available IP/hostnames.
I have already exposed service with external IP.

I don't use cloud which can give IP automatically, but I have microk8s and one public IP (set manualy, by editing gitkubed and add externalIPs field).

Let's check:

root@goliat:~# gitkube remote create -f myremote.yaml
INFO[0000] remote eec-api-remote created
INFO[0000] waiting for remote url
FATA[0000] gitkube service of type LoadBalancer has no available IP/hostnames

root@goliat:~# kubectl get svc/gitkubed -n kube-system
NAME       TYPE           CLUSTER-IP      EXTERNAL-IP     PORT(S)          AGE
gitkubed   LoadBalancer   10.152.183.37   51.38.131.202   1022:30225/TCP   20h

I only changed the port of ssh service because 22 is used by my node (ssh server outside of k8s).
I can create the luckless url by myself, but gitkube can't. For example:
ssh://[email protected]:1022/~/git/default-myremote

I have already tried to create myremote.yaml object in the same namespace as gitkubed service, but the result was the same.

What do you propose?

Best Regards
Radek Kubiak

from gitkube.

toresbe avatar toresbe commented on June 1, 2024

I also have Radek's issue. I install gitkube and create the remote using the standard kubectl commands in the tutorial. I've tried this:

kubectl --namespace kube-system expose deployment gitkubed --type=LoadBalancer --name=gitkubed --external-ip=192.168.3.101

But to no avail. After a while I ended up just giving up and reverting to building and pushing locally, which is a shame because gitkube looks super neat.

from gitkube.

tirumaraiselvan avatar tirumaraiselvan commented on June 1, 2024

You can also check for the git remote url using kubectl: kubectl get remote myremote -o yaml and look in the status section. See https://github.com/hasura/gitkube#deploying-application

from gitkube.

toresbe avatar toresbe commented on June 1, 2024

Thank you for the reply. I did do this, but kubectl | grep Url - I do not have the exact string handy but the error message was indeed gitkube service of type LoadBalancer has no available IP/hostnames.

from gitkube.

shmox75 avatar shmox75 commented on June 1, 2024

Any news about this issue ?

from gitkube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.