green-daybreak-91402
10/22/2020, 12:43 PMbrainy-church-78120
11/09/2020, 5:12 PMfull-bear-42554
11/12/2020, 4:40 PMpulumi.yaml
and pulumi.<stack>.yaml
schema defined?full-bear-42554
11/13/2020, 9:32 AMThe name specified during resource creation is used in two key ways:
As a default prefix for the resource's physical name, assigned by the cloud provider.
To construct the Universal Resource Name (URN) used to track the resource across updates.
Note that the variable names you use for resource objects aren't used in any way for either logical or physical resource naming. The variable simply lets you refer to that resource elsewhere in your program.
full-bear-42554
11/13/2020, 9:33 AMfull-bear-42554
11/13/2020, 9:33 AMfull-bear-42554
11/13/2020, 9:36 AMfull-bear-42554
11/13/2020, 9:36 AMfull-bear-42554
11/13/2020, 9:36 AMAll resources have a required name argument, which must be unique across resources of the same kind in a stack. This logical name influences the physical name assigned by your infrastructure's cloud provider, although Pulumi auto-names resources by default, so they may differ.
full-bear-42554
11/13/2020, 9:39 AMfull-bear-42554
11/13/2020, 9:40 AMrole
, in this case).full-bear-42554
11/13/2020, 9:41 AMfull-bear-42554
11/13/2020, 9:42 AMThis random suffix is added for two reasons:
1. ....
....
...
2. It allows Pulumi to do zero-downtime resource updates. Certain updates require replacing resources, rather than updating them in place, due to the way cloud providers work. By default, Pulumi creates replacements first, then updates existing references to them, and finally deletes the old resources. If it weren't for auto-naming, Pulumi would need to do things in a very different order: namely, it would need to delete resources first, and create new instances afterwards, which is far more impactful and leads to downtime.
full-bear-42554
11/13/2020, 9:42 AMfull-bear-42554
11/13/2020, 9:43 AMfull-bear-42554
11/13/2020, 9:45 AMfull-bear-42554
11/13/2020, 9:46 AMfull-bear-42554
11/13/2020, 9:47 AMclean-dentist-2515
11/16/2020, 5:24 PMclean-dentist-2515
11/16/2020, 9:14 PMTo support, this component resources accept a new(I think the comma is meant to be after "this") I found this whole section hard to understand - it's not clear how the component then makes use of the providers that you pass in via ResourceOptions I found an example of passingoption that other custom resources don’t have.providers
providers
here:
https://github.com/pulumi/examples/blob/fab792ac043eae9cf74ddb1ee73fda33cd533eaa/azure-ts-aks-keda/keda.ts#L63
but could not see any obvious use of it in what I think is the matching resource:
https://github.com/pulumi/pulumi-kubernetes/blob/master/sdk/nodejs/helm/v2/helm.ts
is it something that happens implicitly?clean-dentist-2515
11/16/2020, 9:41 PMThe resource provider for a custom resource is determined based on its package name. For example, theAFAICT "package name" means likepackage will load a plugin namedaws
, and thepulumi-resource-aws
package will load a plugin namedkubernetes
. Each provider uses the configuration from its package to alter its behavior.pulumi-resource-kubernetes
pulumi-kubernetes
i.e. https://github.com/pulumi/pulumi-kubernetes/ the parent of the k8s.helm.v2.Chart
from helm.ts
so I guess the standard package naming scheme changed since those docs?
And... the point of all this is... a kind of dependency injection?
so in the keda example we're injecting a specific instance of the kubernetes provider, rather than letting Chart
use the one from https://github.com/pulumi/pulumi-kubernetes/blob/master/sdk/nodejs/provider.ts which it otherwise would?limited-rainbow-51650
11/24/2020, 9:48 AMThe Pulumi Kubernetes Operator is an extension pattern that enables Kuberentes users to create ahttps://www.pulumi.com/docs/guides/continuous-delivery/pulumi-kubernetes-operator/#overviewas a first-class API resource, and use theStack
to drive the updates of the Stack until success.StackController
abundant-appointment-96790
12/03/2020, 5:02 PMlimited-planet-95090
12/03/2020, 8:06 PMclever-plumber-29709
01/19/2021, 4:37 AMshy-waiter-84958
01/25/2021, 10:10 PMlimited-planet-95090
02/09/2021, 9:51 PMclever-plumber-29709
02/10/2021, 6:40 PMlifecycle {
ignore_changes = [desired_count]
}
from terraform, is not properly transalted to the ignore_changes
in the opts
clever-plumber-29709
02/10/2021, 6:41 PMclever-plumber-29709
02/10/2021, 6:53 PM*
indicating that is required