Customization overview
Explore how to customize your Kubernetes optimization journey
PerfectScale allows easy cluster management through profiles, increasing productivity with minimal effort. PerfectScale provides various customizations to help you create your own K8s optimization ecosystem, enhancing observability across your environment and simplifying alerting, ticketing, pricing management, etc., to ensure you achieve the best possible results.
To make your optimization process seamless and personalized, PerfectScale provides various out-of-the-box integrations, helping you to build your optimization ecosystem tailored to your business needs.
You can quickly configure integrations using Customization Profiles (YAML files) via UI, or customize your environment by configuring profiles with CRDs.
✨ Recommended path
Create and test profiles in the UI first.
Use refByID to reference the profile by its ID (case-sensitive).
Ensure the profile type you are referencing matches the existing profile type.
apiVersion: perfectscale.io/v1
kind: ClusterSettings
metadata:
name: cluster-settings-main
namespace: perfectscale
spec:
profiles:
pricing:
# Reference an existing pricing profile by ID
# No assigned field needed - refByID is always assigned
- type: custom
refByID: "pricing-1"Configuring integration profile via UI
You can seamlessly create an integration profile directly from the PerfectScale UI. Simply go to Settings, select the integration type, and click Add profile. This approach allows you to set up and manage integrations quickly and accurately. Detailed step-by-step instructions for each integration type are provided on their dedicated integration pages.

Created profiles in the UI can be referenced in a CRD using refByID.
Example:
Prerequisites for configuring the integration profile via CRD
If psc-exporter (v1.0.80+) is newly installed, the required CRDs are installed automatically, allowing you to manage cluster settings using custom resources (CRs). However, CRDs are not installed automatically when running a helm upgrade. If you are upgrading, you must install the CRDs manually by running:
Combining refByID and inline integrations
You have the option to configure a CR that combines multiple integrations, allowing you to manage them with a single resource. Additionally, you can include existing profiles that were previously configured via the PerfectScale UI, giving you flexibility to mix and match inline and UI-based configurations in one setup.
You can combine both approaches by referencing profiles created in the PerfectScale UI directly in your CR using refByID (case-sensitive). However, refByID cannot reference profiles created via CR, and a CR cannot have both refByID and an inline profile with assigned: true for the same type.
Example:
✅ Valid:
refByID+ inline profiles withassigned: false(for testing)❌ Invalid:
refByID+ inline profile withassigned: true
Example
Deleting a profile
To delete a profile, it must first be unassigned from all clusters. If the profile is still assigned to one or more clusters, deletion is blocked, and a pop-up message will inform you of the reason with the following instructions.

To unassign a profile from all clusters, navigate to Manage Assignments and deselect the relevant profile.
Troubleshooting
CRD creation failed
Check if ClusterSettings already exists:
kubectl get clustersettings -n perfectscaleReview logs:
kubectl logs -n perfectscale -l app=perfectscale-exporter
Profile not applied
Check logs for sync errors
Verify secrets exist:
kubectl get secrets -n perfectscaleCheck profile format matches the type
Secret not found
Verify secret exists:
kubectl get secret <secret-name> -n perfectscaleEnsure the secret is in
perfectscalenamespace
Profile deletion failed
Ensure the profile is unassigned from all clusters
If it is still assigned, navigate to Manage Assignments and deselect the relevant profile.
Last updated
Was this helpful?