adamant-librarian-73464
08/01/2023, 12:34 PMindex.ts
and after that just pulumi up to deploy.
Right now I have pulumi operator so using CLI is not an option and my understanding is that we can do this via code too but I’m doing something wrong since I’m getting
error: inputs to import do not match the existing resource
My code is
import * as pulumi from "@pulumi/pulumi";
import * as kubernetes from "@pulumi/kubernetes";
const node_exporter = new kubernetes.apps.v1.Deployment("node-exporter", {}, {
import: "monitoring/prometheus-node-exporter"
});
kubectl get daemonset -n monitoring
NAME READY UP-TO-DATE AVAILABLE AGE
prometheus-node-exporter 1/1 1 1 5d20h