nats-io / nack

NATS Controllers for Kubernetes (NACK)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nats-server-config-reloader: Inotify Not Working in K8 with the secrets

jkralik opened this issue · comments

There is a notification issue related to file system changes that functions properly in a normal Linux environment. However, when using Kubernetes (K8S), the notification system only captures certain events when specifically pointed to a file. This issue is documented in the following GitHub link: Kubernetes Issue #112677.

Additionally, there is a blog post that provides more information on the issue in question: Kubernetes and inotify.

To replicate the issue, follow these steps:

  1. Set the following configuration for certificates:
duration: 8640h1m
renewBefore: 8640h
  1. Despite making the configuration change, no notification or action occurs. Consequently, after one year, the certificate expires.