Pulumi failing to install kube-prometheus helm chart
See original GitHub issueProblem description
Truing to install kube-prometheus helm chart found the bitnami repository or the kube-prometheus stack from the prometheus community as follows:
self.prometheus_chart = k8s.helm.v3.Chart(
"prometheus",
k8s.helm.v3.ChartOpts(
chart="kube-prometheus-stack",
fetch_opts=k8s.helm.v3.FetchOpts(
repo="https://prometheus-community.github.io/helm-charts",
),
))
self.prometheus_chart = k8s.helm.v3.Chart(
"prometheus-operator",
k8s.helm.v3.ChartOpts(
chart="kube-prometheus",
fetch_opts=k8s.helm.v3.FetchOpts(
repo="https://charts.bitnami.com/bitnami",
),
))
returns the following error
pulumi:pulumi:Stack (dev):
2020/11/24 03:27:45 info: skipping unknown hook: "crd-install"
2020/11/24 03:27:45 info: skipping unknown hook: "crd-install"
2020/11/24 03:27:45 info: skipping unknown hook: "crd-install"
2020/11/24 03:27:45 info: skipping unknown hook: "crd-install"
2020/11/24 03:27:45 info: skipping unknown hook: "crd-install"
2020/11/24 03:27:45 info: skipping unknown hook: "crd-install"
2020/11/24 03:27:45 info: skipping unknown hook: "crd-install"
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/home/thora/.pulumi/bin/pulumi-language-python-exec", line 85, in <module>
loop.run_until_complete(coro)
File "/home/thora/.conda/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 83, in run_in_stack
await run_pulumi_func(lambda: Stack(func))
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 51, in run_pulumi_func
await RPC_MANAGER.rpcs.pop()
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/runtime/rpc_manager.py", line 67, in rpc_wrapper
result = await rpc
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/runtime/resource.py", line 451, in do_register_resource_outputs
serialized_props = await rpc.serialize_properties(outputs, {})
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/runtime/rpc.py", line 75, in serialize_properties
result = await serialize_property(v, deps, input_transformer)
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/runtime/rpc.py", line 197, in serialize_property
value = await serialize_property(output.future(), deps, input_transformer)
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/runtime/rpc.py", line 183, in serialize_property
future_return = await asyncio.ensure_future(awaitable)
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 113, in get_value
val = await self._future
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 185, in run
return await transformed.future(with_unknowns=True)
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 113, in get_value
val = await self._future
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 185, in run
return await transformed.future(with_unknowns=True)
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 113, in get_value
val = await self._future
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 154, in run
value = await self._future
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 338, in gather_futures
return await asyncio.gather(*value_futures)
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 113, in get_value
val = await self._future
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 154, in run
value = await self._future
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi/output.py", line 175, in run
transformed: Input[U] = func(value)
File "/home/thora/.conda/lib/python3.7/site-packages/pulumi_kubernetes/yaml.py", line 519, in <lambda>
CustomResourceDefinition(f"{x}", opts, **obj)))]
TypeError: __init__() got an unexpected keyword argument 'status'
error: an unhandled error occurred: Program exited with non-zero exit code: 1
pip show pulumi
Name: pulumi
Version: 2.14.0
Summary: Pulumi's Python SDK
Home-page: https://github.com/pulumi/pulumi
Author: None
Author-email: None
License: Apache 2.0
Location: /home/thora/.conda/lib/python3.7/site-packages
Requires: dill, protobuf, grpcio
Required-by: pulumi-tls, pulumi-terraform, pulumi-random, pulumi-policy, pulumi-kubernetes, pulumi-kafka, pulumi-github, pulumi-gcp, pulumi-docker
pip show pulumi_kubernetes
Version: 2.7.2
Summary: A Pulumi package for creating and managing Kubernetes resources.
Home-page: https://pulumi.com
Author: None
Author-email: None
License: Apache-2.0
Location: /home/thora/.conda/lib/python3.7/site-packages
Requires: pulumi, semver, requests, parver, pyyaml
Required-by:
minikube version
minikube version: v1.13.0
commit: v1.13.0
Assuming this is an issue with the CustomResource def and not the helm chart? Any tips on how one should solve this? Thanks
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
How to monitor Cilium on your Civo k3s cluster with Prometheus
This code will install the kube-prometheus-stack helm chart on our Civo k3s cluster. The Pulumi k8s provider uses the kubeconfig from the ...
Read more >How to create a Grafana folder through Pulumi - Stack Overflow
I am able to install and import Grafana dashboards in an Azure Kubernetes Service using Pulumi through a HelmRelease Custom Resource ...
Read more >Kubernetes - Pulumi-community
i.e. I have helm charts, not in a remote repository, ... refreshing (5s) warning: configured Kubernetes cluster is unreachable: unable to ...
Read more >Kustomize vs Helm: Comparison & Tutorial - Kubecost
Helm is a deployment tool that simplifies the installation, packaging, and management of Kubernetes workloads using chart-based templates. A Helm chart is a ......
Read more >SweetOps #helmfile for January, 2021
Hi everyone, Does anyone have a problem with helmfile concurrency? I'm not able to install multiple releases in parallel, I see only one...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bradkyle, is it possible to know what version do you tried?
It’s not working for me. It’s failing with the error:
And other similar errors.
I’m tried with the helm chart and with directly with the manifests from typescript. But it’s not working.
Works perfectly with the typescript sdk, thanks