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/docs/20-admins/30-operation/50-remote.md
+75Lines changed: 75 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -376,6 +376,81 @@ When using `"session_ingress_use_default_cluster_tls_cert": true`,
376
376
_you have to set_ `"session_tls_secret_name": ""` as well, otherwise the API call will fail.
377
377
:::
378
378
379
+
:::note
380
+
If creating the resource pool fails with a message like `Could not find cluster with id XXXXXX in the list of clusters`. This means that you either got the cluster ID wrong or you need to restart the `data_service`, `k8s_watcher` and `data_tasks` services after you have added a new kubeconfig to the kubeconfigs secret.
381
+
:::
382
+
383
+
### Security considerations
384
+
385
+
Renku sessions are embedded in an iframe. And when you run the session on a remote cluster
386
+
then the session hostname is different from the website hostname that hosts the iframe.
387
+
So to make this work we need to set the `SameSite` property on the session cookie to `none`.
388
+
389
+
This raises additional security concerns that should be mitigated as follows on the
390
+
remote cluster ingress configuration.
391
+
392
+
:::note
393
+
It may acceptable to just always open remote sessions in Renku via a separate tab.
394
+
If this is the case then do not set the `SameSite` property to `none` and you do not have
395
+
to implement the additional mitigations discussed below.
Removing or not setting the CORS and CSP headers above can have serious security implications.
451
+
If you are using a different controller make sure you set all equivalent annotations.
452
+
:::
453
+
379
454
### Create a resource pool for the remote cluster
380
455
381
456
Once the cluster connection has been defined, you can use the GET operation to retrieve the cluster connection descriptor, and from there retrieve the associated ULID and create a resource pool which is linked to it.
0 commit comments