Skip to content

ClickHouse Keeper missing readiness probe #1846

@KJone1

Description

@KJone1

ClickHouse Keeper pods lack readiness probes, causing PDB to incorrectly report pods as healthy.

found this in pkg/model/chk/creator/probe.go:

  func (m *ProbeManager) CreateProbe(what interfaces.ProbeType, host *api.Host) *core.Probe {
  	switch what {
  	case interfaces.ProbeDefaultStartup:
  		return nil
  	case interfaces.ProbeDefaultLiveness:
  		return m.createDefaultLivenessProbe(host)
  	case interfaces.ProbeDefaultReadiness:
  		return nil
  		//return m.createDefaultReadinessProbe(host)  // COMMENTED OUT
  	}
  	panic("unknown probe type")
  }

keeper does support /ready endpoint defined here: https://github.com/ClickHouse/ClickHouse/blob/master/src/Server/KeeperReadinessHandler.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    KeeperClickHouse Keeper issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions