Skip to content

Add knob to run FEC on OpenShift workload partition #62

@andreaskaris

Description

@andreaskaris

Currently, it's not possible to schedule the FEC on the OpenShift workload partition, even if we wanted to. At the moment, this is not something that's supported in OpenShift SNO Telco deployments, but it would be good to have this knob just in case it's needed.

OpenShift management workload partitioning requires that 2 things be set for pods to run on the workload partition:

  • The namespace must be annotated by an admin or a privileged user with workload.openshift.io/allowed: management. This requirement makes sure that normal users cannot enable the feature without administrator consent.
  • A pod must opt in to being a management workload via annotation target.workload.openshift.io/management: {"effect": "PreferredDuringScheduling"}.

Therefore, the FEC operator can annotate its pods with the pods annotation. And if an admin wants to opt into the feature, they will have t add the namespace annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions