https://pulumi.com logo
#general
Title
# general
w

worried-city-86458

09/25/2019, 5:40 AM
Copy code
const monitoringNamespace = new k8s.core.v1.Namespace("monitoring", { metadata: { name: "monitoring" } }, { provider : provider });

const prometheusOperatorChart = new k8s.helm.v2.Chart("po", {
    repo: "stable",
    chart: "prometheus-operator",
    namespace: monitoringNamespace.metadata.name,
    values: {
        alertmanager: { persistentVolume: { storageClass: "gp2" } },
        server: { persistentVolume: { storageClass: "gp2" } }
    }
}, { provider: provider });