如要使用
Kubernetes 的 Taints and Tolerations 功能,您必須為每個 Apigee Hybrid 元件定義 tolerations 覆寫屬性。下列元件支援定義容許度:
aoapigeeIngressGatewaycassandracassandraSchemaSetupcassandraSchemaValidationcassandraUserSetupconnectAgentistiodloggermartmetricsmintTaskSchedulerredisruntimesynchronizerudcaWatcher
如要進一步瞭解這些元件,請參閱 設定屬性參考資料。
如要將容許度套用至個別元件,請在覆寫檔案中新增 tolerations: 設定屬性,然後升級元件的 Helm chart。
如需管理各混合式元件的 Helm 資訊套件清單,請參閱 Apigee Helm 資訊套件參考資料。
舉例來說,如要將容許度套用至 Apigee 運算子部署作業,請執行下列步驟:
- 在覆寫檔案中,將
tolerations:屬性新增至ao::ao: tolerations: - key: "key1" operator: "Equal" value: "value1" effect: "NoExecute" tolerationSeconds: 3600
- 將變更套用至
apigee-operator圖表:helm upgrade operator apigee-operator/ \ --install \ --create-namespace \ --namespace apigee-system \ --atomic \ -f overrides.yaml
如要將容許度套用至 Cassandra StatefulSet,請按照下列步驟操作:
- 在覆寫檔案中,將
tolerations:屬性新增至cassandra::cassandra: tolerations: - key: "key1" operator: "Equal" value: "value1" effect: "NoExecute" tolerationSeconds: 3600
- 將變更套用至
apigee-datastore圖表:helm upgrade datastore apigee-datastore/ \ --install \ --create-namespace \ --namespace
\ --atomic \ -f overrides.yaml