https://pulumi.com logo
#kubernetes
Title
# kubernetes
s

straight-cartoon-24485

08/25/2021, 8:55 PM
Is there a way to diff what the underlying yaml to be applied to a k8s cluster on
pulumi up
? Something like
pulumi up --diff
?
b

billowy-army-68599

08/25/2021, 8:56 PM
hey! It's not underlying YAML, it's API calls directly to the k8s API. You can do
pulumi preview --diff --json
s

straight-cartoon-24485

08/25/2021, 9:00 PM
thx @billowy-army-68599 is there a way to generate the equivalent yaml? Also, I'm thinking the worst case scenario, Pulumi goes out of business and f/loss project dies, and I need to export everything from Pulumi back into YAML, what's an exit migration path look like? I suppose the "negative" of this: https://www.pulumi.com/docs/guides/adopting/from_kubernetes/#deploying-multiple-kubernetes-yaml-files
b

billowy-army-68599

08/25/2021, 9:01 PM
❤️ 1
I'm not sure what your risk tolerance is, but I can assure you the project won't be dying or going out of business 🙂
s

straight-cartoon-24485

08/25/2021, 9:03 PM
that's comforting 😄
3 Views