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

feat: deprecate kata-containers #3014

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

jackfrancis
Copy link
Member

Reason for Change:

This PR officially deprecates "kata-containers" container runtime support in AKS Engine. This experimental feature has become stale, and it no longer works. The most user-friendly action at this point is to remove its support entirely, so as not to confuse folks who may stumble onto this and spend a lot of time getting something to work that probably doesn't.

Issue Fixed:

Fixes #2618

Requirements:

Notes:

@codecov
Copy link

codecov bot commented Apr 2, 2020

Codecov Report

Merging #3014 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3014      +/-   ##
==========================================
- Coverage   72.11%   72.11%   -0.01%     
==========================================
  Files         142      142              
  Lines       26273    26270       -3     
==========================================
- Hits        18948    18945       -3     
  Misses       6230     6230              
  Partials     1095     1095

@mboersma mboersma added the needs-rebase Changes in the target branch require a `git rebase` and `git push -f` label Apr 2, 2020
@mboersma mboersma removed the needs-rebase Changes in the target branch require a `git rebase` and `git push -f` label Apr 3, 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

@@ -1648,6 +1648,11 @@ func (a *Properties) validateContainerRuntime() error {
return nil
}

// Check for deprecated, non-back-compat
if isUpdate && containerRuntime == KataContainers {
return errors.Errorf("%s containerRuntime has been deprecated, you will not be able to update this cluster with this version of aks-engine", KataContainers)
Copy link
Member

Choose a reason for hiding this comment

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

👍 That's friendly enough.

@@ -362,13 +362,11 @@
"containerRuntime": {
"allowedValues": [
"docker",
"clear-containers",
Copy link
Member

Choose a reason for hiding this comment

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

A twofer with clear-containers, nice to clean out the cruft.

@jackfrancis jackfrancis merged commit 5827dea into Azure:master Apr 3, 2020
@jackfrancis jackfrancis deleted the deprecate-kata-containers branch April 3, 2020 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kata-containers broken for Ubuntu 16.04-LTS
2 participants