https://prefect.io logo
#prefect-server
Title
# prefect-server
d

Devin Flake

02/23/2022, 12:22 AM
Hey all, I'm getting this error trying to apply the prefect helm chart, I'm using the Ingress Nginx controller and it's v1 not v1beta1, has anyone seen this before?
Copy code
helm install --namespace arte-prefect --version 2022.01.25 --values prefect-values.yaml arte-prefect prefecthq/prefect-server
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "extensions/v1beta1"
if it helps, here are what versions I'm running:
Copy code
helm list -A
NAME         	NAMESPACE    	REVISION	UPDATED                                	STATUS  	CHART               	APP VERSION
nginx-ingress	ingress-nginx	1       	2022-02-17 15:17:34.078292732 -0700 MST	deployed	ingress-nginx-4.0.17	1.1.1
Copy code
kubectl version
Client Version: <http://version.Info|version.Info>{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:25:17Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: <http://version.Info|version.Info>{Major:"1", Minor:"22", GitVersion:"v1.22.6", GitCommit:"299916054187763fc9be625667430fa45690357b", GitTreeState:"clean", BuildDate:"2022-01-30T03:25:00Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
z

Zanie

02/23/2022, 4:46 AM
Hi! It seems likely this is similar to https://github.com/PrefectHQ/server/pull/276 where they’ve dropped support
d

Devin Flake

02/23/2022, 3:34 PM
thanks @Zanie - I updated the ingress templates for the ui and apollo (changed
v1beta1
to just
v1
) and it seems like it makes some progress. This is the error I'm getting now:
Copy code
helm install --namespace arte-prefect --version 2022.01.25 --values prefect-values.yaml arte-prefect ./prefect-server
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "servicePort" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec.rules[0].http.paths[0]): missing required field "pathType" in io.k8s.api.networking.v1.HTTPIngressPath]
maybe variable names were changed between v1beta1 and v1 in Ingress Nginx?
fixing the ingress yaml worked! 🙂
I'll submit a PR in just a little bit
z

Zanie

02/23/2022, 3:50 PM
Thank you!
d

Devin Flake

02/23/2022, 6:18 PM
let me know if any changes need to be made
z

Zanie

02/24/2022, 9:53 PM
Thanks! I’ll review that now
2 Views