boundless-petabyte-41580
12/28/2023, 8:38 PMboundless-petabyte-41580
12/28/2023, 8:38 PMconst provider = new k8s.Provider("k8s", {
renderYamlToDirectory: "my-chart/templates",
skipUpdateUnreachable: true,
kubeClientSettings: {
timeout: 1
}
})
boundless-petabyte-41580
12/28/2023, 8:39 PMboundless-petabyte-41580
12/28/2023, 8:39 PMbillions-river-87988
12/28/2023, 9:38 PMboundless-petabyte-41580
12/28/2023, 10:17 PMboundless-petabyte-41580
12/28/2023, 10:17 PMbillions-river-87988
12/28/2023, 10:20 PMboundless-petabyte-41580
12/28/2023, 10:45 PMboundless-petabyte-41580
12/28/2023, 10:46 PMbillions-river-87988
12/28/2023, 10:46 PMbillions-river-87988
12/28/2023, 10:46 PMboundless-petabyte-41580
12/28/2023, 10:46 PMpulumi destroy
the stateboundless-petabyte-41580
12/29/2023, 2:34 PMbillions-river-87988
12/29/2023, 5:38 PMbillions-river-87988
12/29/2023, 5:45 PMbillions-river-87988
12/29/2023, 6:20 PMbillions-river-87988
12/29/2023, 6:21 PMbillions-river-87988
12/29/2023, 6:22 PM.kube/config
apiVersion: v1
clusters: []
contexts: []
kind: Config
preferences: {}
users: []
Validated if i disable the renderYamlToDirectory it will throw an error trying to create an acutal podquaint-spring-93350
12/29/2023, 6:24 PMbillions-river-87988
12/29/2023, 6:26 PMrenderYamlToDirectory
flag?boundless-petabyte-41580
12/29/2023, 6:43 PM.kube/config
and with the config you provided @billions-river-87988boundless-petabyte-41580
12/29/2023, 6:43 PM@pulumi/kubernetes
boundless-petabyte-41580
12/29/2023, 6:44 PM3.0.0
to 4.5.6
boundless-petabyte-41580
12/29/2023, 6:44 PMboundless-petabyte-41580
12/29/2023, 6:47 PMquaint-spring-93350
12/29/2023, 6:47 PMbillions-river-87988
12/29/2023, 6:50 PMup
if they are removed (as mentioned)- but, they are always recreated on pulumi preview
. The downside here is that if a resource changes, its doesn't update the file, it just creates a new file for the same resource (so now there are two).
• It will create the files without a cluster as we have found, but if you do a pulumi up --refresh
it will error outboundless-petabyte-41580
12/29/2023, 7:03 PM.kubeconfig
and now its trying to talk to the cluster againbillions-river-87988
12/29/2023, 7:06 PMboundless-petabyte-41580
12/29/2023, 7:21 PM.kubeconfig
explicitly, it complains
error: pulumi:providers:kubernetes resource 'k8s': property kubeconfig value {.kubeconfig} has a problem: "kubeconfig" arg is not compatible with "renderYamlToDirectory" arg