Skip to content

Support for K8S Probes #1412

Description

@csviri

This issue is about supporting Kubernetes Probes from the framework.

The main question is how to map probes to operators in general:

  • Liveness - is operator started? (So start method called?) Is there any other meaningful way?.
    Should be this bound to sync timeout: Event Source Sync Timeout #1318 ? So if out of sync it is basically not alive?

  • Readyness (or Startup?) - probes is naturally can be bidden to event source sync, so the operator is ready when event sources are already synced.

The API:

Operator operator = new Operator()
...
operator.start()

// from this point the methods
boolean ready = operator.isReady()
boolean alive = operator.isAlive()

User later can call those methods from a servlet container or whatever integration chooses with K8S for the probes.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions