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

feat: add support for Ubuntu 18.04-LTS #223

Merged
merged 5 commits into from
Mar 19, 2019

Conversation

CecileRobertMichon
Copy link
Contributor

@CecileRobertMichon CecileRobertMichon commented Jan 3, 2019

Reason for Change:

Add support for Ubuntu 18.04-LTS. This includes a new VHD that is based on top of 18.04. The default is still 16.04-LTS so this will have to be specified explicitly for now. Upgrades and scale operations are unaffected.

Issue Fixed:

Fixes #222

Requirements:

Notes:

@acs-bot acs-bot added the size/M label Jan 3, 2019
@CecileRobertMichon CecileRobertMichon changed the title feat: add support for Ubuntu 18.04 [WIP] feat: add support for Ubuntu 18.04 Jan 3, 2019
@codecov
Copy link

codecov bot commented Jan 4, 2019

Codecov Report

Merging #223 into master will increase coverage by 0.58%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
+ Coverage   67.91%   68.49%   +0.58%     
==========================================
  Files         115      115              
  Lines       16856    16896      +40     
==========================================
+ Hits        11447    11573     +126     
+ Misses       4614     4521      -93     
- Partials      795      802       +7

pkg/api/const.go Outdated Show resolved Hide resolved
@acs-bot acs-bot added size/L and removed size/M labels Jan 7, 2019
@CecileRobertMichon CecileRobertMichon changed the title [WIP] feat: add support for Ubuntu 18.04 feat: add support for Ubuntu 18.04 Jan 9, 2019
@CecileRobertMichon
Copy link
Contributor Author

/hold

@CecileRobertMichon

This comment has been minimized.

@@ -26,10 +26,12 @@ const (
// the LinuxDistros supported by vlabs
const (
Ubuntu Distro = "ubuntu"
Ubuntu1804 Distro = "ubuntu-18.04"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

default distro doesn't change, we are simply adding a two new distro options for new deployments. Upgrades and scale operations are unaffected.

@CecileRobertMichon CecileRobertMichon changed the title feat: add support for Ubuntu 18.04 feat: add support for Ubuntu 18.04-LTS Jan 9, 2019
@CecileRobertMichon

This comment has been minimized.

@CecileRobertMichon

This comment has been minimized.

@CecileRobertMichon

This comment has been minimized.

@CecileRobertMichon
Copy link
Contributor Author

@CecileRobertMichon
Copy link
Contributor Author

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@CecileRobertMichon
Copy link
Contributor Author

/hold cancel

@CecileRobertMichon
Copy link
Contributor Author

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -316,3 +317,13 @@ cleanUpContainerImages() {
docker rmi $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 'nginx') &
fi
}

overrideNetworkConfig() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the workaround suggested by the az linux team to workaround #761

Copy link
Member

Choose a reason for hiding this comment

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

We don't want to do this via cloud-init?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because there is a cloud init bug that is preventing this from being user overridable. @jasonzio from AzLinux has a PR to fix it open but it might take a while before it gets in. See the email thread for more context.

Copy link
Member

Choose a reason for hiding this comment

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

thanks for the context!

Cecile Robert-Michon added 3 commits March 15, 2019 23:27
bump vhd version for moby 3.0.3

disable apply_network_config

Test to see if this improves OSPTO issues

add extra indent

re-add line return

remove brackets

add brackets

skip proposed-updates file for 18.04

fix distro type

add resolv-conf to kubelet config for testing

add missing "then" in bash script

remove datasource fix attempt

distro specific kubelet flag and unit tests

pass in nil value for agent profile for masters

fix unit tests

Fix isUbuntu1604 method to account for windows

fix typo

orchestratorProfile should be MasterProfile

add isUbuntu1804 function

fix function call

fix unit tests

update VHD version

change to !Windows to account for empty osType

revert skip adding "--resolv-conf" case in windows static kubelet config switch

remove xenial-proposed logic
@jackfrancis
Copy link
Member

@CecileRobertMichon FYI rebased / force-pushed

@jackfrancis
Copy link
Member

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mboersma
Copy link
Member

lgtm

Copy link
Member

@serbrech serbrech left a comment

Choose a reason for hiding this comment

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

lgtm

docs/topics/clusterdefinitions.md Outdated Show resolved Hide resolved
pkg/api/defaults-kubelet.go Outdated Show resolved Hide resolved
@CecileRobertMichon
Copy link
Contributor Author

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jackfrancis
Copy link
Member

/lgtm

@acs-bot
Copy link

acs-bot commented Mar 19, 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

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.

Feature Request: aks based on ubuntu 18.04.1
6 participants