quiet-state-42882
06/07/2020, 6:04 AMfamous-jelly-72366
06/09/2020, 2:02 PM<http://apiextensions.k8s.io/v1beta1/CustomResourceDefinition|apiextensions.k8s.io/v1beta1/CustomResourceDefinition>
being deprecated? I tried doing a helm chart transform to fix this, but seems like the cert-manager webhook doesn't work with the updated v1 :Sfamous-jelly-72366
06/10/2020, 9:51 AMbland-lamp-16797
06/10/2020, 3:11 PMhelm list
?bland-lamp-16797
06/10/2020, 3:12 PM<http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: pulumi
somehowbland-lamp-16797
06/10/2020, 3:18 PMlabel validation error: key "app.kubernetes.io/managed-by" must equal "Helm": current value is "pulumi";
bland-lamp-16797
06/10/2020, 3:21 PMerror: apiVersion "extensions/v1beta1/Deployment" was removed in Kubernetes 1.16. Use "apps/v1/Deployment" instead.
full-dress-10026
06/10/2020, 4:52 PMnew aws.eks.NodeGroup()
to eksCluster.createNodeGroup
and noticing that createNodeGroup
does not include the nodeRoleArn
property in the args object. How would I provide an IAM role arn to a node group created with the createNodeGroup
method?full-dress-10026
06/10/2020, 5:19 PMfamous-jelly-72366
06/11/2020, 11:28 AMminiature-rose-15269
06/11/2020, 2:22 PMlimited-rainbow-51650
06/11/2020, 2:28 PMfamous-jelly-72366
06/12/2020, 12:22 PMkubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> (<http://certificaterequests.cert-manager.io|certificaterequests.cert-manager.io>):
error: Duplicate resource URN 'urn:pulumi:k8s::tms-pulumi::kubernetes:<http://helm.sh/v2:Chart$kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefino/v1beta1:CustomResourceDefinition::certificaterequests.cert-manager.io';|helm.sh/v2:Chart$kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefino/v1beta1:CustomResourceDefinition::certificaterequests.cert-manager.io';> try giving it a unique name
limited-rainbow-51650
06/12/2020, 2:57 PMcommand:
- bash
- -ec
- |
# Execute entrypoint as usual after obtaining ZOO_SERVER_ID based on POD hostname
HOSTNAME=`hostname -s`
if [[ $HOSTNAME =~ (.*)-([0-9]+)$ ]]; then
ORD=${BASH_REMATCH[2]}
export ZOO_SERVER_ID=$((ORD+1))
else
echo "Failed to get index from hostname $HOST"
exit 1
fi
exec /entrypoint.sh /run.sh
salmon-ghost-86211
06/12/2020, 3:48 PMEnable Group Metrics Collection
. I want it enabled when it is created.
I am using the eks
APIs and calling eks.Cluster
and then cluster.createNodeGroup
.
I have been able to retrieve from the nodeGroup properties the actual ASG name, but I am not sure how to either update an ASG to have the metrics enabled or to enable metrics on nodeGroup creation.gorgeous-elephant-23271
06/13/2020, 9:33 PMpulumi state delete <urn>
I need to recurse through each resource and delete leaves firstgorgeous-elephant-23271
06/13/2020, 9:42 PMpulumi stack rm <stack> --force
works, but feels a little ugly as I'm recreating the entire thingcalm-farmer-19058
06/18/2020, 7:42 PMhundreds-portugal-17080
06/18/2020, 10:20 PMbusy-soccer-65968
06/19/2020, 9:58 PMsalmon-ghost-86211
06/22/2020, 3:59 PMfaint-motherboard-95438
06/23/2020, 2:32 PMgetResource()
on a k8s.helm.v2.Chart
yields a weird error:
Error: invocation of kubernetes:yaml:decode returned an error: error converting YAML to JSON: yaml: line 29: could not find expected ':'
I’m installing mongodb-replicaset
chart and try to access the StatefulSet
:
this.statefulSet = this.chart.getResource(
'apps/v1/StatefulSet',
replicaSetName,
)
const uri = `mongodb://${this.statefulSet.spec.serviceName}:27017`
Following snippet example from here : https://www.pulumi.com/docs/guides/adopting/from_kubernetes/#provisioning-a-helm-charticy-jordan-58549
06/25/2020, 4:19 PMPreview failed: resource operator/kafka-bootstrap-lb does not exist
.
export const kafkaService = k8s.core.v1.Service.get(
"kafkaLB",
"operator/kafka-bootstrap-lb"
);
const kafkaRecord = new azure.dns.ARecord(
"kafka",
{
name: "kafka",
zoneName: zone.name,
resourceGroupName: config.resourceGroup.name,
ttl: 60,
records: [kafkaService.status.loadBalancer.ingress[0].ip],
},
{
dependsOn: kafkaService,
}
);
Service operator/kafka-bootstrap-lb
isn’t presented in resources (helm), due to operator that deploys this later and looks like pulumi
doesn’t wait for that service.dazzling-sundown-39670
06/30/2020, 11:17 AMhelm install --name fission --namespace fission \ <https://github.com/fission/fission/releases/download/1.10.0/fission-all-1.10.0.tgz>
I figured fetchOpts.repo but I'm not sure what to put in ithundreds-portugal-17080
07/03/2020, 12:23 AMfilebeatConfig
config with backticks using following code and it doesn't work. I used debug in pulumi up command and it doesn't show much.
Errors: template: filebeat/templates/daemonset.yaml2927: executing "filebeat/templates/daemonset.yaml" at <include (print .Template.BasePath "/configmap.yaml") .>: error calling include: template: filebeat/templates/configmap.yaml1335: executing "filebeat/templates/configmap.yaml" at <.Values.filebeatConfig>: range can't iterate over filebeat.yml
Chart used: https://github.com/elastic/helm-charts/blob/master/filebeat/values.yaml
Pulumi specific code using the chart:
getFilebeatChart(elkChart: k8s.helm.v2.Chart, kibanaChart: k8s.helm.v2.Chart): k8s.helm.v2.Chart | undefined {
if (!this.enabled) {
return undefined;
}
const filebeatVersion = this.getConfig("filebeatVersion");
const fileBeatConfiguration = this.getConfig("fileBeatConfiguration");
return new k8s.helm.v2.Chart("filebeat", {
path: "../helm_packages_v1/elastic-helm-charts-7.7.0/filebeat",
transformations: [obj => {
if (obj.kind === "DeamonSet" ) {
obj.metadata.annotations= {"<http://pulumi.com/timeoutSeconds|pulumi.com/timeoutSeconds>": this.esTimeout}
}
}],
values: {
imageTag: this.esVersion,
filebeatConfig:
``filebeat.yml: |`
filebeat.inputs:
- type: docker
containers.ids:
- '*'
processors:
- add_kubernetes_metadata:
in_cluster: true
,
},
}, { dependsOn: [ elkChart, kibanaChart], providers: { "kubernetes": this.cluster.provider } ,customTimeouts: {`
create: "2m",
delete: "2m",
update: "2m",
}});
}
bored-river-53178
07/03/2020, 7:31 AMbitter-tiger-55434
07/03/2020, 1:31 PMpulumi refresh
to sync k8s cluster's status to local stack. But when I tried to apply the previous code by using pulumi up
, it tells me there is no updates. Is there anything I misunderstand about pulumi refresh
?nutritious-judge-27316
07/07/2020, 3:16 PMdazzling-sundown-39670
07/07/2020, 6:10 PMmost-spoon-17568
07/07/2020, 6:15 PM