[英]unable to list "extensions/v1beta1, resource=ingresses
I was trying to use kubeFate
with version 1.3.0
but after I applied the service with its original file as kubectl apply -f ./kubefate.yaml
, it pops out the error saying我试图将kubeFate
与1.3.0
版本一起使用,但是在我将服务及其原始文件应用为kubectl apply -f ./kubefate.yaml
,它会弹出错误消息
Error from server (NotFound): Unable to list "extensions/v1beta1, Resource=ingresses": the server could not find the requested resource (get ingresses.extensions)
Initially I looked into the kubefate.yaml
and changed anything related to extensions/v1beta1
in the ingress part as:最初,我查看了kubefate.yaml
并将入口部分中与extensions/v1beta1
相关的任何内容更改为:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kubefate
namespace: kube-fate
spec:
ingressClassName: nginx
rules:
- host: kubefate.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kubefate
port:
number: 8080
Well, after changed, it does not generate the error when I apply but after I use kubectl get all,ingress -n kube-fate
to check out the status, the same error shows again... I have no clue how to solve this.好吧,更改后,我申请时它不会产生错误,但是在我使用kubectl get all,ingress -n kube-fate
检查状态后,再次显示相同的错误......我不知道如何解决这个问题. Please someone give me some hint.请有人给我一些提示。
It turns out it has nth to do with the problem I expect.事实证明,这与我期望的问题有关。 I change another way to initiate the minikube
from minikube start --vm-driver=none
to minikube start --vm-driver=none --kubernetes-version v1.19.0
.我将启动minikube
的另一种方式从minikube start --vm-driver=none
更改为minikube start --vm-driver=none --kubernetes-version v1.19.0
。 Then the problem is solved然后问题就解决了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.