Skip to main content

Updating PerfectScale Agent resources — Self-hosted 2.0

PerfectScale installation consists of two components:

  • An agent
  • kube-state-metrics.

Both components arrive with the defaults. However, one might want to update clusters that are either very small or extremely large (according to PerfectScale recommendations).

In order to update a cluster, a values.yaml customization file needs to be created, as shown in the example below.

Info

Make sure to replace the numbers from the example with your own.

values.yaml:

resources:
requests:
cpu: 30m
memory: 50M
limits:
memory: 200M

kube-state-metrics:
resources:
requests:
cpu: 50m
memory: 50M
limits:
memory: 200

Apply changes:

helm repo update perfectscale

helm upgrade --install -n perfectscale \
-f values.yaml \
--set settings.clusterName=CLUSTER_NAME \
perfectscale perfectscale/exporter
Info

To view all the default helm values, visit the values.yaml file.