Skip to content

hybridnet 在k8s1.26.3中使用异常 #372

@yangliu66666

Description

@yangliu66666

Bug Report

Type: bug report

What happened

在k8s1.26.3版本中使用hybridnet
安装步骤:
helm repo add hybridnet https://alibaba.github.io/hybridnet/
helm repo update
helm install hybridnet hybridnet/hybridnet -n kube-system --set init.cidr=10.200.0.0/16

安装后查看pod运行情况,hybridnet-daemon 一直处于1/2的状态,readiness 503检查没过

calico-typha pod中有以下信息(/calico/resources/v3/projectcalico.org/kubernetesendpointslices 访问不到这个资源):
2023-03-31 15:11:49.750 [INFO][1] watchercache.go 174: Full resync is required ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices"
2023-03-31 15:11:49.754 [INFO][1] kubeendpointslice.go 101: Unable to list K8s EndpointSlice resources error=the server could not find the requested resource
2023-03-31 15:11:49.754 [INFO][1] watchercache.go 186: Failed to perform list of current data during resync ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices" error=resource does not exist: KubernetesEndpointSlice with error: the server could not find the requested resource
2023-03-31 15:11:50.755 [INFO][1] watchercache.go 174: Full resync is required ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices"
2023-03-31 15:11:50.757 [INFO][1] kubeendpointslice.go 101: Unable to list K8s EndpointSlice resources error=the server could not find the requested resource
2023-03-31 15:11:50.757 [INFO][1] watchercache.go 186: Failed to perform list of current data during resync ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices" error=resource does not exist: KubernetesEndpointSlice with error: the server could not find the requested resource
2023-03-31 15:11:51.758 [INFO][1] watchercache.go 174: Full resync is required ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices"
2023-03-31 15:11:51.759 [INFO][1] kubeendpointslice.go 101: Unable to list K8s EndpointSlice resources error=the server could not find the requested resource
2023-03-31 15:11:51.759 [INFO][1] watchercache.go 186: Failed to perform list of current data during resync ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices" error=resource does not exist: KubernetesEndpointSlice with error: the server could not find the requested resource
2023-03-31 15:11:52.760 [INFO][1] watchercache.go 174: Full resync is required ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices"
2023-03-31 15:11:52.762 [INFO][1] kubeendpointslice.go 101: Unable to list K8s EndpointSlice resources error=the server could not find the requested resource
2023-03-31 15:11:52.762 [INFO][1] watchercache.go 186: Failed to perform list of current data during resync ListRoot="/calico/resources/v3/projectcalico.org/kubernetesendpointslices" error=resource does not exist: KubernetesEndpointSlice with error: the server could not find the requested resource

What you expected to happen

How to reproduce it (as minimally and precisely as possible)

Anything else we need to know?

Environment

  • hybridnet version: 0.8.0 (helm version 0.6.0)
  • OS (e.g. cat /etc/os-release):
    NAME="CentOS Linux"
    VERSION="7 (Core)"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="7"
    PRETTY_NAME="CentOS Linux 7 (Core)"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:centos:centos:7"
    HOME_URL="https://www.centos.org/"
    BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

  • Kernel (e.g. uname -a): 3.10.0-1160.88.1.el7.x86_6
  • Kubernetes version: v1.26.3
  • Install tools: kubadm
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions