To use the
Taints and Tolerations feature of Kubernetes, you must define the
tolerations override property for each Apigee hybrid component.
The following components support defining tolerations:
Apply Tolerations to individual components by adding the tolerations:
configuration properties in your overrides file and then upgrading the Helm chart for the
component.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThis document explains how to use Kubernetes Taints and Tolerations with Apigee hybrid by defining the \u003ccode\u003etolerations\u003c/code\u003e override property for supported components.\u003c/p\u003e\n"],["\u003cp\u003eTolerations can be applied to specific Apigee hybrid components, including \u003ccode\u003eao\u003c/code\u003e, \u003ccode\u003eapigeeIngressGateway\u003c/code\u003e, \u003ccode\u003ecassandra\u003c/code\u003e, and others listed in the document, by modifying the overrides file.\u003c/p\u003e\n"],["\u003cp\u003eTo implement Tolerations, add the \u003ccode\u003etolerations:\u003c/code\u003e properties in your overrides file, then use Helm to upgrade the chart for the targeted component.\u003c/p\u003e\n"],["\u003cp\u003eThe instructions in the document show examples of applying Tolerations to the Apigee operator deployment and Cassandra StatefulSet, as well as the corresponding commands to implement this.\u003c/p\u003e\n"]]],[],null,["# Using Kubernetes Tolerations\n\n| You are currently viewing version 1.11 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n| **Note:** Apigee hybrid only supports Tolerations when you are using Helm charts to manage your hybrid installation.\n\n\nTo use the\n[Taints and Tolerations feature of Kubernetes](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/), you must define the\n`tolerations` override property for each Apigee hybrid component.\nThe following components support defining tolerations:\n\n- `ao`\n- `apigeeIngressGateway`\n- `cassandra`\n- `cassandraSchemaSetup`\n- `cassandraSchemaValidation`\n- `cassandraUserSetup`\n- `connectAgent`\n- `istiod`\n- `logger`\n- `mart`\n- `metrics`\n- `mintTaskScheduler`\n- `redis`\n- `runtime`\n- `synchronizer`\n- `udca`\n- `Watcher`\n\n\nSee the [Configuration property reference](/apigee/docs/hybrid/v1.10/config-prop-ref) for more information about these\ncomponents.\n\n\nApply Tolerations to individual components by adding the `tolerations:`\nconfiguration properties in your overrides file and then upgrading the Helm chart for the\ncomponent.\n\n\nSee the [Apigee Helm charts reference](/apigee/docs/hybrid/v1.11/helm-reference) for a list of which Helm\ncharts manage each hybrid component.\n\n\nFor example, to apply the tolerations to the Apigee operator deployment\n\n1. Add the `tolerations:` properties to `ao:` in your overrides file: \n\n ```actionscript-3\n ao:\n tolerations:\n - key: \"key1\"\n operator: \"Equal\"\n value: \"value1\"\n effect: \"NoExecute\"\n tolerationSeconds: 3600\n ```\n2. Apply the change to the `apigee-operator` chart: \n\n ```\n helm upgrade operator apigee-operator/ \\\n --install \\\n --create-namespace \\\n --namespace apigee-system \\\n --atomic \\\n -f overrides.yaml\n ```\n\nTo apply the tolerations to the Cassandra StatefulSet:\n\n1. Add the `tolerations:` properties to `cassandra:` in your overrides file: \n\n ```actionscript-3\n cassandra:\n tolerations:\n - key: \"key1\"\n operator: \"Equal\"\n value: \"value1\"\n effect: \"NoExecute\"\n tolerationSeconds: 3600\n ```\n2. Apply the change to the `apigee-datastore` chart: \n\n ```\n helm upgrade datastore apigee-datastore/ \\\n --install \\\n --create-namespace \\\n --namespace \\\n --atomic \\\n -f \u003cvar translate=\"no\"\u003eoverrides\u003c/var\u003e.yaml\n ```"]]