-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: do not download reference CNI plugins #4597
base: master
Are you sure you want to change the base?
Conversation
@@ -33,7 +33,6 @@ SERVICE_PRINCIPAL_CLIENT_ID={{.AuthConfig.GetServicePrincipalId}} | |||
NETWORK_PLUGIN={{getStringFromNetworkPluginType .GetNetworkConfig.GetNetworkPlugin}} | |||
NETWORK_POLICY="{{getStringFromNetworkPolicyType .GetNetworkConfig.GetNetworkPolicy}}" | |||
VNET_CNI_PLUGINS_URL={{.GetNetworkConfig.GetVnetCniPluginsUrl}} | |||
CNI_PLUGINS_URL={{.GetNetworkConfig.GetCniPluginsUrl}} |
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.
cc @lilypan26 @anujmaheshwari1 for bootstrap contract changes
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.
hoping rp can drop this too.
# and how is that different from AgentBaker/vhdbuilder/packer/components.json | ||
#Only the seconde one caches arm? | ||
if [[ $(isARM64) == 1 ]]; then | ||
CNI_TGZ_TMP="cni-plugins-linux-arm64-v1.4.1.tgz" |
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're currently working on revamping all of our component download/install logic to reference versions baked into components.json, thus we'd want to use that here as well
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.
Can I be a beta tester here?
also, |
|
||
# Is there a ${arch} variable I can use instead of the iff |
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.
seems CPU_ARCH
will already be defined at the global scope during build, though I guess installCNI
will only ever be called at runtime after Devin's changes
What type of PR is this?
Feature (kind of more removing a feature)
What this PR does / why we need it:
Reference CNI plugins were formally able to be downloaded from a share however this just caused out of sync issues and was not really used since a node image upgrade was still required. This just always uses the version cached on the vhd
Very open to suggestions on which components.json is used, if it should cache arm64 and amd64 and how to not have to sync vesions between compoennts.json and cse.sh.
Which issue(s) this PR fixes:
none
Requirements:
uses conventional commit messages
includes documentation
adds unit tests
tested upgrade from previous version
Special notes for your reviewer:
Release note: