united-manufacturing-hub: helm install error
Expected Behavior
umh should run successfully
Current Behavior
getting error
Relevant log output
`Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "united-manufacturing-hub-grafana" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "united-manufacturing-hub-grafana" namespace: "united-manufacturing-hub" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "united-manufacturing-hub-vernemq" namespace: "united-manufacturing-hub" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first]
`
Steps to Reproduce
helm install --values https://umh.app/development.yaml united-manufacturing-hub ./deployment/united-manufacturing-hub/ -n united-manufacturing-hub
Context (Environment)
Windows11
Possible Solution
No response
Version
v0.9.x
Anything else?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (7 by maintainers)
We were able to identify the cause. If you install minikube not using choco (as recommended in the tutorial), then you might get a newer version of Kubernetes resulting in above error.
The solution is to delete your current minikube cluster and install minikube v1.26.1, e.g., using the following command:
@Sphingobium
Downgraded Kubernetes to v1.24.3
If you want minikube, you can use this tutorial in the meantime: https://united-manufacturing-hub.notion.site/Local-minikube-installation-9fec99d665794ef3aa94f0dd5bf23d49
This will work with minikube v1.26.1 on Microsoft Windows 11 Pro 10.0.22000 Build 22000
Hi,
I already replied to you on Discord as well. I think our installation guide https://learn.umh.app/guides/umh/installation/tutorial/local-minikube-installation/ is not correct.
Please try the VM guide instead: https://learn.umh.app/guides/umh/installation/tutorial/installation-vm/