【文件属性】:
文件名称:aad-pods:演示如何在AKS中使用AAD Pod
文件大小:41KB
文件格式:ZIP
更新时间:2021-05-13 22:05:59
kubernetes managed-service-identity azure-kubernetes-service Shell
介绍
该项目提供了一些有关将Azure AAD基于身份用于AKS中的Pod的示例。 它与Azure托管服务身份(MSI)密切相关
克隆此存储库
在/aad-pod-identity处有一个git-submodule是必需的。
要下载子模块,请运行:
git submodule init # checks the config file .gitmodules
git submodule update # fetches data from the remote
部署步骤
0.使用Azure CLI和bash
以下步骤需要 ,请确保在开始之前下载并。
如果您使用的是Windows,则应将或其他Bash终端。
1.在Azure(AKS)上创建Kubernetes群集
您可以按顺序在/scripts/1-init-aks遵循这些脚本
1.注册所需的资源类型
./scripts/1-ini
【文件预览】:
aad-pods-master
----.gitmodules(105B)
----images()
--------vsts-deploy-tasks.png(24KB)
--------k8s-endpoint-vsts.png(12KB)
----deploy()
--------aadpodidentitybinding.yaml(138B)
--------aadpodidentity.yaml(321B)
--------demo.deployment.yaml(905B)
----aad-pod-identity()
----README.md(12KB)
----scripts()
--------3-deploy-demo()
--------2-config-aks()
--------1-init-aks()