簡體   English   中英

NGINX控制器安裝在Azure Kubernetes服務上

[英]NGINX controller install on Azure Kubernetes service

我在AKS上部署了Kubernetes 1.8.7集群。 我正在嘗試使用幫助安裝NGINX入口控制器(幫助安裝stable / nginx-ingress --namespace kube-system)。 我使用helm init --service-account默認值初始化了helm。 我收到以下錯誤

錯誤:發布my-release失敗:clusterroles.rbac.authorization.k8s.io“ my-release-nginx-ingress”被禁止:嘗試授予額外的特權:[PolicyRule {資源:[“ configmaps”],APIGroups:[“ “],動詞:[”列表“]} PolicyRule {資源:[” configmaps“],APIGroups:[”“],動詞:[” watch“]} PolicyRule {資源:[” endpoints“],APIGroups:[” “],動詞:[”列表“]} PolicyRule {資源:[”端點“],APIGroups:[”“],動詞:[” watch“]} PolicyRule {資源:[” nodes“],APIGroups:[” “],動詞:[”列表“]} PolicyRule {資源:[”節點“],APIGroups:[”“],動詞:[” watch“]} PolicyRule {資源:[” pods“],APIGroups:[” “],動詞:[”列表“]} PolicyRule {資源:[” pods“],APIGroups:[”“],動詞:[” watch“]} PolicyRule {資源:[” secrets“],APIGroups:[” “],動詞:[”列表“]} PolicyRule {資源:[”秘密“],APIGroups:[”“],動詞:[” watch“]} PolicyRule {資源:[” nodes“],APIGroups:[” “],動詞:[” get“]} PolicyRule {資源:[”服務“],APIGroups:[”“],動詞:[” get“]} PolicyRule {資源:[” services“],APIGroups:[” “],動詞 :[“ list”]} PolicyRule {資源:[“ services”],APIGroups:[“”],動詞:[“ update”]} PolicyRule {資源:[“ services”],APIGroups:[“”],動詞:[“ watch”]} PolicyRule {資源:[“ ingresses”],APIGroups:[“ extensions”],動詞:[“ get”]} PolicyRule {資源:[“ ingresses”],APIGroups:[“ extensions”] ,動詞:[“列表”]} PolicyRule {資源:[“女演員”],APIGroups:[“擴展名”],動詞:[“ watch”]} PolicyRule {資源:[“事件”],APIGroups:[“” ],動詞:[“ create”]} PolicyRule {資源:[“事件”],APIGroups:[“”],動詞:[“ patch”]} PolicyRule {資源:[“ ingresses / status”],APIGroups:[ “擴展名”],動詞:[“ update”]}] user =&{system:serviceaccount:kube-system:default 0296ac27-555a-11e8-a9ed-cad48efa2d60 [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated ] map []} ownerrules = [] ruleResolutionErrors = []

該命令一直有效到昨天,我沒有做任何更改,但是今天早上它停止了工作。 據我所知,Aks還不支持RBAC,因此創建了一個角色,並且映射到集群管理員是徒勞的。 有什么建議么

將--version 0.18.1添加到helm installhelm upgrade命令中。 仍然觸底,但罪魁禍首是https://github.com/kubernetes/charts/pull/5169

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM