Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: set heapster Deployment to EnsureExists to prevent heapster-nann… #295

Merged
merged 2 commits into from Jan 11, 2019

Conversation

jackfrancis
Copy link
Member

…y-induced pod thrashing

Reason for Change:

aks-engine currently delivers a heapster implementation (for clusters < 1.13) that configures the Deployment addon to Reconcile, in order to enforce k8s runtime updates to configuration changes from heapster. In practice, folks are experiencing the the heapster-nannycontainer is inducing regular reconciliations (read: kill/recreate) of the heapster pod.

This sets the Deployment to EnsureExists instead, which we expect to fix the above symptom; and will require manual reconciliation (read: kubectl delete pod <heapster pod id>) in order to apply changes to the addon spec.

Issue Fixed:

Fixes #275

Requirements:

Notes:

@jackfrancis
Copy link
Member Author

@sgoings FYI

@jackfrancis jackfrancis added this to In progress in backlog Jan 11, 2019
@codecov
Copy link

codecov bot commented Jan 11, 2019

Codecov Report

Merging #295 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #295   +/-   ##
=======================================
  Coverage   53.16%   53.16%           
=======================================
  Files          95       95           
  Lines       14244    14244           
=======================================
  Hits         7573     7573           
  Misses       6006     6006           
  Partials      665      665

@mboersma
Copy link
Member

lgtm

@CecileRobertMichon
Copy link
Contributor

/lgtm

@acs-bot acs-bot added the lgtm label Jan 11, 2019
@acs-bot acs-bot merged commit 800a155 into Azure:master Jan 11, 2019
backlog automation moved this from In progress to Done Jan 11, 2019
@acs-bot
Copy link

acs-bot commented Jan 11, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon, jackfrancis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [CecileRobertMichon,jackfrancis]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

jackfrancis added a commit that referenced this pull request Jan 11, 2019
#295)

* fix: set heapster Deployment to EnsureExists to prevent heapster-nanny-induced pod thrashing

* fix: actually change the Deployment spec
juhacket pushed a commit to juhacket/aks-engine that referenced this pull request Mar 14, 2019
Azure#295)

* fix: set heapster Deployment to EnsureExists to prevent heapster-nanny-induced pod thrashing

* fix: actually change the Deployment spec
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
backlog
  
Done
Development

Successfully merging this pull request may close these issues.

Heapster keeps restarting every minute in newly deployed k8s cluster
4 participants