GithubHelp home page GithubHelp logo

remoteUrl not created about gitkube HOT 11 CLOSED

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024
remoteUrl not created

from gitkube.

Comments (11)

tirumaraiselvan avatar tirumaraiselvan commented on June 12, 2024

@vanhumbeecka What is the gitkube version ? gitkube version

Also can you see if gitkubed svc has a proper loadbalancer ip ? kubectl get svc -n kube-system

from gitkube.

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024

gitkube version: v0.3.0
kubectl get svc -n kube-system:

NAME       TYPE           CLUSTER-IP      EXTERNAL-IP                                                              PORT(S)         AGE
gitkubed   LoadBalancer   10.100.113.37   a9568d91ae99d11e8ba7c02f2ae16eb8-677891630.eu-west-1.elb.amazonaws.com   22:30032/TCP    1h
kube-dns   ClusterIP      10.100.0.10     <none>                                                                   53/UDP,53/TCP   4h

from gitkube.

tirumaraiselvan avatar tirumaraiselvan commented on June 12, 2024

Looks like everything is fine. Can you send me the output of kubectl get remote <remote-name> -o yaml ?

from gitkube.

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024

sure.

apiVersion: v1
items:
- apiVersion: gitkube.sh/v1alpha1
  kind: Remote
  metadata:
    clusterName: ""
    creationTimestamp: 2018-11-16T14:02:24Z
    generation: 1
    name: myremote
    namespace: default
    resourceVersion: "19187"
    selfLink: /apis/gitkube.sh/v1alpha1/namespaces/default/remotes/myremote
    uid: 3e1cea97-e9a8-11e8-a0da-06383870ab68
  spec:
    authorizedKeys:
    - |
      ssh-rsa <removed here>
    deployments:
    - containers:
      - dockerfile: microservices/nginx/Dockerfile
        name: www
        path: microservices/nginx
      name: www
    manifests:
      helm: {}
      path: manifests
    registry:
      credentials:
        secretKeyRef:
          key: ""
        secretRef: regsecret2
      url: 798312675893.dkr.ecr.eu-west-1.amazonaws.com
  status:
    remoteUrl: ""
    remoteUrlDesc: ""
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

from gitkube.

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024

Like the documenation said, I created some container repositories on AWS in advance, matching the naming convention specified, so default-myremote-default.www-www

from gitkube.

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024

And here is the output of gitkube remote list

NAME         URL     ERROR
myremote

from gitkube.

tirumaraiselvan avatar tirumaraiselvan commented on June 12, 2024

Okay. I think something is up with the controller. Can you check the statue of gitkube-controller pod?

kubectl get pods -n kube-system. Look for gitkube-controller and please post the statue and logs here.

from gitkube.

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024

Ok, forgot to check that, indeed the controller is in a pending state...

output of kubectl get pods -n kube-system:

NAME                                  READY   STATUS    RESTARTS   AGE
gitkube-controller-85c8fbf8cc-qgqvs   0/1     Pending   0          1h
gitkubed-5c5c774d9b-49zx5             0/1     Pending   0          1h
kube-dns-fcd468cb-jvw5k               0/3     Pending   0          4h

from gitkube.

tirumaraiselvan avatar tirumaraiselvan commented on June 12, 2024

Seems like for some reason everything is pending. You can see the details by kubectl get pods <pod-name> -n kube-system -o yaml

from gitkube.

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024

Ok, checking the state of the kube-dns pod, i noticed these events:

Events:
  Type     Reason            Age                     From               Message
  ----     ------            ----                    ----               -------
  Warning  FailedScheduling  2m8s (x961 over 4h43m)  default-scheduler  no nodes available to schedule pods

I assumed eks with have a sensible default on startup?

from gitkube.

vanhumbeecka avatar vanhumbeecka commented on June 12, 2024

anyway, thank you for looking into it. The problem is in the cluster itself, so my bad.

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.