Kong / Kong/kong-operator

Output dropped Creation/Update/Delete events when failed to sync Kong configuration by go-database-reconciler

Open
#3,045 0 comments 0 reactions 0 assignees View on GitHub
area/controlplane area/observability
Dominant language
Go
Stars
109
Forks
49
Avg merge
21h 28m
Merged PRs (30d)
313

Description

## Problem Statement

In cases when error happens on syncing Kong configuration by GDR (For example, uploading configuration to KIC in Konnect CP), some events are dropped and not applied after error happen. To reduce the confusion, we should output the dropped events after bumping GDR version to include https://github.com/Kong/go-database-reconciler/pull/362.

## Proposed Solution

Collect dropped events from GDR and output them in either way (or both):
- Add k8s events to related objects
- Output them in logs

## Additional Information

...

## Acceptance Criteria

- [ ] Users can knowt the events are dropped in syncing by either:
- [ ] Events attached to related k8s resource
- [ ] Logs of KO

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests; start by locating the go-database-reconciler integration and the code that handles Kubernetes events and logs during configuration sync. Reproduce a sync failure, then verify that dropped Creation, Update, and Delete events are visible through at least one accepted output path.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.