Any idea why there is no golang sdk for pulumi-kub...
# general
c
Any idea why there is no golang sdk for pulumi-kubernetes ?
r
w
Golang support is currently in preview, but is being actively improved for GA as part of Pulumi 2.0 (end of Q1). The kubernetes provider for Go willl be made available on the path to that (issue linked above).
r
sorry if I jumped the gun on linking things, I was curious myself!
c
thanks. saw Pulumi Golang SDK went in only couple of months ago. This means that you wont be able to create kubernetes clusters using golang right for now ?
another question - what is the command or steps to generate the python-SDK once I write the new provider ?
w
You can create managed kubernetes clusters form ago using cloud provider APIs (AKS, EKS, GKE).
👍 1
I don’t quite follow your second question - what exactly are you trying to do here?
c
Looking for more info or documentation to generate sdk-python once I write my-provider
w
What provider are you writing, and using what approach: 1. Dynamic provider 2. Terraform bridge 3. Native Pulumi RPC Currently 1 and 2 are significantly easier.
c
I see. my corporation has some cloud resources that I would like to expose it as a pulumi providers something like pulumi-mycorp:myresource. Looked into dynamic provider - looks simple and straight forward.
Are dynamic providers available in other languages such as golang or python ?
w
They are available in Node and Python currently.
Any tips to develop - Pulumi Kubernetes codegen tool ?
w
Pulumi Kubernetes codegen tool
Can you describe what you have in mind here? We already generate a Python SDK for Kubernetes.
Is there a 4th method
What is this referring to exactly?
c
I understand that the python SDK for k8s is all done, but how was it done? so when i write my provider I can do the same.
w
A code generator generates the API wrappers for each language. https://github.com/pulumi/pulumi-kubernetes/blob/master/cmd/pulumi-gen-kubernetes/main.go Each of those API wrappers registers resources defined in a Pulumi Resource Provider (a gRPC server implemented in Go). https://github.com/pulumi/pulumi-kubernetes/blob/master/cmd/pulumi-resource-kubernetes/main.go Both sides of this are derived from the Kubernetes OpenAPI specs.
c
awesome. thanks