google-cloud-platform - 如何使用针对 Google 容器优化操作系统的计算实例使用操作系统补丁管理?

标签 google-cloud-platform operating-system google-compute-engine patch google-container-optimized-os

根据 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 jobsSupported 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 requestGoogle Issue Tracker如果你需要这个功能。

关于google-cloud-platform - 如何使用针对 Google 容器优化操作系统的计算实例使用操作系统补丁管理?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61873290/

相关文章:

java - 谷歌云K8s集群中Spring Java资源安全

django - 对于 django-storages 和 GCE,如何设置 GS_CREDENTIALS?

kubernetes - Stackdriver自定义指标聚合警报

docker - 从没有 gcloud 的 Google Container Registry 中提取私有(private) docker 镜像

asp.net-core - Google Cloud Platform 上的 NET Core 2.1 无法验证 HTTPS 连接 TLS 握手失败,数据包格式意外

machine-learning - 无法从 Google 机器学习 Cloud REST API 获取结果

linux - Linux Kernel无法支持1GB物理内存及HIGHMEM解决方案

c - 如何从用户程序中调用用内核模块编写的函数?

c - 在 fork() 之后打印子编号

firebase - Firebase 数据库规则中允许写入和允许创建更新之间的区别