Configuring Add-on Resource Requests and Limits

PMK allows the users to set the request and limits of an add-on. This guide walks through the steps involved in setting these resources, as well as, describes the available resource fields per add-on.

How to use this feature

  • On the workload cluster, list the add-ons to ensure that the add-on you are looking to modify is available.
  • Pick the add-on you wish to add resource specifications to. In this example, we will use metalLB. Edit the metalLB add-on object, and add the following fields to it under the override.params section:
  • Save and exit.
YAML
Copy
YAML
Copy

It is important to set the localOverride field in the addon object. Without this set, the default behavior of sunpike being the source of truth will continue.

If there is a key in the override list that the addon operator does not recognize, it will simply ignore it.

  • Once these fields are set, you will see the values showing up on the actual addon objects.
YAML
Copy

Reference

The list of supported resource field names per addon is as follows:

Cluster Autoscaler (AWS)

YAML
Copy

CoreDNS

YAML
Copy

Kubernetes Dashboard

YAML
Copy

Kubevirt

YAML
Copy

Luigi (Advanced Networking Operator)

YAML
Copy

MetalLB

YAML
Copy

Metrics Server

YAML
Copy

Monitoring

YAML
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated