breezy-gold-44713
03/26/2020, 6:48 PMbillowy-army-68599
03/26/2020, 7:14 PM$KUBECONFIG
but you can also set the `provider`:
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/kubernetes/#Provider
This takes a providerArgs argument which you can use to specify your kubecontext. I don't think this has an example anywhere (that I can find) so I'll create an example for itbreezy-gold-44713
03/26/2020, 7:19 PMbrave-ambulance-98491
03/29/2020, 9:59 PMbreezy-gold-44713
03/30/2020, 3:51 PMpulumi config set kubernetes:context <cluster_name>
? If so, that doesn’t seem to impact anything externally when I select the stack. Meaning, if I do a ‘kubectl config current-context’ I still see something else in a different shellbrave-ambulance-98491
03/30/2020, 3:58 PMbreezy-gold-44713
03/30/2020, 4:03 PMbrave-ambulance-98491
03/30/2020, 4:13 PMexec
or execSync
? https://nodejs.org/api/child_process.html#child_process_child_process_execsync_command_options
kubectl config use-context {context}
?breezy-gold-44713
03/30/2020, 4:15 PMbrave-ambulance-98491
03/30/2020, 4:32 PMbreezy-gold-44713
03/30/2020, 4:38 PMbrave-ambulance-98491
03/30/2020, 4:45 PMbreezy-gold-44713
03/30/2020, 4:50 PMbrave-ambulance-98491
03/30/2020, 4:52 PMbreezy-gold-44713
03/30/2020, 4:55 PM