使用 mTLS 設定 apigee-monit

私有雲 4.19.01 版本

apigee-monit 工具會定期輪詢邊緣服務;如果服務無法使用,則 apigee-monit 會嘗試重新啟動服務。除了一般 Edge 服務外,apigee-monit 還會搭配 Apigee mTLS 檢查 consul_serverconsul_egress 和 Ingress Proxy 的狀態。

您必須先將工具的擁有者變更為 root,才能搭配 apigee-monit 使用 mTLS。如要這麼做,請在叢集中的每一個節點執行下列指令:

/opt/apigee/apigee-service/bin/apigee-service apigee-monit stop
/opt/apigee/apigee-service/bin/apigee-service apigee-monit chown root root
/opt/apigee/apigee-service/bin/apigee-service apigee-monit start

如要進一步瞭解如何將 monit (根據 apigee-monit 採用的工具) 與 Consul 搭配使用,請參閱: