![](/img/trans.png)
[英]Is there a way to see why I am not seeing any events when I try to use an Ingress with GKE?
[英]Is there a way to see RBAC events for GKE clusters?
我有一個 GKE 集群,它混合使用 Cloud IAM 和集群 RBAC 規則進行資源訪問。 對於粒度,我們對集群上的某些資源使用 RBAC 綁定,但我無法找到記錄這些事件的位置。
當集群 RBAC 拒絕用戶執行某項操作的權限時,我如何查看日志? 我只能在 Cloud Logging 的審核日志中看到與 IAM 相關的日志。 我想知道集群本身何時拒絕訪問。
您可以查看 Kube API 日志
kubectl proxy &
curl -s http://localhost:8001/logs/kube-apiserver.log
雖然 GKE 記錄: https ://cloud.google.com/kubernetes-engine/docs/how-to/audit-logging#viewing_logs
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.