The most gracefull way is to trigger a restart for the deployment. In this case, a pod will only be terminated once the new pod is ready. It will slowly replace all pods one after the other.
kubectl rollout restart deployment <deployment-name>
The most gracefull way is to trigger a restart for the deployment. In this case, a pod will only be terminated once the new pod is ready. It will slowly replace all pods one after the other.
kubectl rollout restart deployment <deployment-name>
| select * | |
| from pg_stat_activity | |
| where (state = 'idle in transaction') | |
| and xact_start is not null ; |
| config :logger, level: :debug, | |
| backends: [ | |
| {Logger.Backends.FilterConsole, :debug_log}, | |
| {Logger.Backends.FilterConsole, :error_log} | |
| ] | |
| # log my_app at debug level | |
| config :logger, :debug_log, | |
| level: :debug, | |
| format: "[$level] $message\n", |