Skip to content

coredump when k8s master vip pod run with "manager - --leaderElectionType=etcd"

Describe the bug coredump when k8s master vip pod run with "manager --leaderElectionType=etcd"

To Reproduce Steps to reproduce the behavior:

  1. build a 3 master k8s cluster , kubevip vip with "manager --leaderElectionType=kubernetes"
  2. k8s cluster is ok , modify kubevip config to "manager --leaderElectionType=etcd"
  3. kubevip pod go into crash status , logs reports coredump

Expected behavior no coredump , vip pod runs ok.

Environment (please complete the following information):

  • OS/Distro: openeuler 24.03 sp1 lts
  • Kubernetes Version: v1.31.3
  • Kube-vip Version: 1.0.1

Kube-vip.yaml: like file "kube-etcd-vip.yaml.tmpl" in kubevip source code