sparse-intern-71089
10/23/2020, 3:45 PMbillowy-army-68599
billowy-army-68599
prehistoric-account-60014
10/23/2020, 3:55 PMnpm install
) so that during that transition period one can manually install the old version?prehistoric-account-60014
10/23/2020, 3:56 PMinstall_pulumi # installs Pulumi and configures PULUMI_HOME and credentials
yarn install
pulumi plugin install kubernetes@old
pulumi up # will move state from old to new
And then the line that installs the old plugin can be removed?prehistoric-account-60014
10/23/2020, 3:57 PMbillowy-army-68599
pulumi plugin install resource kubernetes v2.2.0
prehistoric-account-60014
10/23/2020, 4:07 PMpulumi plugin install
documentation specifies that if no kind/name/version is provided it will make a conservative guess as to what the project needs but running it locally, even with verbose logging results in no output (and no plugins installed)
Also, do you know why the Kubernetes plugin isnt automatically installed, but others like GCP are?billowy-army-68599
white-balloon-205
prehistoric-account-60014
10/23/2020, 4:10 PMpackage.json
it won’t automatically install it (i.e., if yarn install
is not run)prehistoric-account-60014
10/23/2020, 4:11 PMpulumi plugin install
seems to be doing nothing. So I would have to hardcode pulumi plugin install resource kubernetes v2.2.2
white-balloon-205
prehistoric-account-60014
10/23/2020, 4:14 PMprehistoric-account-60014
10/23/2020, 4:14 PMbillowy-army-68599
prehistoric-account-60014
10/23/2020, 8:19 PMprehistoric-account-60014
10/23/2020, 8:37 PM$ pulumi plugin ls
NAME KIND VERSION SIZE INSTALLED LAST USED
gcp resource 3.25.0 101 MB n/a 40 seconds ago
kubernetes resource 2.6.3 78 MB n/a 40 seconds ago
kubernetes resource 2.2.2 53 MB n/a 1 second ago
$ pulumi up
Previewing update (makeswift/staging)
View Live: <https://app.pulumi.com/makeswift/table-webhooks/staging/previews/771837e2-7f1c-4e9d-a1eb-deaa51780236>
error: could not load plugin for kubernetes provider 'urn:pulumi:staging::table-webhooks::pulumi:providers:kubernetes::default_2_2_2': failed to load plugin /builds/makeswift/cosmos/.pulumi/plugins/resource-kubernetes-v2.2.2/pulumi-resource-kubernetes: plugin not found
prehistoric-account-60014
10/23/2020, 8:38 PMINSTALLED
shows n/a
instead of the install time?prehistoric-account-60014
10/23/2020, 9:09 PMpulumi plugin install resource kubernetes 2.2.2
or pulumi install resource kubernetes 2.2.2 --exact
or yarn add @pulumi/kubernetes@2.2.2
working so I had to manually update the state by exporting it, tweaking the provider versions and then importing the modified state.