https://pulumi.com logo
#general
Title
# general
c

careful-market-30508

01/16/2020, 3:22 AM
Any idea why there is no golang sdk for pulumi-kubernetes ?
r

rhythmic-camera-25993

01/16/2020, 3:23 AM
w

white-balloon-205

01/16/2020, 3:25 AM
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

rhythmic-camera-25993

01/16/2020, 3:26 AM
sorry if I jumped the gun on linking things, I was curious myself!
c

careful-market-30508

01/16/2020, 3:28 AM
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

white-balloon-205

01/16/2020, 3:46 AM
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

careful-market-30508

01/16/2020, 5:18 PM
Looking for more info or documentation to generate sdk-python once I write my-provider
w

white-balloon-205

01/16/2020, 5:21 PM
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

careful-market-30508

01/16/2020, 7:40 PM
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

white-balloon-205

01/16/2020, 8:40 PM
They are available in Node and Python currently.
Any tips to develop - Pulumi Kubernetes codegen tool ?
w

white-balloon-205

01/18/2020, 12:40 AM
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

careful-market-30508

01/19/2020, 9:17 PM
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

white-balloon-205

01/20/2020, 5:42 AM
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

careful-market-30508

01/24/2020, 9:09 PM
awesome. thanks