Ahmed Hamdy created FLINK-41822:
-----------------------------------
Summary: Add Owner Reference to Kuberentes HA Configmaps
Key: FLINK-41822
URL: https://issues.apache.org/jira/browse/FLINK-41822
Project: Flink
Issue Type: Improvement
Components: Deployment / Kubernetes
Affects Versions: 2.5.0
Reporter: Ahmed Hamdy
h2. Problem
{{KubernetesLeaderElector}} creates HA configmap, When the JobManager is run as
a {{Deployment}} or {{StatefulSet}} these configmaps can not be cleaned up as
cluster shutdown only issues a container restart and recreates the HA
configmap, Labels were added inĀ FLINK-34286 to clean the configmap up, but a
better approach is just to let kuberentes garbage collect it when the
JobManager owner is deleted. This is already supported for the JobManager
deployment itself in JOB_MANAGER_OWNER_REFERENCE. We will use a similar config
for HA cluster configmap with empty fallback
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)