Skip to content
Snippets Groups Projects
Verified Commit 217c0fd0 authored by Vincent Sellier's avatar Vincent Sellier
Browse files

sysadmin/support: Add an howto to connect to the kubernetes running rancher

Related to swh/infra/sysadm-environment#4998
parent 3c9cc176
No related branches found
No related tags found
No related merge requests found
Pipeline #3811 passed
...@@ -17,6 +17,7 @@ repos: ...@@ -17,6 +17,7 @@ repos:
hooks: hooks:
- id: codespell - id: codespell
name: Check source code spelling name: Check source code spelling
args: [-L aks]
stages: [commit] stages: [commit]
- repo: local - repo: local
......
...@@ -5,3 +5,4 @@ Support services ...@@ -5,3 +5,4 @@ Support services
:maxdepth: 2 :maxdepth: 2
gitlab/index gitlab/index
rancher/index
.. _rancher_howtos:
.. admonition:: Intended audience
:class: important
sysadm staff members
Rancher howtos
==============
How to connect to the underlying kubernetes
-------------------------------------------
- Add the following line in your `/etc/hosts`
.. code::
192.168.200.18 euwest-rancher-3a905e13.1bef1012-0a93-4a25-8419-ac60363bf3d2.privatelink.westeurope.azmk8s.io
- Get the cluster credentials
.. code:: bash
az aks get-credentials --resource-group euwest-rancher --name euwest-rancher -f rancher-admin.yaml
- Test the connectivity
.. code:: bash
kubectl --kubeconfig rancher-admin.yaml get nodes
.. _rancher:
Rancher
=======
.. toctree::
:maxdepth: 1
howtos
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment