Skip to content

Commit 71bc4b5

Browse files
committed
update toc, redirection, and change article name
1 parent a3cb7ed commit 71bc4b5

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2385,7 +2385,12 @@
23852385
},
23862386
{
23872387
"source_path_from_root": "/articles/aks/aks-ssh.md",
2388-
"redirect_url": "/azure/aks/ssh",
2388+
"redirect_url": "/azure/aks/node-access",
2389+
"redirect_document_id": true
2390+
},
2391+
{
2392+
"source_path_from_root": "/articles/aks/node-access.md",
2393+
"redirect_url": "/azure/aks/node-access",
23892394
"redirect_document_id": true
23902395
},
23912396
{

articles/aks/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
- name: Common issues
475475
href: troubleshooting.md
476476
- name: Node access
477-
href: ssh.md
477+
href: node-access.md
478478
- name: Linux performance tools
479479
href: troubleshoot-linux.md
480480
- name: Check for Resource Health events (preview)

articles/aks/ssh.md renamed to articles/aks/node-access.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ This privileged container gives access to the node.
5757
> [!NOTE]
5858
> You can interact with the node session by running `chroot /host` from the privileged container.
5959
60+
### Remove Linux node access
61+
62+
When done, `exit` the interactive shell session. After the interactive container session closes, delete the pod used for access with `kubectl delete pod`.
63+
64+
```output
65+
kubectl delete pod node-debugger-aks-nodepool1-12345678-vmss000000-bkmmx
66+
```
67+
6068
## Create the SSH connection to a Windows node
6169

6270
At this time, you can't connect to a Windows Server node directly by using `kubectl debug`. Instead, you need to first connect to another node in the cluster, then connect to the Windows Server node from that node using SSH. Alternatively, you can [connect to Windows Server nodes using remote desktop protocol (RDP) connections][aks-windows-rdp] instead of using SSH.
@@ -125,9 +133,9 @@ The above example connects to port 22 on the Windows Server node through port 20
125133
> ssh -o 'ProxyCommand ssh -p 2022 -W %h:%p [email protected]' -o PreferredAuthentications=password [email protected]
126134
> ```
127135
128-
## Remove SSH access
136+
### Remove SSH access
129137
130-
When done, `exit` the SSH session, stop any port forwarding, and then `exit` the interactive container session. After the interactive container session closes, delete the pod used for access with `kubectl delete pod`.
138+
When done, `exit` the SSH session, stop any port forwarding, and then `exit` the interactive container session. After the interactive container session closes, delete the pod used for SSH access with `kubectl delete pod`.
131139
132140
```output
133141
kubectl delete pod node-debugger-aks-nodepool1-12345678-vmss000000-bkmmx

0 commit comments

Comments
 (0)