dragonflyoss/Dragonfly2

scheduler statefulset doesn't have related headless service

Closed this issue · 2 comments

Bug report:

I got error “lookup dragonfly-scheduler-0.scheduler.dragonfly-system.svc.cluster.local on xxxx:53: no such host” in daemonset
path /var/log/core.log.

but there is no headless service of the scheduler statefulset. Do i using or config dragonfly the wrong way ?

do i need to create headless service myself ?

Expected behavior:

How to reproduce it:

Environment:

  • Dragonfly version:
  • OS:
  • Kernel (e.g. uname -a):
  • Others:

@homily707 The pod ip will be checked first, and then the pod's fqdn will be checked. If one of fqdn and ip works, then there is no problem.

thank you, pod ip was checked first and context exceed because my mistake.