Git Product home page Git Product logo

insights-client's Introduction

insights-client

Uses Red Hat Connected Customer Experience (CCX) to provide health check insights for all managed cluster (clusters have to be Openshift versioned >= 4.X). The insights-client will create a Custom Resource (PolicyReport) for each cluster that contains all Insight violations.

Development

  1. Install dependencies
    make deps
    
  2. Generate self-signed certificate for development
    sh setup.sh
    
  3. Log into your development cluster with oc login ....

    Alternative: set the KUBECONFIG environment variable to some other kubernetes config file.

  4. Run the program
    make run
    

Environment Variables

Control the behavior of this service with these environment variables.

Name Required Default Value Description
HTTP_TIMEOUT no 180000 3 minute timeout to process a single requests
CCX_SERVER no http://localhost:8080/api/v1/clusters CCX server url (prod will use: https://cloud.redhat.com/api/insights-results-aggregator/v1)
CCX_TOKEN no Not set If not set client will get cloud.openshift.com token from secret openshift-config
POLL_INTERVAL no 30 30 minute default polling interval cloud.redhat.com
REQUEST_INTERVAL no 1 1 second Interval between 2 consecutive Insights requests
CACERT no Not set Used for dev & test ONLY

Rebuild: 2022-09-16

insights-client's People

Contributors

anxhela21 avatar dhaiducek avatar dislbenn avatar gparvin avatar jlpadilla avatar mprahl avatar mqhackett avatar sherinv avatar willkutler avatar xrajesh avatar zlayne avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.