Skip to content

Commit deb7b13

Browse files
authored
Merge pull request #187 from minrk/rst2myst
run rst2md on remaining rst files
2 parents b3f0267 + 6268bc3 commit deb7b13

File tree

3 files changed

+82
-74
lines changed

3 files changed

+82
-74
lines changed
Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,62 @@
1-
=========
2-
Proxy API
3-
=========
1+
# Proxy API
42

5-
Module: :mod:`jupyterhub_traefik_proxy`
6-
=======================================
3+
## Module: {mod}`jupyterhub_traefik_proxy`
74

5+
```{eval-rst}
86
.. automodule:: jupyterhub_traefik_proxy
7+
```
98

9+
```{eval-rst}
1010
.. currentmodule:: jupyterhub_traefik_proxy.proxy
11+
```
1112

12-
:class:`TraefikProxy`
13-
---------------------
13+
### {class}`TraefikProxy`
1414

15+
```{eval-rst}
1516
.. autoconfigurable:: TraefikProxy
1617
:members:
18+
```
1719

20+
```{eval-rst}
1821
.. currentmodule:: jupyterhub_traefik_proxy.fileprovider
22+
```
1923

20-
:class:`TraefikFileProviderProxy`
21-
---------------------------------
24+
### {class}`TraefikFileProviderProxy`
2225

26+
```{eval-rst}
2327
.. autoconfigurable:: TraefikFileProviderProxy
2428
:members:
29+
```
2530

31+
```{eval-rst}
2632
.. currentmodule:: jupyterhub_traefik_proxy.kv_proxy
33+
```
2734

28-
:class:`TKvProxy`
29-
-----------------
35+
### {class}`TKvProxy`
3036

37+
```{eval-rst}
3138
.. autoconfigurable:: TKvProxy
3239
:members:
40+
```
3341

42+
```{eval-rst}
3443
.. currentmodule:: jupyterhub_traefik_proxy.etcd
44+
```
3545

36-
:class:`TraefikEtcdProxy`
37-
-------------------------
46+
### {class}`TraefikEtcdProxy`
3847

48+
```{eval-rst}
3949
.. autoconfigurable:: TraefikEtcdProxy
4050
:members:
51+
```
4152

53+
```{eval-rst}
4254
.. currentmodule:: jupyterhub_traefik_proxy.consul
55+
```
4356

44-
:class:`TraefikConsulProxy`
45-
---------------------------
57+
### {class}`TraefikConsulProxy`
4658

59+
```{eval-rst}
4760
.. autoconfigurable:: TraefikConsulProxy
4861
:members:
62+
```

docs/source/index.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# JupyterHub Traefik Proxy
2+
3+
An implementation of the JupyterHub proxy api with [traefik](https://traefik.io) : an extremely lightweight, portable reverse proxy implementation, that supports load balancing and can configure itself automatically and dynamically.
4+
5+
## Why traefik?
6+
7+
Currently, the **default** proxy implementation for JupyterHub is [configurable-http-proxy](https://github.com/jupyterhub/configurable-http-proxy) (CHP), which stores the routing table in-memory. This might be the best approach in most of the cases, but because you can only run a single copy of the proxy at a time, it has its limitations when used in dynamic large scale systems.
8+
9+
When using a proxy implementation based on traefik, you can run multiple instances of traefik by using a distributed key-value store like [etcd](https://coreos.com/etcd) or [consul](https://www.consul.io/) to store the routing table. This makes the proxy **highly available** and improves the scalability and stability of the system.
10+
Moreover it offers _HTTPS_ support through a straight-forward [ACME (Let's Encrypt)](https://docs.traefik.io/configuration/acme) configuration.
11+
12+
There are three versions for the proxy, depending on how traefik stores the routes:
13+
14+
- _for_ **smaller**, _single-node deployments_:
15+
- TraefikFileProviderProxy
16+
- _for_ **distributed** _setups_:
17+
- TraefikEtcdProxy
18+
- TraefikConsulProxy
19+
20+
## Contents
21+
22+
### Installation Guide
23+
24+
```{toctree}
25+
:maxdepth: 2
26+
27+
install
28+
```
29+
30+
### Getting Started
31+
32+
```{toctree}
33+
:maxdepth: 1
34+
35+
file
36+
etcd
37+
consul
38+
```
39+
40+
### API Reference
41+
42+
```{toctree}
43+
:maxdepth: 3
44+
45+
api/index
46+
changelog
47+
```
48+
49+
## Indices and tables
50+
51+
- {ref}`genindex`
52+
- {ref}`modindex`
53+
- {ref}`search`

docs/source/index.rst

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)