Skip to content

Commit ecf8638

Browse files
authored
Merge pull request #433 from MicrosoftDocs/rokeptne/proxy-settings
Updated proxy settings documentation and examples
2 parents fc63c15 + f19493e commit ecf8638

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

articles/cyclecloud/cluster-references/configuration-reference.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,3 @@ writable = false
171171
| sync | Boolean | Synchronous/asynchronous export option. Defaults to `true`. |
172172
| writable | Boolean | The ro/rw export option for the filesystem. Defaults to `true`. |
173173
| options | String | Any non-default options to use when exporting the filesystem. |
174-
175-
### `[[[configuration]]]`
176-
A limited number of configuration options are available under no namespace, usually for legacy reasons.
177-
178-
| Attribute | Type | Description |
179-
| --------- | ---- | ----------- |
180-
| http_proxy | String | The hostname or IP address of the proxy server to use on the node (e.g. 10.10.10.10) |
181-
| https_proxy | String | The hostname or IP address of the HTTPS proxy server to use on the node. (e.g. 10.10.0.1) |
182-
| no_proxy | String | A comma separated list of hostnames or IP addresses not to use a proxy server for. Default: 169.254.169.254 to allow access to Azure metadata |

articles/cyclecloud/how-to/running-behind-proxy.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,20 @@ If the nodes started by CycleCloud also need to have traffic routed through a pr
5151
[node scheduler]
5252
CloudInit = '''#cloud-config
5353
write_files:
54-
- content: |
54+
- path: /etc/profile.d/proxy.sh
55+
owner: root:root
56+
permissions: '0644'
57+
content: |
5558
export http_proxy=10.12.0.5:3128
5659
export https_proxy=10.12.0.5:3128
57-
export no_proxy=169.254.169.254 # special rule exempting Azure metadata URL from proxy
60+
export no_proxy=127.0.0.1,169.254.169.254 # special rule exempting Azure metadata URL from proxy
61+
- path: /etc/systemd/system/jetpackd.service.d/env.conf
5862
owner: root:root
5963
permissions: '0644'
60-
path: /etc/profile.d/proxy.sh
64+
content: |
65+
[Service]
66+
Environment="http_proxy=10.12.0.5:3128"
67+
Environment="https_proxy=10.12.0.5:3128"
68+
Environment="no_proxy=127.0.0.1,169.254.169.254"
6169
'''
6270
```

0 commit comments

Comments
 (0)