简体   繁体   English

如何检查 Kube.netes 集群中是否启用了 Workload Identity?

[英]How to check if Workload Identity is enabled in a Kubernetes cluster?

Pretty much the title.标题差不多。 I used kubectl config view but didn't see anything that would make me know whether it is enabled or not.我使用kubectl config view但没有看到任何可以让我知道它是否已启用的信息。 I am also using google kube.netes engine.我也在使用谷歌 kube.netes 引擎。

I found a web page with a great solution to this problem: https://medium.com/google-cloud/mapping-kube.netes-service-accounts-to-gcp-iams-using-workload-identity-b53496d543e0我找到了一个 web 页面,它很好地解决了这个问题: https://medium.com/google-cloud/mapping-kube.netes-service-accounts-to-gcp-iams-using-workload-identity-b53496d543e0

If you go to the end, they demonstrate testing WI by launching a gsutil container that you can download from google.如果你 go 到最后,他们会通过启动一个你可以从谷歌下载的 gsutil 容器来演示测试 WI。 You can then use this dockerized version of gsutil to test connectivity to buckets straight from your kube.netes infrastructure.然后,您可以使用这个 dockerized 版本的 gsutil 来测试直接从您的 kube.netes 基础设施到存储桶的连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Kube.netes 服务上使用应用程序的工作负载身份:kube.netes - Workload identity with application on Kubernetes service:kubernetes 如何应用 kubernetes 工作负载 - How to apply kubernetes workload 如何检查 kubernetes 集群的健康状况 - How to check health of kubernetes cluster 如何通过 Google Cloud Classic VPN 从外部网络连接到 Kubernetes 工作负载集群 IP? - How can i connect to a Kubernetes Workload Cluster IP from an external network via a Google Cloud Classic VPN? 使用 Workload Identity 在 Kube.netes 上的 Cloud ML Engine 中的容器中验证独立 gsutil - Authenticating standalone gsutil in containers in Cloud ML Engine on Kubernetes with Workload Identity 用于将 GKE 集群连接到不同 GCP 项目的工作负载身份 - Workload identity to connect a GKE cluster to a different GCP project 如何检查 Kubernetes 集群是否运行良好 - How to check if Kubernetes cluster is running fine 如何检查 kubernetes 集群中现有的用户和组? - How to check existing users and groups in kubernetes cluster? 如何查看 kubernetes 集群的 kubectl 执行历史? - How to check kubectl execution history of a kubernetes cluster? 如何在 kubernetes 工作负载规范中找到不可变字段? - How to find the immutable fields in a kubernetes workload spec?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM