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
| v1.16 | Any version | Requires the use of `SPO_PROBE_INITIAL_DELAY` and `SPO_PROBE_FAILURE_THRESHOL` due to lack of startup probes. |
105
+
| v1.17 | Any version | Requires the use of `SPO_PROBE_INITIAL_DELAY` and `SPO_PROBE_FAILURE_THRESHOL` due to lack of startup probes. |
106
+
| v1.18 | Any version | Includes startup probes (as beta). |
107
+
| v1.19 | Any version ||
108
+
| v1.20 | 0.0.1-SNAPSHOT-20210113.083121 | This version is not officially supported by the Kubernetes API Client we use, however, integration and manual tests are performed against this version. Version 0.2.0 of the operator will officially support this version. |
@@ -58,8 +60,8 @@ ShinyProxy operator on minikube.
58
60
```
59
61
60
62
5. Wait for all the resources to startup. At this point the operator should
61
-
start. It is now time to configure web access to the cluster.
62
-
First get the IP of minikube using:
63
+
start. It is now time to configure web access to the cluster. First get the
64
+
IP of minikube using:
63
65
64
66
```bash
65
67
minikube ip
@@ -105,8 +107,7 @@ ShinyProxy operator on minikube.
105
107
106
108
## Overview of examples
107
109
108
-
The Operator is designed to be flexible and fit many type of deployments. This
109
-
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 kind of deployments:
110
111
111
112
- *1-namespaced-hpa*:
112
113
- Operator-mode: `namespaced`
@@ -117,8 +118,7 @@ repository includes examples for many kind of deployments:
117
118
- ShinyProxy-namespace: `shinyproxy`
118
119
- URLs: `https://shinyproxy-demo.local`
119
120
120
-
This is a very simple deployment of the operator, were everything runs in the same
121
-
namespace.
121
+
This is a very simple deployment of the operator, were everything runs in the same namespace.
122
122
123
123
- *2-namespaced-ds*:
124
124
- Operator-mode: `namespaced`
@@ -129,14 +129,8 @@ repository includes examples for many kind of deployments:
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
133
-
Skipper using a `DaemonSet` instead of an automatically scaling `Deployment`.
134
-
Using the `DaemonSet` ensures that every Kubernetes nodes contains a Skipper
135
-
pod. This is useful when you want an predictable amount of Skipper pods. In
136
-
the previous example, the cluster automatically scales the amount of Skipper
137
-
pods according to the load of these pods. When properly configured, this
138
-
ensures that Skipper has enough resources to do its work, while not waisting
139
-
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 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.
140
134
141
135
- *3-clustered-hpa*:
142
136
- Operator-mode: `clustered`
@@ -149,14 +143,8 @@ repository includes examples for many kind of deployments:
149
143
- `https://shinyproxy-demo.local`
150
144
- `https://shinyproxy-demo2.local`
151
145
152
-
In this example, the operator runs in`clustered` mode. Therefore the operator
153
-
will look into all namespaces for`ShinyProxy` resources and deploy these
154
-
resources in their respective namespace. This also requires Skipper to be run
155
-
in clustered mode (in the previous examples it would only look at `Ingress`
156
-
definitions in the `shinyproxy` namespace.) This example also demonstrates how
157
-
the Operator can be used in a multi-tenancy or multi-realm way. Each
158
-
ShinyProxy server runs in its own namespace, isolated from the other servers.
159
-
However, they are managed by a single operator.
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
+
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.
160
148
161
149
- *4-clustered-ds*:
162
150
- Operator-mode: `clustered`
@@ -181,9 +169,7 @@ repository includes examples for many kind of deployments:
181
169
- URLs: `https://shinyproxy-demo.local`
182
170
183
171
Similar to example example 1, however, the `01_hello` app will now run in the
184
-
`my-namespace` namespace instead of the `shinyproxy` namespace. In addition to
185
-
the change in the `shinyproxy.yaml`, this configuration requires the
186
-
definition of the extra namespace and the modification of the `ServiceAccount`
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`
187
173
of the ShinyProxy server.
188
174
189
175
- *6-namespaced-ds-multi*:
@@ -200,17 +186,23 @@ repository includes examples for many kind of deployments:
200
186
201
187
Based on example 2, this example shows how multi-tenancy can be achieved using
202
188
sub-paths instead of multiple domainnames. Each ShinyProxy server is made
203
-
available at the same domainname but at a different path under that domainname.
189
+
available at the same domainname but at a different path under that
190
+
domainname.
204
191
205
192
## ShinyProxy CRD
206
193
207
194
The `CustomResourceDefinition` of the operator can be found in the
208
195
`bases/namespaced/operator/crd.yaml` directory (the CRD is equal for`clustered`
209
-
and `namespaced` deployments). The following sections of this file are important:
196
+
and `namespaced` deployments). The following sections of this file are
197
+
important:
210
198
211
199
- `spring` config related to Spring, such as the redis connection information
212
-
- `proxy` the configuration of ShinyProxy, this is the same configuration as if you were manually deploying ShinyProxy
200
+
- `proxy` the configuration of ShinyProxy, this is the same configuration as if
201
+
you were manually deploying ShinyProxy
213
202
- `kubernetesPodTemplateSpecPatches` allows to patch the PodTemplate
214
203
- `image` the docker image to use for the ShinyProxy instances
215
204
- `fqdn` the FQDN at which the service should be available
216
-
- `appNamespaces` a list of namespaces in which apps will be deployed. This is only needed when you change the namespace of an app using the `kubernetes-pod-patches` feature. The namespace of the operator and ShinyProxy instance are automatically included
205
+
- `appNamespaces` a list of namespaces in which apps will be deployed. This is
206
+
only needed when you change the namespace of an app using the
207
+
`kubernetes-pod-patches` feature. The namespace of the operator and ShinyProxy
0 commit comments