Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Decouple httptrigger and cronjob controllers from kubeless-controller-manager #785

@sayanh

Description

@sayanh

FEATURE REQUEST:
Currently, kubeless-controller-manager manages httptrigger and cronjob custom resources as well. Although kubeless supports a bunch of ingresses as httptriggers, users like us need something else. So in order to have an absolute decoupling of httptrigger and cronjobs, I propose to cut out httptrigger and cronjob from kubeless-controller-manager and have their own controllers. We can install these controllers in the out-of-box set up. But the real benefit of this will be to allow the power users to configure based on their needs and have an ala-carté experience altogether.

Additionally, it would be possible to rewrite custom controllers for these custom resources while keeping the kubeless-cli features(e.g. kubeless trigger) intact.

What happened:
If the CRDs for http-trigger and cronjobare not created(as they won't be used) then kubeless-controller-manager keeps spamming with a ton of errors:

E0528 13:35:58.382354       1 reflector.go:205] github.com/kubeless/kubeless/pkg/controller/cronjob_trigger_controller.go:133: Failed to list *v1beta1.CronJobTrigger: the server could not find the requested resource (get cronjobtriggers.kubeless.io)

Additionally, it is not possible to rewrite a custom controller for these custom resources.

Environment:

  • Kubernetes version (use kubectl version): 1.8+
  • Kubeless version (use kubeless version): v1.0.0-alpha.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions