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

fix: add toleration to run flannel on not-yet-ready nodes. #313

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

josecv
Copy link
Contributor

@josecv josecv commented Jan 14, 2019

Without this toleration, a v1.12 aks-engine cluster using flannel as its
network plugin will be unable to come up, as the cni plugin will never
start running on the nodes.

Reason for Change:

Currently when an v1.12 aks-engine cluster comes up, the nodes start out with a not-ready taint. The flannel daemonset does not tolerate this taint, so flannel can not come up. This in turn prevents the nodes from ever going ready.

Issue Fixed:

Requirements:

Notes:
I'm not super sure how we could document or unit test this, but feel free to let me know how we could add that to this PR.

@welcome
Copy link

welcome bot commented Jan 14, 2019

💖 Thanks for opening your first pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should make sure your first commit and PR title start with a semantic prefix. Examples of commit messages with semantic prefixes: - fix: change azure disk cachingMode to ReadOnly - feat: make maximumLoadBalancerRuleCount configurable - docs: add note on AKS-Engine and AKS relationship
Make sure to check out the developer guide for guidance on testing your change.

@josecv
Copy link
Contributor Author

josecv commented Jan 14, 2019

/assign @CecileRobertMichon

@codecov
Copy link

codecov bot commented Jan 14, 2019

Codecov Report

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

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

Without this toleration, a v1.12 aks-engine cluster using flannel as its
network plugin will be unable to come up, as the cni plugin will never
start running on the nodes.
@jackfrancis jackfrancis force-pushed the flannel-ds-toleration branch from 0a4adde to 6d4a5ef Compare January 19, 2019 01:18
@jackfrancis
Copy link
Member

Thanks @josecv! FYI I rebased this to bring it up to master HEAD, in order to perform some flannel-specific tests in the background. Change lgtm, will merge pending test results.

@jackfrancis
Copy link
Member

/lgtm

@acs-bot acs-bot added the lgtm label Jan 30, 2019
@jackfrancis jackfrancis merged commit 7809548 into Azure:master Jan 30, 2019
@welcome
Copy link

welcome bot commented Jan 30, 2019

Congrats on merging your first pull request! 🎉🎉🎉

@acs-bot
Copy link

acs-bot commented Jan 30, 2019

[APPROVALNOTIFIER] This PR is APPROVED

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

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:

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

juhacket pushed a commit to juhacket/aks-engine that referenced this pull request Mar 14, 2019
Without this toleration, a v1.12 aks-engine cluster using flannel as its
network plugin will be unable to come up, as the cni plugin will never
start running on the nodes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants