You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-17Lines changed: 20 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,30 +7,33 @@ Easily run ShinyProxy on a Kubernetes cluster
7
7
## Why?
8
8
9
9
Deploying and managing ShinyProxy can get complex when many apps are used,
10
-
especially when the configuration of ShinyProxy is often updated. When
11
-
restarting a running ShinyProxy instance (in order to update its configuration),
10
+
especially when the configuration of ShinyProxy is often updated.
11
+
12
+
When restarting a running ShinyProxy instance (in order to update its configuration),
12
13
users will face a disconnect from their running applications. The only solution
13
14
to guarantee that users do not lose their connection to running apps, is to keep
14
15
the current instance alive when updating ShinyProxy's configuration. However,
15
16
manually keeping track of these instances would be too cumbersome and should
16
17
therefore be automated.
17
18
18
19
The ShinyProxy operator for Kubernetes is able to manage multiple ShinyProxy
19
-
instances and their configuration. To give an example of the working of the
20
-
operator, assume we have some ShinyProxy configuration `config1` which contains
21
-
one app called `app1`. When the operator starts working, it checks whether a
22
-
ShinyProxy instance exists with that configuration. If not, it starts a
23
-
ShinyProxy instance and all other required configuration. Users can now start
24
-
using `app1` on this instance. Some time later, the need for a second app
25
-
arises. Therefore, the administrator adapts the configuration of ShinyProxy to
26
-
include a second app `app2`. However, some users are still using `app1` on the
27
-
old instance. These apps may have some state, which should not be lost.
28
-
Therefore, the operator starts a second ShinyProxy instance using configuration
29
-
`config2`. The operator ensures that users which are currently using the first
30
-
instance, stay on that instance. All other users, are forwarded to the new
31
-
server and can use the new application. Nevertheless, users using an old
32
-
instance can choose to use the new instance, by clicking a button in the user
33
-
interface. The operator stops the old instance once it has no apps running.
20
+
instances and their configuration.
21
+
22
+
### example
23
+
24
+
Assume we have some ShinyProxy configuration `config1` which contains
25
+
one app called `app1`. When the operator starts working, it checks whether a ShinyProxy instance exists with that configuration.
26
+
If not, it starts a ShinyProxy instance and all other required configuration. Users can now start using `app1` on this instance.
27
+
28
+
Some time later, the need for a second app arises.
29
+
Therefore the administrator adapts the configuration of ShinyProxy to
30
+
include a second app `app2`.
31
+
32
+
However, some users are still using `app1` on the old instance.
33
+
These apps may have some state, which should not be lost. Therefore, the operator starts a second ShinyProxy instance using configuration `config2`. The operator ensures that users which are currently using the first instance, stay on that instance.
34
+
35
+
All other users are forwarded to the new server and can use the new application. Nevertheless, users using an old
36
+
instance can choose to use the new instance, by clicking a button in the user interface. The operator stops the old instance once it has no apps running.
0 commit comments