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-08-29 UTC."],[[["\u003cp\u003eApigee hybrid supports Kubernetes Taints and Tolerations only when using Helm charts for installation management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etolerations\u003c/code\u003e override property must be defined for each Apigee hybrid component to utilize the Taints and Tolerations feature.\u003c/p\u003e\n"],["\u003cp\u003eMultiple components including \u003ccode\u003eao\u003c/code\u003e, \u003ccode\u003eapigeeIngressGateway\u003c/code\u003e, and \u003ccode\u003ecassandra\u003c/code\u003e among others, support the definition of tolerations.\u003c/p\u003e\n"],["\u003cp\u003eTolerations are applied by adding \u003ccode\u003etolerations:\u003c/code\u003e properties in the overrides file and then upgrading the corresponding Helm chart.\u003c/p\u003e\n"],["\u003cp\u003eThe Apigee operator and Cassandra StatefulSet are given as examples on how to apply the toleration properties.\u003c/p\u003e\n"]]],[],null,["# Using Kubernetes Tolerations\n\n| You are currently viewing version 1.12 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.12/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 ```"]]