Coder Social home page Coder Social logo

Bug report in "PARENTURL" about clusternet HOT 8 CLOSED

SLZ0106 avatar SLZ0106 commented on July 21, 2024
Bug report in "PARENTURL"

from clusternet.

Comments (8)

dixudx avatar dixudx commented on July 21, 2024

the cmd report that "'PARENTURL' is not recognized as an internal or external command" in the file folder "clusternet-main".

@SLZ0106 Actually this is a common error of envsubst. Please make sure envsubst is installed successfully. You can reinstall it if needed.

Also please help check your SHELL by env | grep SHELL.

Try PARENTURL=https://192.168.10.10 REGTOKEN=07401b.f395accd246ae52d envsubst < ./deploy/templates/clusternet_agent_secret.yaml to see the output.

from clusternet.

dixudx avatar dixudx commented on July 21, 2024

However, when I used kubectl get clsrr to check cluster registrations, the bash reported "No resources found".

This seems to be another question.

@Bryceknows It seems that a ClusterRegistrationRequest is not created successfully. Please check the logs of clusternet-agent. The logs will give us a clue.

Also please remember to use current latest version v0.2.0 instead of main branch.

from clusternet.

dixudx avatar dixudx commented on July 21, 2024

I also tried kubectl get clsrr clusternet-dc91021d-2361-4f6d-a404-7c33b9e01118 -o yaml , and it reported "Error from server (NotFound): clusterregistrationrequests.clusters.clusternet.io "clusternet-dc91021d-2361-4f6d-a404-7c33b9e01118" not found".

The cluster id dc91021d-2361-4f6d-a404-7c33b9e01118 here is auto-generated. This always gets changed.

from clusternet.

Bryceknows avatar Bryceknows commented on July 21, 2024

I also tried kubectl get clsrr clusternet-dc91021d-2361-4f6d-a404-7c33b9e01118 -o yaml , and it reported "Error from server (NotFound): clusterregistrationrequests.clusters.clusternet.io "clusternet-dc91021d-2361-4f6d-a404-7c33b9e01118" not found".

Should I modify the URL or just use https://192.168.10.10?

from clusternet.

dixudx avatar dixudx commented on July 21, 2024

@Bryceknows You just need to change these settings to yours.

from clusternet.

dixudx avatar dixudx commented on July 21, 2024

cc @joshuakwan

from clusternet.

joshuakwan avatar joshuakwan commented on July 21, 2024

I also tried kubectl get clsrr clusternet-dc91021d-2361-4f6d-a404-7c33b9e01118 -o yaml , and it reported "Error from server (NotFound): clusterregistrationrequests.clusters.clusternet.io "clusternet-dc91021d-2361-4f6d-a404-7c33b9e01118" not found".

Should I modify the URL or just use https://192.168.10.10?

@Bryceknows

As we discussed, please try with 2 minikube clusters locally first before going to the staging env.

from clusternet.

Bryceknows avatar Bryceknows commented on July 21, 2024

Thanks. I will try.

from clusternet.

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.