You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/27 08:09:17 UTC
[GitHub] [apisix-ingress-controller] aiyYu opened a new issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
aiyYu opened a new issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725
### Issue description


### Environment
k8s version:v1.16.4
apisix version:2.10.0
apisix-ingress-controller version:1.3.0
from clone https://github.com/apache/apisix-helm-chart.git
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-973055770
This issue has not been updated for too long. You can try to update to the latest version to verify if there are any problems.
I will close this issue. Feel free to reopen it, if you have any question.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-958779666
If you using apisix-ingress v1.3 with latest CRD, you should get the following output
```bash
➜ ~ kubectl api-resources |grep apisix
apisixclusterconfigs acc apisix.apache.org/v2alpha1 false ApisixClusterConfig
apisixconsumers ac apisix.apache.org/v2alpha1 true ApisixConsumer
apisixroutes ar apisix.apache.org/v2beta2 true ApisixRoute
apisixtlses atls apisix.apache.org/v1 true ApisixTls
apisixupstreams au apisix.apache.org/v1 true ApisixUpstream
```
If you want to use https://github.com/apache/apisix-ingress-controller/tree/master/samples/deploy/crd/v1
You need run `kubectl apply -k ./samples/deploy/crd/v1`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-958779666
If you using apisix-ingress v1.3 with latest CRD, you should get the following output
```bash
➜ ~ kubectl api-resources |grep apisix
apisixclusterconfigs acc apisix.apache.org/v2alpha1 false ApisixClusterConfig
apisixconsumers ac apisix.apache.org/v2alpha1 true ApisixConsumer
apisixroutes ar apisix.apache.org/v2beta2 true ApisixRoute
apisixtlses atls apisix.apache.org/v1 true ApisixTls
apisixupstreams au apisix.apache.org/v1 true ApisixUpstream
```
If you want to use https://github.com/apache/apisix-ingress-controller/tree/master/samples/deploy/crd/v1
You need run `kubectl apply -k ./samples/deploy/crd/v1`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tokers commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-953417108
> `[root@master1 ~]# kubectl api-versions | grep apisix` `apisix.apache.org/v1` `apisix.apache.org/v2alpha1`
You may have to apply the newest CRDs (which the route version is `v2beta2`).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-958779666
If you using apisix-ingress v1.3 with latest CRD, you should get the following output
```bash
➜ ~ kubectl api-resources |grep apisix
apisixclusterconfigs acc apisix.apache.org/v2alpha1 false ApisixClusterConfig
apisixconsumers ac apisix.apache.org/v2alpha1 true ApisixConsumer
apisixroutes ar apisix.apache.org/v2beta2 true ApisixRoute
apisixtlses atls apisix.apache.org/v1 true ApisixTls
apisixupstreams au apisix.apache.org/v1 true ApisixUpstream
```
If you want to use https://github.com/apache/apisix-ingress-controller/tree/master/samples/deploy/crd/v1
You need run `kubectl apply -k ./samples/deploy/crd/v1`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] aiyYu commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
aiyYu commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-953041639
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-958779666
If you using apisix-ingress v1.3 with latest CRD, you should get the following output
```bash
➜ ~ kubectl api-resources |grep apisix
apisixclusterconfigs acc apisix.apache.org/v2alpha1 false ApisixClusterConfig
apisixconsumers ac apisix.apache.org/v2alpha1 true ApisixConsumer
apisixroutes ar apisix.apache.org/v2beta2 true ApisixRoute
apisixtlses atls apisix.apache.org/v1 true ApisixTls
apisixupstreams au apisix.apache.org/v1 true ApisixUpstream
```
If you want to use https://github.com/apache/apisix-ingress-controller/tree/master/samples/deploy/crd/v1
You need run `kubectl apply -k ./samples/deploy/crd/v1`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tokers commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-952719367
Could you also show the result of `kubectl get api-resources`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tokers commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-952720372
> Could you also show the result of `kubectl get api-resources`?
And I guess this is because the `v2alpha1` CRD doesn't support in v1.3.0 while the APISIX Ingress Controller still selects it as the version of watched ApisixRoute. So also please paste the configuration of APISIX Ingress Controller.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tokers commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-953417638
> > `[root@master1 ~]# kubectl api-versions | grep apisix` `apisix.apache.org/v1` `apisix.apache.org/v2alpha1`
>
> You may have to apply the newest CRDs (which the route version is `v2beta2`).
Try this https://github.com/apache/apisix-ingress-controller/tree/master/samples/deploy/crd/v1.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] aiyYu commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
aiyYu commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-953047908
`helm install apisix ./apisix \`
`--set gateway.type=NodePort \`
`--set admin.allow.ipList="{0.0.0.0/0}" \`
`--namespace ingress-apisix`
`helm install apisix-ingress-controller ./apisix-ingress-controller \`
`--namespace ingress-apisix \`
`--set config.kubernetes.ingressVersion=networking/v1beta1 `
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] aiyYu commented on issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
aiyYu commented on issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725#issuecomment-953478259
`kubectl apply -f ./samples/deploy/crd/v1`
`customresourcedefinition.apiextensions.k8s.io/apisixclusterconfigs.apisix.apache.org configured`
`customresourcedefinition.apiextensions.k8s.io/apisixconsumers.apisix.apache.org configured`
`Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
customresourcedefinition.apiextensions.k8s.io/apisixtlses.apisix.apache.org configured`
`Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
customresourcedefinition.apiextensions.k8s.io/apisixupstreams.apisix.apache.org configured`
`error validating "ApisixRoute.yaml": error validating data: [ValidationError(CustomResourceDefinition.spec.versions[0]): unknown field "deprecated" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion, ValidationError(CustomResourceDefinition.spec.versions[1]): unknown field "deprecated" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion, ValidationError(CustomResourceDefinition.spec.versions[2]): unknown field "deprecated" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion]; if you choose to ignore these errors, turn validation off with --validate=false`
`error validating "kustomization.yaml": error validating data: [apiVersion not set, kind not set]; if you choose to ignore these errors, turn validation off with --validate=false`
Is my operation wrong?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 closed issue #725: request help: apisix error:Failed to watch *v2beta1.ApisixRoute
Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #725:
URL: https://github.com/apache/apisix-ingress-controller/issues/725
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org