[Question] After upgrade to V2, enpoints are still present and used

Aperta
#3,200 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, kubernetes, postgresql

Direzione di ricerca

The payload names no source files, so start from the v1 to v2 migration guide and the operator's handling of the Endpoints objects and ConfigMaps for each Postgres instance. Confirm on a test cluster whether the ConfigMaps should be populated after upgrade and whether the orphaned Endpoints are removed as the guide says. Done means a clear answer on the expected behavior, plus a fix or doc change if the behavior differs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Please, answer some short questions which should help us to understand your problem / question better?

  • Which image of the operator are you using? ghcr.io/zalando/postgres-operator:v2.0.3
  • Where do you run it: On-prem Kubernetes v1.37.1
  • Are you running Postgres Operator in production? yes
  • Type of issue? question

After upgrading from v1 to v2 (following the migration guide), PostgreSQL instances are still using Endpoints objects. I can still see an Endpoints object for each instance, with the instance IP address set.

Image

On the other hand, ConfigMaps have been created, but they are not populated with any values.

Image

Should the ConfigMaps contain any data?

According to the migration guide, the old (orphaned) Endpoints objects should be deleted.

Is there any setting, configuration option, or anything else I might have missed?

Lingua principale
Go
Stelle
5.3k
Fork
1.1k
Merge medio
3g 17h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di zalando/postgres-operator

Tutte le issue di zalando/postgres-operator

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.