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

fix: don't dry-run cluster-init spec #3247

Merged
merged 1 commit into from May 13, 2020

Conversation

jackfrancis
Copy link
Member

Reason for Change:

This PR removes the --server-dry-run=true option from kubectl apply during cluster-init reconciliation. Strictly speaking, we should not need to validate the entire spec before running kubectl apply, as retries of that command should reconcile the spec if < 100% was successful the 1st time around.

Issue Fixed:

Fixes #3234

Requirements:

Notes:

mboersma
mboersma previously approved these changes May 13, 2020
Copy link
Member

@mboersma mboersma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@acs-bot
Copy link

acs-bot commented May 13, 2020

[APPROVALNOTIFIER] This PR is APPROVED

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

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 [jackfrancis,mboersma]

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

@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3247   +/-   ##
=======================================
  Coverage   71.55%   71.55%           
=======================================
  Files         147      147           
  Lines       25635    25635           
=======================================
  Hits        18342    18342           
  Misses       6151     6151           
  Partials     1142     1142           
Impacted Files Coverage Δ
pkg/engine/templates_generated.go 40.32% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92a7c7e...be55522. Read the comment docs.

@acs-bot
Copy link

acs-bot commented May 13, 2020

New changes are detected. LGTM label has been removed.

@jackfrancis jackfrancis merged commit b548c29 into Azure:master May 13, 2020
@jackfrancis jackfrancis deleted the cluster-init-no-dry-run branch May 13, 2020 23:42
penggu pushed a commit to penggu/aks-engine that referenced this pull request Oct 28, 2020
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.

Generic cluster-init fails to make progress on yaml with namespaces
3 participants