fancy-bird-10227
03/05/2019, 5:38 PMincalculable-angle-91273
03/05/2019, 6:31 PMhelm.fetch
function on istio’s Github releases and then doing a local helm install. But this breaks when we upgraded helm from 2.11 on our build agent:
2019-03-05T00:40:12.9319205Z Error: chart name not specified
2019-03-05T00:40:12.9324933Z Error: Command failed: helm fetch https\://github.com/istio/istio/releases/download/1.0.5/istio-1.0.5-linux.tar.gz --untar --untardir /tmp/tmp-2214BL9U9NX1iuAo
2019-03-05T00:40:12.9326815Z Error: chart name not specified
loud-computer-30956
03/05/2019, 7:09 PMtopicSub.onEvent()
method but not sure how to connect the two togetherloud-computer-30956
03/05/2019, 7:09 PMfaint-vegetable-61837
03/05/2019, 7:11 PMpulumi up
- a new output was added to the stack, but if I try to do it now it does not workloud-computer-30956
03/05/2019, 7:13 PMloud-computer-30956
03/05/2019, 7:16 PMlet lambda = new aws.lambda.Function("mylambda", {
runtime: aws.lambda.Python3d6Runtime,
code: new pulumi.asset.AssetArchive({
".": new pulumi.asset.FileArchive(pythonLambdaLocation),
}),
timeout: 300,
handler: lambdaEntryPoint,
role: role.arn,
environment: {
variables: {
"HOOK_URL": HOOK_URL
}
},
}, { dependsOn: [fullAccess] });
// SNS topic and subscription to Lambda
let sns = new aws.sns.Topic("CW_ALARM_PULUMI");
let topicSubscription = sns.onEvent("ontopicevent", (ev, ctx) => {
return new aws.sns.TopicEventSubscription("eventsub", sns, lambda, );
}))
loud-computer-30956
03/05/2019, 7:16 PMloud-computer-30956
03/05/2019, 7:21 PMloud-computer-30956
03/05/2019, 7:22 PM// SNS topic and subscription to Lambda
let sns = new aws.sns.Topic("CW_ALARM_PULUMI");
let topicSubscription = new aws.sns.TopicEventSubscription("eventsub", sns, lambda, {});
important-leather-28796
03/05/2019, 7:58 PMnodePools: {
management: {
autoRepair: true,
autoUpgrade: true,
},
}
gcp:container/cluster:Cluster resource 'development' has a problem: node_pool: should be a list
important-leather-28796
03/05/2019, 9:37 PMavailabilityType
and crashSafeReplication
https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/sql/hallowed-king-98702
03/05/2019, 9:39 PM@pulumi/cloud-aws
. The service launches correctly and works however my app can’t make external http requests. Trying to connect to google for example, causes an I/O timeout error.
The service is written in go (works as expected locally). I’m using the following config:
const site = new cloud.Service('site', {
containers: {
site: {
image: imageName,
memory: 128,
ports: [{ port: 80 }],
environment: {
ENV: 'production',
},
},
},
});
Nothing stands out in terms of VPC configs so I’m curious if pulumi/teraform defaults to a setting which blocks external requests which I’m not seeing?chilly-dusk-63796
03/05/2019, 10:41 PMcool-egg-852
03/05/2019, 10:45 PMimportant-leather-28796
03/05/2019, 10:52 PMUpdate failed in 8 minutes
but ultimately succeeds. How can I get pulumi up
to wait longer on create gcp:sql:DatabaseInstance
?important-leather-28796
03/05/2019, 11:46 PMpulumi
cli does not respect the configurations I place in the tsconfig.json - which really impacts code reuse. Who can chat with me about the internals of the cli?stocky-island-3676
03/06/2019, 8:37 AMkubectl
context for a Kubernetes resource to make sure it’s applied to the correct cluster (configured in the uniquely named context).
How can I avoid that Pulumi will *recreate*/replace the resource when I add new kubernetes.Provider(..., {context: ,})
to it?better-rainbow-14549
03/06/2019, 1:25 PMapps.ts(126,13): error TS2345: Argument of type 'Namespace' is not assignable to parameter of type 'Input<string> | Namespace'.
Type 'import("node_modules/@pulumi/kubernetes/provider").core.v1.Namespace' is not assignable to type 'import("node_modules/@mypackages/pulumi-aad-pod-identity/node_modules/@pulumi/kubernetes/provider").core.v1.Namespace'.
Types have separate declarations of a private property '__inputs'.
worried-engineer-33884
03/06/2019, 3:40 PMpulumi up
failed with this error:
no resource plugin solidserver found in the workspace or your path
We discovered that I needed to share the go binary as well—which made sense when we realized that was what was missing.
Is there a better story for shipping third-party ports of terraform providers? I believe that pulumi plugin install
only works with Pulumi-provided plugins.
cc @white-balloon-205busy-umbrella-36067
03/06/2019, 5:11 PMresources.go
file, is that all done by hand or is it something that gets generated we can base off of?fancy-bird-10227
03/06/2019, 5:35 PMfaint-vegetable-61837
03/06/2019, 6:24 PMpulumi up
, and another sees change in diff: __provider
. All versions are the same, and stack is stored in an Org account. This seems very strange...early-musician-41645
03/06/2019, 7:09 PMPreviewing update (stack-name):
Type Name Plan Info
pulumi:pulumi:Stack eks-cluster-online-sandbox
>- ├─ pulumi:pulumi:StackReference stack-ref-name read
└─ kubernetes:helm.sh:Chart prometheus-operator
~ ├─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> kube-system/prometheusrules.monitoring.coreos.com update [diff: ~metadata]
~ ├─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> kube-system/servicemonitors.monitoring.coreos.com update [diff: ~metadata]
~ ├─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> kube-system/alertmanagers.monitoring.coreos.com update [diff: ~metadata]
~ └─ kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> kube-system/prometheuses.monitoring.coreos.com update [diff: ~metadata]
Resources:
~ 4 to update
95 unchanged
<snip>
Diagnostics:
kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> (kube-system/prometheuses.monitoring.coreos.com):
error: Plan apply failed: 1 error occurred:
* expected kind, but got map
chilly-photographer-60932
03/06/2019, 7:27 PMError: TypeError: Cannot read property 'replace' of undefined
at Chart.resources.allConfig.apply.cfg (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/helm.js:93:27)
at Output.<anonymous> (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:277:47)
at Generator.next (<anonymous>)
at /Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:20:71
at new Promise (<anonymous>)
at __awaiter (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:16:12)
at promise.then (/Users/naveen.srinivasan/code/drogon/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/resource.js:264:62)
error: TypeError: Cannot read property 'replace' of undefined
error: an unhandled error occurred: Program exited with non-zero exit code: 1
Running into this error on helmchilly-photographer-60932
03/06/2019, 7:27 PMhelm
chart have an option to be replaced?creamy-potato-29402
03/06/2019, 7:28 PMimportant-leather-28796
03/06/2019, 8:25 PMregional
gke cluster with a separate node pool. It seems that the node-locations
is missing from the cluster creation. Here is the equivalent gcloud command - https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster#regional. Is the gcp.container.Cluster
api behind?lemon-greece-30910
03/06/2019, 9:28 PMconst name = `${defaultName}-nextcloud`;
// Create a nextcloud Deployment
const appLabels = { appClass: name };
const volume = new aws.ebs.Volume(name, {
availabilityZone: "us-west-2a",
size: 3,
encrypted: true,
tags: {
name: name,
}
});
const deployment = new k8s.apps.v1.Deployment(name,
{
metadata: {
namespace: namespaceName,
labels: appLabels,
},
spec: {
replicas: 1,
selector: { matchLabels: appLabels },
template: {
metadata: {
labels: appLabels,
},
spec: {
containers: [
{
name: name,
image: "nextcloud:latest",
ports: [{ name: "http", containerPort: 80 }],
volumeMounts: [{
name: "nextcloud-volume",
mountPath: "/var/www/html"
}]
}
],
volumes: [
{
name: "nextcloud-volume",
awsElasticBlockStore: {
volumeID: volume.id
}
}
]
}
}
},
},
{
provider: cluster.provider,
}
);
adventurous-night-54654
03/06/2019, 10:03 PM