-
Notifications
You must be signed in to change notification settings - Fork 522
feat: add support for Ubuntu 18.04-LTS #223
feat: add support for Ubuntu 18.04-LTS #223
Conversation
Codecov Report
@@ 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 |
4ed8b48
to
d4a0b5b
Compare
5318780
to
9e5ae3a
Compare
/hold |
This comment has been minimized.
This comment has been minimized.
@@ -26,10 +26,12 @@ const ( | |||
// the LinuxDistros supported by vlabs | |||
const ( | |||
Ubuntu Distro = "ubuntu" | |||
Ubuntu1804 Distro = "ubuntu-18.04" |
There was a problem hiding this comment.
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.
9e5ae3a
to
be9df1e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
be9df1e
to
364ce31
Compare
This comment has been minimized.
This comment has been minimized.
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
f116441
to
a48682b
Compare
/hold cancel |
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -316,3 +317,13 @@ cleanUpContainerImages() { | |||
docker rmi $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 'nginx') & | |||
fi | |||
} | |||
|
|||
overrideNetworkConfig() { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the context!
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
a48682b
to
858776d
Compare
@CecileRobertMichon FYI rebased / force-pushed |
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-Authored-By: CecileRobertMichon <[email protected]>
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
/lgtm |
[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:
Approvers can indicate their approval by writing |
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: