Jobs

What are Jobs?

How they work

A user would fire up the terminal and run a normal kubectl command. This will trigger KubeLogin, which will open the browser. Kubelogin will be configured to use Dex along with GitHub (our choice for this demo). Hence the page will show the Dex portal with the GitHub as an option. The user will then choose one of the ways to authenticate, provide the credentials and login. Internally, Dex will communicate with GitHub and get the id token which will be passed to Kubelogin. Kubelogin will return this token to kubectl that will use it to authenticate the user with the Kubernetes API server.

Scheduling of Jobs

How it works

Scheduler Service

NATS:

KEDA: Listens to NATS and scales the jobs.

Types of Job

  1. Compliance

  2. Inventory/Discovery

  3. Metrics (or Analytics)

  4. Other Jobs:

    1. Connection Health Check

    2. Compliance

    3. Summarizers

    4. Runners

    5. Migration / Initial Population of Data

How Discovery Jobs

How Compliance Works