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: docs/deployment/README.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ and dependencies of the operator.
13
13
servers.
14
14
-**ShinyProxy**: the ShinyProxy servers, these host the Shiny apps. You do not
15
15
need to create these servers manually, since these are created by the
16
-
operator. Instead you define which servers to create and the operator creates
16
+
operator. Instead, you define which servers to create, and the operator creates
17
17
all necessary Kubernetes resources, without affecting any existing server or
18
18
causing downtime.
19
19
-**Redis**: Redis is used by ShinyProxy (not by the operator) to implement
20
20
session persistence. This ensures that when a ShinyProxy server is replaced,
21
21
the user is still logged in. This provides a smooth transition when the
22
22
operator replaces a ShinyProxy server.
23
-
-**Skipper**: Skipper is used as an ingress controller. Currently this is the
23
+
-**Skipper**: Skipper is used as an ingress controller. Currently, this is the
24
24
only ingress controller supported by the operator. The reason is that the
25
25
ingress controller is responsible for routing users to the correct ShinyProxy
26
26
server. Skipper is the only ingress controller we found suitable for this
@@ -31,7 +31,7 @@ and dependencies of the operator.
31
31
32
32
## Tutorial using minikube
33
33
34
-
This section provides an step-by-step tutorial on the basic deployment of the
34
+
This section provides a step-by-step tutorial on the basic deployment of the
35
35
ShinyProxy operator on minikube.
36
36
37
37
1. This tutorial requires that you install some tools:
@@ -92,22 +92,22 @@ ShinyProxy operator on minikube.
92
92
it.
93
93
10. Try the other examples:
94
94
95
-
```bash
96
-
kubectl delete namespace/shinyproxy
97
-
kubectl delete namespace/shinyproxy-operator # may fail
98
-
kubectl delete namespace/shinyproxy-dept2 # may fail
99
-
kubectl delete namespace/my-namespace # may fail
100
-
kubectl delete namespace/redis # may fail
101
-
kubectl delete namespace/skipper # may fail
102
-
kubectl delete -n default ingress/ngingx-to-skipper-ingress # may fail
103
-
kubectl delete -n skipper ingress/ngingx-to-skipper-ingress # may fail
104
-
cd directory_of_example
105
-
kustomize build . | k apply -f -
106
-
```
95
+
```bash
96
+
kubectl delete namespace/shinyproxy
97
+
kubectl delete namespace/shinyproxy-operator # may fail
98
+
kubectl delete namespace/shinyproxy-dept2 # may fail
99
+
kubectl delete namespace/my-namespace # may fail
100
+
kubectl delete namespace/redis # may fail
101
+
kubectl delete namespace/skipper # may fail
102
+
kubectl delete -n default ingress/ngingx-to-skipper-ingress # may fail
103
+
kubectl delete -n skipper ingress/ngingx-to-skipper-ingress # may fail
104
+
cd directory_of_example
105
+
kustomize build . | k apply -f -
106
+
```
107
107
108
108
## Overview of examples
109
109
110
-
The Operator is designed to be flexible and fit many type of deployments. This repository includes examples for many kind of deployments:
110
+
The Operator is designed to be flexible and fit many type of deployments. This repository includes examples for many kinds of deployments:
111
111
112
112
- *1-namespaced-hpa*:
113
113
- Operator-mode: `namespaced`
@@ -118,7 +118,7 @@ The Operator is designed to be flexible and fit many type of deployments. This r
118
118
- ShinyProxy-namespace: `shinyproxy`
119
119
- URLs: `https://shinyproxy-demo.local`
120
120
121
-
This is a very simple deployment of the operator, were everything runs in the same namespace.
121
+
This is a very simple deployment of the operator, where everything runs in the same namespace.
122
122
123
123
- *2-namespaced-ds*:
124
124
- Operator-mode: `namespaced`
@@ -129,8 +129,8 @@ The Operator is designed to be flexible and fit many type of deployments. This r
129
129
- ShinyProxy-namespace: `shinyproxy`
130
130
- URLs: `https://shinyproxy-demo.local`
131
131
132
-
This deployment is very similar to the previous one, except that it runs Skipper using a `DaemonSet` instead of an automatically scaling `Deployment`. Using the `DaemonSet` ensures that every Kubernetes nodes contains a Skipper pod. This is useful when you want an predictable amount of Skipper pods. In the previous example, the cluster automatically scales the amount of Skipper pods according to the load of these pods. When properly configured, this ensures that Skipper has enough resources to
133
-
do its work, while not waisting resources.
132
+
This deployment is very similar to the previous one, except that it runs Skipper using a `DaemonSet` instead of an automatically scaling `Deployment`. Using the `DaemonSet` ensures that every Kubernetes nodes contains a Skipper pod. This is useful when you want a predictable amount of Skipper pods. In the previous example, the cluster automatically scales the amount of Skipper pods according to the load of these pods. When properly configured, this ensures that Skipper has enough resources to
133
+
do its work, while not wasting resources.
134
134
135
135
- *3-clustered-hpa*:
136
136
- Operator-mode: `clustered`
@@ -143,7 +143,7 @@ The Operator is designed to be flexible and fit many type of deployments. This r
143
143
- `https://shinyproxy-demo.local`
144
144
- `https://shinyproxy-demo2.local`
145
145
146
-
In this example, the operator runs in`clustered` mode. Therefore the operator will look into all namespaces for`ShinyProxy` resources and deploy these resourcesin their respective namespace. This also requires Skipper to be run in clustered mode (in the previous examples it would only look at `Ingress`
146
+
In this example, the operator runs in`clustered` mode. Therefore, the operator will look into all namespaces for`ShinyProxy` resources and deploy these resourcesin their respective namespace. This also requires Skipper to be run in clustered mode (in the previous examples it would only look at `Ingress`
147
147
definitions in the `shinyproxy` namespace.) This example also demonstrates how the Operator can be used in a multi-tenancy or multi-realm way. Each ShinyProxy server runs in its own namespace, isolated from the other servers. However, they are managed by a single operator.
148
148
149
149
- *4-clustered-ds*:
@@ -168,7 +168,7 @@ The Operator is designed to be flexible and fit many type of deployments. This r
168
168
- ShinyProxy-namespace: `shinyproxy`
169
169
- URLs: `https://shinyproxy-demo.local`
170
170
171
-
Similar to example example 1, however, the `01_hello` app will now run in the
171
+
Similar to example 1, however, the `01_hello` app will now run in the
172
172
`my-namespace` namespace instead of the `shinyproxy` namespace. In addition to the change in the `shinyproxy.yaml`, this configuration requires the definition of the extra namespace and the modification of the `ServiceAccount`
173
173
of the ShinyProxy server.
174
174
@@ -185,9 +185,9 @@ The Operator is designed to be flexible and fit many type of deployments. This r
185
185
- `https://shinyproxy-demo.local/shinyproxy3/`
186
186
187
187
Based on example 2, this example shows how multi-tenancy can be achieved using
188
-
sub-paths instead of multiple domainnames. Each ShinyProxy server is made
189
-
available at the same domainname but at a different path under that
190
-
domainname.
188
+
sub-paths instead of multiple domain names. Each ShinyProxy server is made
189
+
available at the same domain name but at a different path under that
The dashboard contains two variables which allow you to filter the panels by
68
-
realm or app name. By default these are hidden, check the [ShinyProxy website](https://shinyproxy.io/documentation/usage-statistics/#variable-filters)
68
+
realm or app name. By default, these are hidden, check the [ShinyProxy website](https://shinyproxy.io/documentation/usage-statistics/#variable-filters)
0 commit comments