Giter Club home page Giter Club logo

Comments (3)

salaboy avatar salaboy commented on August 17, 2024

@mgoltzsche my two cent.. this is easier said than done.
The JX CLI tools is a Go binary as far as I am aware, and it encapsulates a lot of API calls to different Kubernetes components.
It is not like the Operator/Controller pattern is not being leverage, it is more like most of the magix happens inside this binary and that is reused all over the place.. this avoid having services which expose APIs just to call other services (like the k8s apis or tekton) that are already there..

I will leave the experts to express their opinions here... but from an outsider point of view , the jx cli can be modularized.. but i believe that I would also keep the jx services to the minimum..

from enhancements.

salaboy avatar salaboy commented on August 17, 2024

@mgoltzsche can you give specific examples:

not all processes are modeled using a CRD: therefore some information can only be derived by joining multiple resources. Instead there should be a denormalized CRD for every business process to support simply k8s API queries and extension.

I am interested in that one ..

from enhancements.

mgoltzsche avatar mgoltzsche commented on August 17, 2024

@salaboy examples:

  • while Jenkins X supports promotions there is no particular CRD that reflects it. Instead this information needs to be derived from PRs and builds which is cumbersome. Having a CRD would certainly help.
  • Apparently not all information is synced from Tekton PipelineRun CRs to jx' corresponding PipelineActivity which is why both have to be joined in some cases - this is probably the most trivial to solve, especially since there's already a build controller which copies status information from tekton to jx CR. Generally I'd like to establish the idea that CRDs should be denormalized to be easily queryable which is important a) for users to get a better understanding of jx and b) for the community to simplify contribution (e.g. apps) because all data is easily accessible in a k8s standard way.

from enhancements.

Related Issues (16)

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.