Excluding a namespace or workload from the Automation
Learn how to effortlessly exclude a cluster, namespace, or workload from your Automation configuration
In some cases, you might want to exclude specific namespaces or workloads from automation. Use the following configurations in order to exclude the particular namespace or workload from automation in the cluster
Exclude a namespace
apiVersion: perfectscale.io/v1
kind: NamespaceAutomationConfig
metadata:
name: your-namespace-automation-config
namespace: your-namespace # The namespace where the configuration should be applied
spec:
automation:
operational:
automationMode: Disabled # Disables Automation for the specified namespaceExclude kube-system namespace
By default, PerfectScale does not automate the kube-system namespace. However, in some cases, GCP users may encounter warning banners. If you notice this warning and want to prevent PerfectScale from intercepting the pods in this namespace (meaning you don't want to automate the kube-system namespace at all), further configuration is needed.
There are two ways to exclude the kube-system namespace completely:
Set
excludeNamespacestokube-systemhere.
excludedNamespaces: ["kube-system"]Upgrade the Automation Agent by running the following command:
Exclude a workload
Exclude workload(s) by label
Last updated
Was this helpful?