Commit Graph

9 Commits

Author SHA1 Message Date
Puru 69706582d4
Fix mermaid syntax error 2024-02-13 14:14:10 +05:45
Takashiidobe d536e46dbd fix typos 2023-12-24 21:00:53 -05:00
Oliver L Schoenborn 07ec542ee9
typo in notes section
Co-authored-by: Qiming Teng <tengqm@outlook.com>
2023-03-13 22:27:38 -04:00
Oliver L Schoenborn 5dc0185920 Simplify by focussing on kubectl ie no curl left except one mention; moved notes to the end where nuances are discussed such as upper/lower case env var, use of proxy-url, meaning of localhost vs socks5h, etc 2023-03-13 22:12:32 -04:00
Fabrice Jammes 1f22d45a3b
Update content/en/docs/tasks/extend-kubernetes/socks5-proxy-access-api.md
Co-authored-by: ZSC <zacharysarah@users.noreply.github.com>
2022-06-14 22:56:04 +02:00
Fabrice Jammes aba1766a83
Update content/en/docs/tasks/extend-kubernetes/socks5-proxy-access-api.md
Co-authored-by: ZSC <zacharysarah@users.noreply.github.com>
2022-06-14 22:55:22 +02:00
Fabrice Jammes 34140f1087
Update socks5-proxy-access-api.md
If using `localhost` instead of <API_SERVER_IP_ADRESS>, you get a certificate error:
```
kubectl get pods
I0520 16:29:08.178277   41261 versioner.go:58] Get https://localhost:6443/version?timeout=5s: dial tcp 127.0.0.1:6443: connect: connection refused
Unable to connect to the server: x509: certificate is valid for ccqserv225, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, not localhost
```

Please also note that I have a warning message if I unset the `https_proxy` env variable:
```
 ⚙ kubectl get pods 
I0520 16:35:27.955076   43865 versioner.go:56] Remote kubernetes server unreachable
NAME                     READY   STATUS    RESTARTS   AGE
hub-54c6457f66-vlq2l     1/1     Running   0          4h27m
proxy-7b5b8dfb9d-dxrkz   1/1     Running   0          4h27m
# Whereas with the https_proxy variable:
 ⚙ export https_proxy=socks5://localhost:1080     
 ⚙ kubectl get pods                          
NAME                     READY   STATUS    RESTARTS   AGE
hub-54c6457f66-vlq2l     1/1     Running   0          4h28m
proxy-7b5b8dfb9d-dxrkz   1/1     Running   0          4h28m
```
Any idea is welcome here.
2022-05-20 16:38:22 +02:00
Rey Lejano 0bdd4d2d03 follow-up to pr 31527 to address comments 2022-05-03 18:46:39 -07:00
Romain Aviolat 7f13ad092c
Document using SOCKS5 to access Kubernetes API (#31527)
* ofeat: add SOCKS5 proxy documentation

Goal of this commit is to document the usage of SOCKS5 proxies to reach
the Kubernetes API.

* Apply suggestions from code review

Co-authored-by: chrismetz09 <cymetz@gmail.com>

* Apply suggestions from code review

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* fix: apply contributors suggestions

* fix: apply contributors suggestions

* Update content/en/docs/tasks/extend-kubernetes/socks5-proxy-access-api.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* fix: apply new contributors suggestions

* Update content/en/docs/tasks/extend-kubernetes/socks5-proxy-access-api.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* feat: add cleanup and furter reading sections

* fix: comment on SOCKS5 proxy

* nit

* fix: workflow

Co-authored-by: chrismetz09 <cymetz@gmail.com>
Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-05-02 08:15:14 -07:00