2020年11月10日 星期二

升級stackdriver-agent5.x 到 stackdriver-agent6.x on GCP


因為 stackdriver-agent5.x 將在2020 年 4 月 28 日停止使用
所以我這邊做了下列升級步驟




yum remove stackdriver-agent -y

curl -sSO https://dl.google.com/cloudagents/add-monitoring-agent-repo.sh

bash add-monitoring-agent-repo.sh

yum clean all

yum list --showduplicates stackdriver-agent

yum install -y stackdriver-agent-6.*



參考網址:
https://cloud.google.com/monitoring/agent/installation#upgrade
https://cloud.google.com/monitoring/agent/installation#upgrade

沒有留言:

張貼留言