This message was deleted.
# yaml
s
This message was deleted.
s
Hi @straight-fireman-55591! I’d recommend taking a look at the GKE YAML template (found at https://github.com/pulumi/templates/tree/master/kubernetes-gcp-yaml) to see how the Kubeconfig is built. You can then create a new provider and pass that Kubeconfig to the provider; this enables the provider to interact with the cluster that was just created. From there, you can use the Kubernetes resources via the new provider to create whatever you need. While not in YAML (it’s in TypeScript), this code shows creating an EKS cluster and then creating resources on that cluster: https://github.com/pulumi/zephyr-app/tree/blog/original/infra
Between these two examples, hopefully that provides enough information to get you going! Also, I’d encourage you to take advantage of Pulumi AI (https://pulumi.com/ai) to help with this sort of thing. It’s not perfect, but it typically can provide enough information to point users in the right direction.