3 ms·
I actually have one burning question if you don't mind answering: Pulumi has two different k8s modules, the standard one (pulumi-kubernetes) and "kubernetes-x"
by gavinray 6y ago
I actually have one burning question if you don't mind answering:
Pulumi has two different k8s modules, the standard one (pulumi-kubernetes) and "kubernetes-x" which has a much nicer API that reduces boilerplate:
https://github.com/pulumi/pulumi-kubernetesx https://github.com/pulumi/pulumi-kubernetesx
The second one doesn't seem to be used in the Pulumi tutorial content and has less stars/recognition.
Are these interchangeable? If so, why not use @pulumi/kubernetesx instead of the standard k8s module everywhere?
- jen20 6y agoThey’re not interchangeable - kubernetes-x builds higher level abstractions on top of the pulumi-kubernetes API which is faithful to the openAPI supplier by Kubernetes. To my mind, the real power of having general purpose languages building the declarative model instead of a DSL is that libraries like k-x (or indeed AWS-x) can actually be built!