Hi, I've a question regarding creation of Azure K...
# general
s
Hi, I've a question regarding creation of Azure Kubernetes Services (AKS). I am able to create a cluster, however what I'd like to do next, is configure ClusterRoleBinding. The problem I face is that according to the documentation, I need to set the correct k8s context. How can I set the context of newly created AKS cluster ? Can I do it somehow in code just after the AKS cluster has been created ?
f
Hi, I successfully followed a tutorial https://www.pulumi.com/docs/tutorials/kubernetes/aks/ Finally, you can use newly created kubernetes provider (in the tutorial it is called
custom_provider
) to create k8s resources in the cluster (you have to pass it via opts argument).
s
Thanks, I will give it a try.