Hello. I have failed to deploy prefect-server and ...
# prefect-getting-started
t
Hello. I have failed to deploy prefect-server and I don’t know why…
Copy code
helm install --namespace=prefect --timeout=10m0s --values=/home/shell/helm/values-prefect-server-2023.10.10.yaml --version=2023.10.10 --wait=true prefect /home/shell/helm/prefect-server-2023.10.10.tgz
Error: INSTALLATION FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
prefect-server:
- (root): Additional property global is not allowed
j
can you provide your values.yaml file?
t
Thank you for reply. values.yaml is like this.
j
you only need to provide values that you want to override from what is provided by default. I don’t see the value <global> in that file
t
I lowered prefect to version 2.13.4 and it worked, maybe the problem is due to the k8s version being 1.24 and it’s too old….?
j
the error that you showed was suggesting that one of the values you were passing to the helm install was not valid (schema error). did you lower the prefect version or the helm version?
t
I have lowered the prefect version. I have not made any changes to values.yaml.
Actually, I deployed from the Rancher UI by referencing the prefect chart in Rancher. The command at deploy executed on the Rancher side is
helm install --namespace=prefect --timeout=10m0s --values=/home/shell/helm/values-prefect-server-2023.10. 10.yaml --version=2023.10.10 --wait=true prefect /home/shell/helm/prefect-server-2023.10.10.tgz
It is also possible that the problem is internal to Rancher.