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

Open
#3,200 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
go, kubernetes, postgresql

Research direction

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.

Written by the indexing model from the issue text.

Description

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?

Dominant language
Go
Stars
5.3k
Forks
1.1k
Avg merge
3d 17h
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from zalando/postgres-operator

All issues in zalando/postgres-operator

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.