First hetzner changes
This commit is contained in:
+20
-4
@@ -83,10 +83,14 @@ $ kubectl delete -f kuard
|
||||
|
||||
Update with the follwoing command. Chart can be found [here](https://github.com/openebs/charts/tree/master/charts/openebs).
|
||||
|
||||
Pitfal:
|
||||
* On fresh installation: activate *ndmOperator*, so that CRDs are correctly installed. It may be deactivated afterwards.
|
||||
|
||||
```sh
|
||||
helm repo add openebs https://openebs.github.io/charts
|
||||
helm repo update
|
||||
helm upgrade --install -f openebs/openebs.yml openebs --namespace openebs openebs/openebs
|
||||
helm upgrade --install --create-namespace -f openebs/openebs.yml openebs --namespace openebs openebs/openebs
|
||||
k apply -f openebs/storageclass.yml
|
||||
```
|
||||
|
||||
## minio
|
||||
@@ -118,7 +122,8 @@ kubectl delete ns velero
|
||||
A backup may be created using:
|
||||
|
||||
```sh
|
||||
velero backup create full-backup --default-volumes-to-restic --include-namespaces datalab,development,nextcloud,tt-rss,zebrium --wait
|
||||
DATE=$( date +%Y%m%d )
|
||||
velero backup create $DATE --default-volumes-to-restic --include-namespaces datalab,development,nextcloud,tt-rss,zebrium --wait
|
||||
```
|
||||
|
||||
## Add private docker registry
|
||||
@@ -129,7 +134,7 @@ USER='moritz'
|
||||
PASSWORD='xxx'
|
||||
docker run --entrypoint htpasswd --rm registry:2 -Bbn $USER $PASSWORD
|
||||
# #
|
||||
helm upgrade --install docker-registry stable/docker-registry -n development -f development/registry.secret.yaml
|
||||
helm upgrade --install --create-namespace docker-registry stable/docker-registry -n development -f development/registry.secret.yaml
|
||||
##kubectl apply -f development/registry.secret.yaml
|
||||
```
|
||||
|
||||
@@ -198,8 +203,19 @@ EOF
|
||||
|
||||
## metrics-server
|
||||
|
||||
Getting resources (was already done):
|
||||
|
||||
```sh
|
||||
helm upgrade --install -f kube-system/metrics-server.yaml metrics-server -n kube-system stable/metrics-server
|
||||
cd kube-system
|
||||
curl -L -o metrics-server.yml https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
|
||||
# add parameters to deployment:
|
||||
# - --kubelet-preferred-address-types=InternalIP
|
||||
# - --v=2
|
||||
# - --kubelet-insecure-tls
|
||||
```
|
||||
|
||||
```sh
|
||||
kubectl apply -n kube-system -f kube-system/metrics-server.yml
|
||||
```
|
||||
|
||||
## rstudio
|
||||
|
||||
Reference in New Issue
Block a user