开发者

How to get a list of Kubernetes resources from Terraform?

I need to get a list of Kubernetes resources (e.g. services) in a namespace that match a specific pattern. kubernetes_service will select a service with a known name, how do I find a list of services whose nam开发者_JS百科e is not known in advance?

A script around kubectl that implements an External Data Source might be able to do it, but was hoping that there's some way to do this with the native Kubernetes provider.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜