Git Product home page Git Product logo

Comments (10)

Shelley-BaoYue avatar Shelley-BaoYue commented on June 3, 2024

cc @luomengY

from kubeedge.

luomengY avatar luomengY commented on June 3, 2024

cc @luomengY

Keam init has restructured its architecture on v1.17, and now only supports internal profiles/version.yaml for profiles. If you want to specify a version, it is recommended to use --kubeedge-version directly. The --profile parameter only supports version.

from kubeedge.

Shelley-BaoYue avatar Shelley-BaoYue commented on June 3, 2024

The --profile parameter only supports version.
--> but now I cannot using --profile version to specify cloudcore version.

The setup documentation in KubeEdge website still recommend users using --profile version: https://kubeedge.io/docs/setup/install-with-keadm#keadm-init. If we no longer support it, we need to modify the documentation.

I think this change affects user behavior and needs a deprecated phase. Release changelog also should declare it. cc @fisherxu @WillardHu @wbc6080

from kubeedge.

WillardHu avatar WillardHu commented on June 3, 2024

We can update how to use the command keadm init in the documentation station(website).
We can also add a compatibility processing.

if strings.split(profileValue, "=") == 2 {
    // override the kubeedge version to version.yaml
} else {
    ....
}

But I don't know whether this flag --profile version=<version> is commonly used, it is the same as the flag --kubeedge-version=<version> from a technical point of view.

Would you like to make these contributions? @luomengY

from kubeedge.

luomengY avatar luomengY commented on June 3, 2024

We can update how to use the command keadm init in the documentation station(website). We can also add a compatibility processing.

if strings.split(profileValue, "=") == 2 {
    // override the kubeedge version to version.yaml
} else {
    ....
}

But I don't know whether this flag --profile version=<version> is commonly used, it is the same as the flag --kubeedge-version=<version> from a technical point of view.

Would you like to make these contributions? @luomengY

Here, the functions of profile and kubedge-version appear to be the same. Is there any other use of profile here? If not, I think it can be directly made compatible in the code by assigning the value of profile to kubedge-version. What do you think? @fisherxu @Shelley-BaoYue @WillardHu

from kubeedge.

WillardHu avatar WillardHu commented on June 3, 2024

Here, the functions of profile and kubedge-version appear to be the same. Is there any other use of profile here? If not, I think it can be directly made compatible in the code by assigning the value of profile to kubedge-version. What do you think? @fisherxu @Shelley-BaoYue @WillardHu

If this flag --profile version=<version> is not commonly used, I think it is ok.

from kubeedge.

Shelley-BaoYue avatar Shelley-BaoYue commented on June 3, 2024

CloudCore installation only supports the --profile version initially, and with the guidance of the official website, I think it's commonly used. If we want to incorporate it into kubeedge-version in the future, we need to make a statement in the keadm introduction and website documentation to gradually deprecate it.

from kubeedge.

wbc6080 avatar wbc6080 commented on June 3, 2024

CloudCore installation only supports the --profile version initially, and with the guidance of the official website, I think it's commonly used. If we want to incorporate it into kubeedge-version in the future, we need to make a statement in the keadm introduction and website documentation to gradually deprecate it.

+1, I just read the document and found that when the cloud node executes keadm init, --profile version is used, but when the edge node executes keadm join, --kubeedge-version is used. I think whether we can combine the two ways into one expression in the future.

from kubeedge.

luomengY avatar luomengY commented on June 3, 2024

CloudCore installation only supports the --profile version initially, and with the guidance of the official website, I think it's commonly used. If we want to incorporate it into kubeedge-version in the future, we need to make a statement in the keadm introduction and website documentation to gradually deprecate it.

ok, can we ensure compatibility at the code level and assign the value of profile to kubedge-version now?

from kubeedge.

luomengY avatar luomengY commented on June 3, 2024

I just read the document and found that when the cloud node executes keadm init, --profile version is used, but when the edge node executes keadm join, --kubeedge-version is used. I think whether we can combine the two ways into one expression in the future.

Yes, if there are no other uses for profile, we can gradually discard it.

from kubeedge.

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.