Azure / AKS

Azure Kubernetes Service
https://azure.github.io/AKS/
1.95k stars 305 forks source link

[BUG] kubernetes.default.svc is not RECREATED after delete #4523

Open brunomiguel-teixeira opened 1 week ago

brunomiguel-teixeira commented 1 week ago

Describe the bug The kubernetes service which lives in the default namespace is a critical component as virtually ALL k8s components use it for talking/discovering the Kube API Server.

If this service is deleted, even unintentionally, it is never recreated automatically by Azure.

The mitigation I did after this accidental delete was to recreate both Service and the underlying Endpoint manually.

To Reproduce

  1. Delete kubernetes service in namespace default

Expected behavior

  1. Service is deleted.
  2. Service is eventually recreated by AKS Control Plane

Screenshots N/A

Environment (please complete the following information):

AllenWen-at-Azure commented 1 week ago

Hi @brunomiguel-teixeira , could you please share the detail steps about did you delete the service? I test in my AKS cluster, but the kubernetes svc got recreated immediately after I deleted it.

image