根据 GCP的操作系统补丁管理,可以为Compute Instance VMs创建补丁作业有 OS config agent安装在其中。
This document解释了如果某些 VM 中没有代理,如何安装它。
它涵盖的操作系统是:
Windows Server/Ubuntu/Debian/RHEL/CentOS SLES/openSUSE
如何使用 Google 容器优化操作系统 (COS) 为计算实例创建补丁作业?
我找不到安装 OS config agent 的方法在这些 COS 实例中,既没有创建“操作系统补丁部署”的选项。这甚至可能吗?
最佳答案
不幸的是,您不能使用 OS patch management对于具有 Google Container Optimized OS 的 VM 实例 .
请查看文档 Creating patch jobs科Supported operating systems :
- Debian 9
- Ubuntu 16.04 and 18.04
- CentOS 6, 7, and 8
- Red Hat Enterprise Linux (RHEL) 6, 7, and 8
- Windows Server 2012R2, 2016, 2019, and semi-annual releases 1803 and 1809
- SUSE Enterprise Linux Server (SLES) 12 and 15, openSUSE Leap 15
此外,在 Setting up your VM 部分:
To use the OS patch management service, you need to set up the OS Config service API and install the OS Config agent. For detailed instructions, see Managing your operating systems.
正如您在文档 Managing your operating systems 中看到的那样科Installing the OS Config agent Google COS 没有选项。
您可以尝试提交 feature request在 Google Issue Tracker如果你需要这个功能。
关于google-cloud-platform - 如何使用针对 Google 容器优化操作系统的计算实例使用操作系统补丁管理?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61873290/