Open Harry352 opened 2 years ago
Dear Harry,
i'm fighting against the troubles, too. My router/Traefik has gone after a reinstall....
Maybe this will help you?
Deprecated apiextensions.k8s.io/v1beta1 CRD The apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in Kubernetes v1.16+ and will be removed in v1.22+.
Best wishes! Ulrich
I also came across this. I have tried to apply these changes. You also need to change the names and add schema data (see treafik docu). After the changes the install.sh
runs without error and the pods are running.
But unfortunately treafik still does not work. A look into the logs shows me the following messages:
E0203 08:19:06.847075 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *v1alpha1.MiddlewareTCP: failed to list *v1alpha1.MiddlewareTCP: middlewaretcps.traefik.containo.us is forbidden: User "system:serviceaccount:default:traefik-ingress-controller" cannot list resource "middlewaretcps" in API group "traefik.containo.us" at the cluster scope
E0203 08:19:06.850752 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.1/tools/cache/reflector.go:167: Failed to watch *v1alpha1.ServersTransport: failed to list *v1alpha1.ServersTransport: serverstransports.traefik.containo.us is forbidden: User "system:serviceaccount:default:traefik-ingress-controller" cannot list resource "serverstransports" in API group "traefik.containo.us" at the cluster scope
[...]
Yes, my pods are running, but i get a "404 page not found" from nginx :(
The acme.json-File is empty. Maybe it is a problem with Let's encryped?
BTW. I have the same error messages in the log....
I think further adjustments are necessary here. I stopped at this point and switched to NextCloud All In One.
In this moment I have success! Compare the content of 01-role.yaml with the (new) traefik-crds.yaml...
apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: traefik-ingress-controller rules:
apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: traefik-ingress-controller
roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: traefik-ingress-controller subjects:
I think further adjustments are necessary here. I stopped at this point and switched to NextCloud All In One.
I stopped too and split the project 1.) to a managed nextcloud and 2.) to a managed bbb Server, because I had no more time to spend...
I'm sorry can't passing the frist step.. After helm install setup team-setup --values values-setup.yaml apears this: Error: INSTALLATION FAILED: failed to install CRD crds/traefik-crds.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" Ionos Ubuntu 20.4 thankfull for hints ;)
New day - same issue now on Contabo Ubuntu 20.4.3
bg Harry