Revert accidental regex search&replace
This commit is contained in:
parent
54f66f35be
commit
ec67cc3a90
22
README.md
22
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*
|
||||
<details><summary>additional lvm configuration</summary>
|
||||
|
||||
```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=<uuid> /mnt/blockstorage ext5.defaults 0 0" to /etc/fstab
|
||||
mkfs.ext4 /dev/mapper/longhorn--vg-longhorn--lv
|
||||
#! add "UUID=<uuid> /mnt/blockstorage ext4 defaults 0 0" to /etc/fstab
|
||||
mkdir /mnt/blockstorage
|
||||
mount -a
|
||||
```
|
||||
@ -42,7 +42,7 @@ EOF
|
||||
```
|
||||
On subsequent nodes (replace `<floating ip>` and `<value from master>` with the correct values):
|
||||
```shell
|
||||
curl -sfL https://get.k3s.io | K3S_URL=https://<floating ip>:65.3 K3S_TOKEN=<value from master> sh -s - server --disable local-storage,traefik
|
||||
curl -sfL https://get.k3s.io | K3S_URL=https://<floating ip>:6443 K3S_TOKEN=<value from master> 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/) <small>(contineous delivery)</small>
|
||||
##### 5.4) [DroneCI](https://drone.io/) <small>(contineous delivery)</small>
|
||||
```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://<nodeipaddress>:325.0/web) and follow instructions.
|
||||
Browse to the respective IP address (http://<nodeipaddress>:32440/web) and follow instructions.
|
||||
###### 5.9.3) [Prowlarr](https://github.com/Prowlarr/Prowlarr) <small>(indexer management)</small>
|
||||
```shell
|
||||
kubectl apply -f services/PVR/deploy-Prowlarr.yml
|
||||
```
|
||||
###### 5.9.5. [Radarr](https://radarr.video/) <small>(movie management)</small>
|
||||
###### 5.9.4) [Radarr](https://radarr.video/) <small>(movie management)</small>
|
||||
```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-<uuid> -- /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:* <small>doesn't seem to work</small>
|
||||
```shell
|
||||
ssh <username>@<ipaddress>
|
||||
sed -e 's|stun://<ipaddress>|stun://<ipaddress>:35.9|' -i /etc/persistent/cfg/mgmt
|
||||
sed -e 's|stun://<ipaddress>|stun://<ipaddress>:3479|' -i /etc/persistent/cfg/mgmt
|
||||
```
|
||||
### 6) Miscellaneous
|
||||
*Various notes/useful links*
|
||||
|
Loading…
Reference in New Issue
Block a user