Adding redeploy of corona also applicable to rstudio
This commit is contained in:
@@ -14,6 +14,14 @@ Cleanup `Error` pods.
|
||||
kubectl get pods | grep Error | cut -d' ' -f 1 | xargs kubectl delete pod
|
||||
```
|
||||
|
||||
Redeploy a deployment:
|
||||
|
||||
```sh
|
||||
DEPLOYMENT="rstudio"
|
||||
NAMESPACE="datalab"
|
||||
kubectl patch deployment $DEPLOYMENT -n $NAMESPACE -p "{\"spec\": {\"template\": {\"metadata\": { \"labels\": { \"redeploy\": \"$( date +%s )\"}}}}}"
|
||||
```
|
||||
|
||||
# Deployment
|
||||
|
||||
## namespaces
|
||||
@@ -74,6 +82,14 @@ sudo yum install -y iscsi-initiator-utils
|
||||
kubectl apply -f longhorn-system/longhorn.yaml
|
||||
```
|
||||
|
||||
## rstudio
|
||||
|
||||
Currently only for one user:
|
||||
|
||||
```sh
|
||||
kubectl apply -f datalab/rstudio.yaml
|
||||
```
|
||||
|
||||
## auth
|
||||
|
||||
Including:
|
||||
|
||||
Reference in New Issue
Block a user