Skip to content

Commit e8f224c

Browse files
authored
Merge pull request #179212 from alexeldeib/ace/json2
fix http proxy json one more time
2 parents 7506dab + 22b109a commit e8f224c

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

articles/aks/http-proxy.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,14 @@ Using AKS with an HTTP proxy is done at cluster creation, using the [az aks crea
7676
The schema for the config file looks like this:
7777

7878
```json
79-
"httpProxy": "string",
80-
"httpsProxy": "string",
81-
"noProxy": [
79+
{
80+
"httpProxy": "string",
81+
"httpsProxy": "string",
82+
"noProxy": [
8283
"string"
83-
],
84-
"trustedCa": "string"
84+
],
85+
"trustedCa": "string"
86+
}
8587
```
8688

8789
`httpProxy`: A proxy URL to use for creating HTTP connections outside the cluster. The URL scheme must be `http`.
@@ -93,13 +95,15 @@ Example input:
9395
Note the CA cert should be the base64 encoded string of the PEM format cert content.
9496

9597
```json
96-
"httpProxy": "http://myproxy.server.com:8080/",
97-
"httpsProxy": "https://myproxy.server.com:8080/",
98-
"noProxy": [
99-
"localhost",
100-
"127.0.0.1"
101-
],
102-
"trustedCA": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUgvVENDQmVXZ0F3SUJB...b3Rpbk15RGszaWFyCkYxMFlscWNPbWVYMXVGbUtiZGkvWG9yR2xrQ29NRjNURHg4cm1wOURCaUIvCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0="
98+
{
99+
"httpProxy": "http://myproxy.server.com:8080/",
100+
"httpsProxy": "https://myproxy.server.com:8080/",
101+
"noProxy": [
102+
"localhost",
103+
"127.0.0.1"
104+
],
105+
"trustedCA": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUgvVENDQmVXZ0F3SUJB...b3Rpbk15RGszaWFyCkYxMFlscWNPbWVYMXVGbUtiZGkvWG9yR2xrQ29NRjNURHg4cm1wOURCaUIvCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0="
106+
}
103107
```
104108

105109
Create a file and provide values for *httpProxy*, *httpsProxy*, and *noProxy*. If your environment requires it, also provide a *trustedCa* value. Next, deploy a cluster, passing in your filename via the `http-proxy-config` flag.

0 commit comments

Comments
 (0)