azure - 我的托管集群 VirtualMachineScaleSet 中的 vmssCSE 扩展是什么?

标签 azure azure-aks

我创建了一个包含两个 VirtualMachineScaleSet 代理池的托管集群。现在我尝试将 CustomScript 扩展安装到 VMSS,但失败,因为已经安装了扩展。

{
  "name": "vmssCSE",
  "properties": {
    "autoUpgradeMinorVersion": true,
    "publisher": "Microsoft.Azure.Extensions",
    "type": "CustomScript",
    "typeHandlerVersion": "2.0",
    "settings": {}
  }
}

这个扩展有什么作用?显然它没有任何设置。删除它安全吗?如何防止在创建集群时创建它?

最佳答案

对于 Azure Kubernetes 服务,它是 Azure 中的托管服务并由 Azure 管理。无论是 VirtualMachine 代理还是 VirtualMachineScaleSet 代理,都不建议手动更改其 IaaS 资源。它显示在 Azure AKS FAQ 中:

Can I use custom VM extensions?

No. AKS is a managed service, and manipulation of the IaaS resources is not supported. To install custom components, etc. please leverage the kubernetes APIs and mechanisms. For example, leverage DaemonSets to install required components.

Azure 在创建时安装现有扩展,以将 VM 或 VMSS 配置为 AKS 群集中的节点。因此删除它们并不安全。

关于azure - 我的托管集群 VirtualMachineScaleSet 中的 vmssCSE 扩展是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58013091/

相关文章:

Azure Kubernetes - 如何确定可用于内部负载均衡器的 DNS 名称?

ubuntu - 如何在我的 Ubuntu 机器上安装 Velero 客户端?

kubernetes - Kubernetes 中 Cert-Manager 的自签名证书问题

php - 将此 cuRL 转换为 CFHTTP - Azure NotificationHub

node.js - 基于 botframework v4 将对话框中的消息数据记录到 Node.js 机器人中的 Application Insights

c# - 在.NET core 2 MVC应用程序中配置JWT访问 token

azure - Windows Azure RDP/FTP

c# - 将 Firestore 与 Azure Functions V2 结合使用 (C#)

azure-devops - Azure DevOps 构建管道 : COPY failed: stat . 。没有这样的文件或目录

azure - 在 Azure AKS 中使用 Kubernetes Ingress 有哪些优势