Skip to content

Commit

Permalink
feat(private egress): update template and add log (#3476)
Browse files Browse the repository at this point in the history
  • Loading branch information
karataliu authored Aug 2, 2023
1 parent 53b199a commit 1dbc09d
Show file tree
Hide file tree
Showing 195 changed files with 459 additions and 134 deletions.
1 change: 1 addition & 0 deletions parts/linux/cloud-init/artifacts/cse_cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,5 @@ CONTAINERD_CONFIG_CONTENT="{{GetContainerdConfigContent}}"
CONTAINERD_CONFIG_NO_GPU_CONTENT="{{GetContainerdConfigNoGPUContent}}"
IS_KATA="{{IsKata}}"
SYSCTL_CONTENT="{{GetSysctlContent}}"
PRIVATE_EGRESS_PROXY_ADDRESS="{{GetPrivateEgressProxyAddress}}"
/usr/bin/nohup /bin/bash -c "/bin/bash /opt/azure/containers/provision_start.sh"
4 changes: 4 additions & 0 deletions parts/linux/cloud-init/artifacts/cse_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ if [[ "${DISABLE_SSH}" == "true" ]]; then
disableSSH || exit $ERR_DISABLE_SSH
fi

# This involes using proxy, log the config before fetching packages
echo "private egress proxy address is '${PRIVATE_EGRESS_PROXY_ADDRESS}'"
# TODO update to use proxy

if [[ "${SHOULD_CONFIGURE_HTTP_PROXY}" == "true" ]]; then
if [[ "${SHOULD_CONFIGURE_HTTP_PROXY_CA}" == "true" ]]; then
configureHTTPProxyCA || exit $ERR_UPDATE_CA_CERTS
Expand Down
7 changes: 6 additions & 1 deletion parts/windows/kuberneteswindowssetup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ $global:UseInstanceMetadata = "{{GetVariable "useInstanceMetadata"}}"
$global:LoadBalancerSku = "{{GetVariable "loadBalancerSku"}}"
$global:ExcludeMasterFromStandardLB = "{{GetVariable "excludeMasterFromStandardLB"}}"

$global:PrivateEgressProxyAddress = "{{GetPrivateEgressProxyAddress}}"

# Windows defaults, not changed by aks-engine
$global:CacheDir = "c:\akse-cache"
Expand Down Expand Up @@ -216,7 +217,11 @@ try
Write-Log "The script has been executed before, will exit without doing anything."
return
}


# This involes using proxy, log the config before fetching packages
Write-Log "private egress proxy address is '$global:PrivateEgressProxyAddress'"
# TODO update to use proxy

$WindowsCSEScriptsPackage = "aks-windows-cse-scripts-v0.0.29.zip"
Write-Log "CSEScriptsPackageUrl is $global:CSEScriptsPackageUrl"
Write-Log "WindowsCSEScriptsPackage is $WindowsCSEScriptsPackage"
Expand Down
3 changes: 3 additions & 0 deletions pkg/agent/baker.go
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,9 @@ func getContainerServiceFuncMap(config *datamodel.NodeBootstrappingConfiguration
"ShouldEnableCustomData": func() bool {
return !config.DisableCustomData
},
"GetPrivateEgressProxyAddress": func() string {
return config.ContainerService.Properties.SecurityProfile.GetProxyAddress()
},
}
}

Expand Down
10 changes: 8 additions & 2 deletions pkg/agent/baker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,10 @@ oom_score = 0
Entry("AKSUbuntu2204 with SecurityProfile", "AKSUbuntu2204+SecurityProfile", "1.26.0",
func(config *datamodel.NodeBootstrappingConfiguration) {
config.ContainerService.Properties.SecurityProfile = &datamodel.SecurityProfile{
// TODO add PrivateEgress
PrivateEgress: &datamodel.PrivateEgress{
Enabled: true,
ProxyAddress: "https://test-pe-proxy",
},
}
}, nil),
)
Expand Down Expand Up @@ -1328,7 +1331,10 @@ var _ = Describe("Assert generated customData and cseCmd for Windows", func() {
Entry("AKSWindows2019 with SecurityProfile", "AKSWindows2019+SecurityProfile", "1.26.0",
func(config *datamodel.NodeBootstrappingConfiguration) {
config.ContainerService.Properties.SecurityProfile = &datamodel.SecurityProfile{
// TODO add PrivateEgress
PrivateEgress: &datamodel.PrivateEgress{
Enabled: true,
ProxyAddress: "https://test-pe-proxy",
},
}
}),
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/testdata/AKSUbuntu1604+Containerd/CSECommand

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/agent/testdata/AKSUbuntu1604+Containerd/CustomData
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ write_files:
encoding: gzip
owner: root
content: !!binary |
H4sIAAAAAAAA/9R8e3PjNpL4//oUHdk1r5h6zMNJJqvZ4ki0rRpZ0oqU88svyXEhEpKwIgEGACUr2bnPfgWApCiZkj1zuas6V+2OTTYa3Y1+o5mzb5ozQpszJJa1M/BIjFkqYYOIJHQBc8YBwZxEuOZMJv5Vf+D4P9le98b3+rfOaOp1LqEmsATrvkbm8AtYc2iyRDbRHynHzYBRiQjFXDQTztZEEEYbAYuTCEsMv/0IcolpDfQPDpYM6nbEMQq3wBEFyUCkQYCFAHyv6Wk0GvUc/J5IaNXmpFZDiYwRX/1kDwhN7+0FphKWLArhWa12Bi6WaQIRWwjNTZpEDIUK95IJWRuMrv1ef9JprhFvRmyREY5WohavQsLBSuD8zwzqcy2iYAk4AA6iVEjMrR2LEVvArxmhjwFbgcAWS2WSyv11OzG+avxLMFr1JohYGlqEEmmpQxKNBK1xWAW5Xio4IVEU7U4gh9tx2FQim+AQBVIdDlCs5I/4FgQOOJYC5pzFYPYNGJ2TRUPeSxAMNhhCRp9LwPcJExgQVYuoIJKsMRA6ZzxGkjBaO4PNEtOHSBYKP6FBlIY4hA2RS0LVycEspWGERS3ZyiWjbx5TMZ9rBny9gZ9tkGwzdi2rvLGVILnMDonMjECbWlA0yOVbIjFHYQ7MLC5J7xC+Vpt+nA69qT9xBo7tOp3zF5GY+RxHGAkMFgdLvNSW8wuc/7kP+xk6Hai3Lxutt3X4rWwsIg0ZoERaC2V5W0CpZBzHbI0hWHJGt7XCoM7/vlshtkLiOJARcCwk4jJ7ElqSxFhsaRBqezILX4RI4pcX5y+UnVAU45cXoFcFqZAsFgEnifzwQR9FXKsp2yJAKJy/EPh3aMOby1br5Y8QMk2AcQ4C6ud/dl3Hv3EGY2fiaocytr2bz/UDbwCw4DgB6+p3eH6WQTujq+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IWQevizZvHRhqxssf++/fjHMn37410W2NzNcIaEKHsSbv+0xl8+PBtECmSEtMIR9YknXMU4SfD29w2ymiCxJ2+sBQhEq8bm/PU/ImVGeBlArcfUH6U8j8ASNlBvgeMfn4ASHGJyrIos6YxC++eCrAKbwv4SVkdlAsMvdHPw8HI7sE+Yk4gwUgfPq+wrmitkND2pD8qexl08VByMp9jffiKKOR47C5rBTsf61uI3ofnvvaUR00Kjr+yreYvMAjVplPbtx8dbxjXLS9f3CGJyltJ5uhninOvEYHu/8gokfDcXHA0XRwY7jCnOM7P/SudG8ZBvGiY5pkQ7Vu86KbRKQvHMUHTeA1LgvI+9NJlCWAzXWUVLG9sLTQgkyxBkoTF2MaDZYxdMJ1BG3NQWIP8DkpegcYRTHNOaAzE+Val0ywanW3bnd3o0dC26cU1VTw6szbIVnoyDAJkts5ztvLiy0NKTsBQoQFWgOWtXbnKUlM21EmhVYi7frcPou4b1BdlK0hEdJZDE4SGGFb4bFlSX65e6SnD+0Af6lJEUSSgNH1Sn5sDpkXvSMSwoGcSVozfKfepEdmzrxudzu9ebPPYMgQpevZYwW0AOnn/ytknYEu4eN9qvW+1YOJ34XkbFizjwBGNWAKz7M8/X5Q923pbCn7lSnZYZB+4nm3ciisfBQu3+ha8Xzzfuen6g912tm9YwMjAfwP8Tj/eX7vKCfgP5LxgiRElrbvm4jbc6TN8Ntv0WeVzyqgN5Vf3TeSmXNPWkhX7n3+tdg/VzcVBMNeKy6i7Ua0gbdpj85JNyCL8vg6n2/nJkXYkTKO9t5c3Z2b7ml9UTmDCt6f+0wa1mtmLHcRqtRNndFn7rwAAAP//HFoYP3NBAAA=

- path: /opt/azure/containers/provision_installs.sh
permissions: "0744"
Expand Down
4 changes: 4 additions & 0 deletions pkg/agent/testdata/AKSUbuntu1604+Containerd/line33.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ if [[ "${DISABLE_SSH}" == "true" ]]; then
disableSSH || exit $ERR_DISABLE_SSH
fi

# This involes using proxy, log the config before fetching packages
echo "private egress proxy address is '${PRIVATE_EGRESS_PROXY_ADDRESS}'"
# TODO update to use proxy

if [[ "${SHOULD_CONFIGURE_HTTP_PROXY}" == "true" ]]; then
if [[ "${SHOULD_CONFIGURE_HTTP_PROXY_CA}" == "true" ]]; then
configureHTTPProxyCA || exit $ERR_UPDATE_CA_CERTS
Expand Down
Loading

0 comments on commit 1dbc09d

Please sign in to comment.