GithubHelp home page GithubHelp logo

console-backend's People

Contributors

frodesundby avatar jhrv avatar rbjornstad avatar thokra-nav avatar

Stargazers

 avatar

Watchers

 avatar

console-backend's Issues

Add basic instrumentation

For console, we should be able to track some key metrics such as:

  • internal errors
  • failed external requests
  • request rate
    +++

Add support for onprem/fss

Add support for additional clusters using provided sets of:

a) cluster name
b) apiserver host
c) bearer-token with read-access to required resources

These clusters might be excluded from certain functionality such as billing in the future.

Generate kubernetes config based on input projects

Currently we are providing console-backend with a complete kubeconfig file containing the different clusters it should connect to in order to get information about the workloads.

To avoid this manual process, we can provide console-backend with a list of Google projects. When the application starts, we make requests to the Google API to discover the required information such as apiserver IP, certificate and name.

To make console-backend able to do these requests, we need to make some additional changes to nais-terraform-modules

We need:

  • Service account for console-backend
  • With workload identity, connecting it to the nais-system/console-backend k8s user
  • IAM permissions to get cluster info, and access to kubernetes clusters

Billing

Vi samler alt av billingdata fra både gcp og aiven i en BQ.
Vebjørn har allerede laget dashboards som gir et godt totalbilde, men dette er i metabase og dermed ikke tilgjengelig for tenants.

Ser for meg at vi inkluderer billinginformasjon i console i to steg:

Totaloversikt for tenant med breakdown på de ulike SKU'er fra aiven og google
billinginformasjon per team og applikasjon
For å ikke knekke budsjettet kan vi antakeligvis ikke gjøre direktespørringer for alle brukere mot BQ direkte. Vi bør derfor ha en form for caching på plass fra starten av.

Simple search API

We want to provide users with the ability to search for a application (instance) and team for quick navigation.

This should be sufficient for our initial release, and does not require full-text search.

The app-instances is readily available in our appinformer and the teams should/could be cached from team-admin.

Deployinformasjon i console

Vi har noe deployinformasjon i console i dag, men ingen god historikk.
Det hadde vært interessant å tilgjengeliggjøre deployhistorikk fra tidenes morgen.

Investigate continuous warnings from client-go

console-backend W0605 12:34:10.599207 1 reflector.go:347] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:169: watch of *unstructured.Unstructured ended with: an error on the server ("unable to decode an event from the watch stream: stream error: stream ID 157; NO_ERROR; received from peer") has prevented the request from succeeding

Does this have anything to do with nginx or LB configuration when communicating with apiserver? Timeouts?

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.