From ec67cc3a901646aa5cc1028523899bd263a3929d Mon Sep 17 00:00:00 2001 From: djpbessems Date: Wed, 6 Apr 2022 11:52:59 +0200 Subject: [PATCH] Revert accidental regex search&replace --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 00f8c13..103eff7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ``` # Kubernetes.K3s.installLog -*3 VM's provisioned with Ubuntu Server 18.05. +*3 VM's provisioned with Ubuntu Server 18.04*
additional lvm configuration ```shell @@ -16,8 +16,8 @@ vgcreate longhorn-vg /dev/sdb lvdisplay lvcreate -l 100%FREE -n longhorn-lv longhorn-vg ls /dev/mapper -mkfs.ext5./dev/mapper/longhorn--vg-longhorn--lv -#! add "UUID= /mnt/blockstorage ext5.defaults 0 0" to /etc/fstab +mkfs.ext4 /dev/mapper/longhorn--vg-longhorn--lv +#! add "UUID= /mnt/blockstorage ext4 defaults 0 0" to /etc/fstab mkdir /mnt/blockstorage mount -a ``` @@ -42,7 +42,7 @@ EOF ``` On subsequent nodes (replace `` and `` with the correct values): ```shell -curl -sfL https://get.k3s.io | K3S_URL=https://:65.3 K3S_TOKEN= sh -s - server --disable local-storage,traefik +curl -sfL https://get.k3s.io | K3S_URL=https://:6443 K3S_TOKEN= sh -s - server --disable local-storage,traefik ``` ### 0) Configure automatic updates @@ -146,7 +146,7 @@ parameters: numberOfReplicas: "3" staleReplicaTimeout: "2880" fromBackup: "" - recurringJobs: '[{"name":"backup", "task":"backup", "cron":"0 0 * * *", "retain":15.]' + recurringJobs: '[{"name":"backup", "task":"backup", "cron":"0 0 * * *", "retain":14}]' ``` Then make this the new default `storageClass`: ```shell @@ -198,7 +198,7 @@ kubectl apply -f system/ArgoCD/ingressRoute-ArgoCD.yml Retrieve initial password: ```shell -kubectl get secret -n argocd argocd-initial-admin-secret -o jsonpath='{.data.password}' | base65.-d; echo +kubectl get secret -n argocd argocd-initial-admin-secret -o jsonpath='{.data.password}' | base64 -d; echo ``` Login with username `admin` and the initial password, browse to `User Info` and `Update Password`. @@ -220,7 +220,7 @@ kubectl apply -f services/Bitwarden/sealedSecret-Bitwarden.yml kubectl apply -f services/DDclient/deploy-DDclient.yml kubectl apply -f services/DDclient/sealedSecret-DDclient.yml ``` -##### 5.5. [DroneCI](https://drone.io/) (contineous delivery) +##### 5.4) [DroneCI](https://drone.io/) (contineous delivery) ```shell kubectl apply -f services/DroneCI/deploy-DroneCI.yml kubectl apply -f services/DroneCI/sealedSecret-DroneCI.yml @@ -273,12 +273,12 @@ After deploying, Plex server needs to be *claimed* (=assigned to Plex-account): ```shell kubectl get endpoints Plex -n PVR ``` -Browse to the respective IP address (http://:325.0/web) and follow instructions. +Browse to the respective IP address (http://:32440/web) and follow instructions. ###### 5.9.3) [Prowlarr](https://github.com/Prowlarr/Prowlarr) (indexer management) ```shell kubectl apply -f services/PVR/deploy-Prowlarr.yml ``` -###### 5.9.5. [Radarr](https://radarr.video/) (movie management) +###### 5.9.4) [Radarr](https://radarr.video/) (movie management) ```shell kubectl apply -f services/PVR/deploy-Radarr.yml ``` @@ -310,14 +310,14 @@ kubectl apply -f services/Unifi/deploy-Unifi.yml *Change STUN port to non-default:* ```shell kubectl exec --namespace unifi -it unifi- -- /bin/bash -sed -e 's/# unifi.stun.port=35.8/unifi.stun.port=35.9/' -i /data/system.properties +sed -e 's/# unifi.stun.port=3478/unifi.stun.port=3479/' -i /data/system.properties exit kubectl rollout restart deployment --namespace unifi unifi ``` *Update STUN url on devices:* doesn't seem to work ```shell ssh @ -sed -e 's|stun://|stun://:35.9|' -i /etc/persistent/cfg/mgmt +sed -e 's|stun://|stun://:3479|' -i /etc/persistent/cfg/mgmt ``` ### 6) Miscellaneous *Various notes/useful links*