azure - Azure Kubernetes 服务创建问题
问题描述
我正在使用高级网络选项在 Azure 中创建 kubernetes 服务,其中我为它选择了特定的 vNet 和子网。
我收到如下错误:
{"code":"InvalidTemplateDeployment","message":"The template deployment failed with error: 'Authorization failed for template resource '<vnetid>/<subnetid>/Microsoft.Authorization/xxx' of type 'Microsoft.Network/virtualNetworks/subnets/providers/roleAssignments'. The client '<emailid>' with object id 'xxx' does not have permission to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/<subid>/resourceGroups/<rgid>/providers/Microsoft.Network/virtualNetworks/<vnetid>/subnets/<subnetid>/providers/Microsoft.Authorization/roleAssignments/xxx'.'."}
我有贡献者角色。
解决方案
根据以下文章,您将需要对 vNet 的所有者权限才能更改对它的访问。
推荐阅读
- xml - 带有 XSL 的 XML 从平面 xml 生成分层 xml
- docker - 绑定挂载目录时'rw'是什么意思
- windows - 挂钩 SSDT 后在将参数传递给 NtWriteFile 之前修改参数
- javascript - 来自 javascript 的 AngularJS v1.4 函数调用
- android - 我在 Flutter 中遇到了一个问题:在构建 TextField 时抛出了以下断言,它使我遇到了一个奇怪的问题
- javascript - 使 location.replace() 与 javascript keypress 事件处理程序中的表单输入一起工作
- typescript - NullInjectorError: No provider for e! on Angular 7
- java - 使 POJO 线程安全
- python - 调用函数时Python中的值错误
- haskell - 使用 `Proxy s` 绑定类型与使用 forall 绑定类型