Anyone already deployed linkerd with pulumi? I gue...
# general
c
Anyone already deployed linkerd with pulumi? I guess, currently, the only way is to use the helm charts - from github issue (https://github.com/pulumi/pulumi/issues/99) I understand, there is no possibility yet to run (shell) commands within pulumi. Using the helm chart also involves some command line work, since you need to setup the certificates used by linkerd by yourself (https://linkerd.io/2/tasks/install-helm/). What's the suggested way to do this right now? Write a shell script that runs the commands and pulumi - this is the only thing that comes to my mind right now. Any advice is greatly appreciated.
b
in the past I've had to write an "orchestrator" type interface that would do multiple steps. Sometimes that might be AWS calls with boto, then some shell calls, and finally pulumi calls. I've done it with python.. using things like subprocess for shell (which would run pulumi also), the click package for the command line interfacing etc
c
@curved-doctor-83600 linkerd uses helm under the covers, so you can do (IIRC)
linkerd install > linkerd.yaml
and then simply include that in a pulumi project using
k8s.yaml.ConfigFile
to instantiate it.
p
I did it by pre-creating each certificate and referencing it as a Pulumi secret.
c
Thank you all for your replies. I'll try @creamy-potato-29402’s suggestion first. Will report back with my experiences.
Went with @creamy-potato-29402’s suggestion and works good so far. Still need to verify behavior during upgrades etc. but right now it works.