swift-postman-59572
09/24/2019, 5:35 PMbroad-dog-22463
09/24/2019, 5:36 PMcold-car-23440
09/24/2019, 8:29 PMworried-city-86458
09/25/2019, 5:40 AMconst 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 });
worried-city-86458
09/25/2019, 5:41 AMDiagnostics:
kubernetes:helm.sh:Chart (po):
[Can't preview] all chart values must be known ahead of time to generate an accurate preview.
worried-city-86458
09/25/2019, 5:41 AMworried-city-86458
09/25/2019, 5:42 AMdependsOn
makes no differencerhythmic-finland-36256
09/25/2019, 8:44 AMthankful-optician-22583
09/25/2019, 2:06 PMPulumi.base.yaml -> Pulumi.prod.yaml && Pulumi.base.yaml -> Pulumi.stage.yaml
thankful-optician-22583
09/25/2019, 3:54 PMPulumi config set X, Pulumi set config Y, Pulumi up
For example, the image tag to pull from ecr, memory size. So its not sitting in a config file but its a set of values in a file that is consumed and set prior to deployment. We did this to eliminate config duplication.nice-airport-15607
09/25/2019, 6:25 PMhandsome-actor-1155
09/25/2019, 6:35 PMpurple-appointment-43233
09/25/2019, 7:30 PMthankful-optician-22583
09/26/2019, 12:56 AMPULUMI_CONFIG
This means that when we do Pulumi Up
the file is loaded as a string and parsed into a map. This would mean that if we wanted to have a hierarchical config structure for the config, we need to append the base config to this env_variable PULUMI_CONFIG
. My suggestion seems so hacky. As a team we decided to create a wrapper class for the config that reads from the pulumi Config class and also from a file. This way we can have a one level hierarchical structure.thankful-optician-22583
09/26/2019, 12:57 AMworried-city-86458
09/26/2019, 1:03 AMbig-caravan-87850
09/26/2019, 1:10 AMfreezing-artist-51725
09/26/2019, 3:33 AMgpu_node_pool = NodePool(
resource_name="gpu-pool-0",
cluster=k8s_cluster.name,
initial_node_count=0,
autoscaling={"minNodeCount":0, "maxNodeCount":1},
node_config={"guest_accelerators": ["count", "1", "type", "nvidia-tesla-p100"],
"disk_size_gb": 200,
"diskType": "pd-standard",
"imageType": "COS"})
freezing-artist-51725
09/26/2019, 3:34 AMfreezing-artist-51725
09/26/2019, 3:34 AMerror: gcp:container/nodePool:NodePool resource 'gpu-pool-0' has a problem: node_config.0.guest_accelerator.0: expected object, got string
error: gcp:container/nodePool:NodePool resource 'gpu-pool-0' has a problem: node_config.0.guest_accelerator.1: expected object, got string
error: gcp:container/nodePool:NodePool resource 'gpu-pool-0' has a problem: node_config.0.guest_accelerator.2: expected object, got string
error: gcp:container/nodePool:NodePool resource 'gpu-pool-0' has a problem: node_config.0.guest_accelerator.3: expected object, got string
freezing-artist-51725
09/26/2019, 3:35 AM* `guest_accelerators` (`pulumi.Input[list]`)
* `count` (`pulumi.Input[float]`)
* `type` (`pulumi.Input[str]`)
busy-air-16359
09/26/2019, 10:38 AMpulumi up
it replaces all my nodepools (although nothing changed). The diff says ~nodeConfig
. Any way to find out what the diff is?icy-engineer-10830
09/26/2019, 2:13 PMbroad-dog-22463
09/26/2019, 2:18 PMcold-car-23440
09/26/2019, 2:19 PMcold-car-23440
09/26/2019, 2:20 PMimportant-librarian-11689
09/26/2019, 2:29 PMicy-engineer-10830
09/26/2019, 2:57 PM* const instanceTemplate = new gcp.compute.InstanceTemplate("instanceTemplate", {
* // boot disk
* disks: [{}],
* machineType: "n1-standard-1",
* namePrefix: "instance-template-",
* // networking
* networkInterfaces: [{}],
* region: "us-central1",
* });
but fails on creation with: Diagnostics:
gcp:compute:InstanceTemplate (instanceTemplate):
error: gcp:compute/instanceTemplate:InstanceTemplate resource 'instanceTemplate' has a problem: "name": conflicts with name_prefix
stale-park-1622
09/26/2019, 4:26 PMawsx.ecr.Repository
&& repository.buildAndPushImage
how can I add a custom tag to the image? right now, it is being tagged as 'latest'. I would like to add a custom tag name for the image. Is this possible?
thanksnice-cat-91582
09/26/2019, 4:44 PMlambda.CallbackFunction