Giter Site home page Giter Site logo

kubectl plugin about client HOT 8 CLOSED

knative avatar knative commented on August 23, 2024 1
kubectl plugin

from client.

Comments (8)

sixolet avatar sixolet commented on August 23, 2024 1

from client.

ahmetb avatar ahmetb commented on August 23, 2024 1

Unless you plan on exposing kn as kubectl serverless [...] or something like that, you probably shouldn't use plugins.

That said, using https://github.com/kubernetes/cli-runtime helps you reuse the flag parsing, printing etc functionality from kubectl.

I'm happy to discuss kubectl plugins anytime. But unless the client would be advertised as a kubectl subcommand, it is probably not the best fit.

from client.

steren avatar steren commented on August 23, 2024

Thanks, that makes sense.

CC @ahmetb

from client.

steren avatar steren commented on August 23, 2024

I actually opened this issue to discuss this point: do we need a standalone kn client? or would a kubectl plugin be more idiomatic to our user base?

from client.

maximilien avatar maximilien commented on August 23, 2024

I believe we need a standalone kn client. And having plugins to extend / experiment on the client is also useful.

We had some discussion on this on 04/16/2019. I have some opinions and would like to restart the discussion if others are interested.

from client.

maximilien avatar maximilien commented on August 23, 2024

Since this issue is discussing kn as a kubectl plugin, which is a valid issue for discussion, I am opening a different one on adding plugins to kn itself, see issue #92.

I will present and demo a proposal during Tuesday 04/06/2019's call.

from client.

rhuss avatar rhuss commented on August 23, 2024

I actually opened this issue to discuss this point: do we need a standalone kn client? or would a kubectl plugin be more idiomatic to our user base?

I think one of the main motivation of the kn client is to be completely agnostic to Kubernetes and also be able to support Knative implementations which are not based on Kubernetes.

Having plugins for kn though is a different story.

from client.

steren avatar steren commented on August 23, 2024

Seems like the consensus is to not ship via a kubectl plugin but via a standalone binary. Closing.

from client.

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.