英文: kubebuilder create webhook requires a previously created API 问题 我正在尝试创建一个验证的 webhook。 kubebuilde...
如何在Golang中使用Kubernetes API获取区域(zone)和Pod信息?
英文: How to get zone and pod information using kubernetes api in golang 问题 我是新手,想要使用 Kubernetes 的 API...
使用 apimachinery 通过 .spec.selector.matchLabels 键列出部署。
英文: List deployments using apimachinery by the .spec.selector.matchLabels key 问题 我想根据在.spec.selector...
重构 Golang 函数 – 应该使用什么类型?
英文: Refactor golang function - what type should be used? 问题 可以将以下函数重构为一个函数getResource(name string, r...
SharedInformerFactoryWithOptions – 无法根据标签进行过滤。
英文: SharedInformerFactoryWithOptions - Not able to filter based on labels 问题 我想要监视特定应用程序的Kubernetes ...
你可以使用client-go API从Kubernetes中获取Pod的事件消息。
英文: How can I get events messages from a pod from Kubernetes using client-go API? 问题 你可以使用client-go ...
有没有一种优雅地结束 Kubernetes client-go 中的 Pod 的方法?
英文: Is there a way to gracefully end a pod with the Kubernetes client-go? 问题 主要问题是是否有一种方法可以使用client-...
使用client-go的fake client来模拟错误
英文: Mocking errors with client-go fake client 问题 我正在使用client-go(用于Go的Kubernetes客户端)从我的集群中以编程方式检索和更新一...
在Datadog上没有显示任何指标。
英文: No metrics showing on Datadog 问题 我正在尝试发送从我的Go微服务生成的指标,类似于这个。 我正在使用Gitlab将镜像推送到Azure容器注册表,并最终部署到我...
使用Kubernetes API并增加速率限制值。
英文: Use Kubernetes API and increase rate limit value 问题 我正在使用以下代码: kubeconfig = resolveKubeconfig(ku...
73