Hi folks, does anyone know how to specify the clus...
# kubernetes
i
Hi folks, does anyone know how to specify the cluster through code when creating a resource?
b
hi Rokas, can you clarify a little bit what you mean?
i
I have multiple clusters defined and would like to prompt input to select one.
Using the API, how can I specify a cluster to use
b
i
So when I call the provider it'll internally set to the specified one?
Or do I have to assign it to a var and use it somehow?
b
you have to pass it to your resources as a resource option
i
Oh, it's part of opts, I see
Thanks