Fixed code block

This commit is contained in:
Danny Bessems 2020-12-08 23:07:12 +01:00
parent 8e2ea971c9
commit 5538232c7a
1 changed files with 12 additions and 11 deletions

View File

@ -260,18 +260,18 @@ kubectl apply -f services/Matrix/configMap-Matrix.yml
kubectl apply -f services/Matrix/middleware-Matrix.yml kubectl apply -f services/Matrix/middleware-Matrix.yml
kubectl apply -f services/Matrix/deploy-Matrix.yml kubectl apply -f services/Matrix/deploy-Matrix.yml
``` ```
##### 4.8) PVR `namespace` <small>(automated media management)</small> ##### 4.9) PVR `namespace` <small>(automated media management)</small>
*Containers use shared resources to be able to interact with downloaded files* *Containers use shared resources to be able to interact with downloaded files*
``` ```
kubectl create secret generic --type=mount/smb smb-secret --from-literal=username=<<omitted>> --from-literal=password=<<omitted>> -n pvr kubectl create secret generic --type=mount/smb smb-secret --from-literal=username=<<omitted>> --from-literal=password=<<omitted>> -n pvr
kubectl apply -f services/PVR/persistentVolumeClaim-PVR.yml kubectl apply -f services/PVR/persistentVolumeClaim-PVR.yml
kubectl apply -f services/PVR/storageClass-PVR.yml kubectl apply -f services/PVR/storageClass-PVR.yml
``` ```
###### 4.8.1) [NZBHydra](https://github.com/theotherp/nzbhydra2) <small>(index aggregator)</small> ###### 4.9.1) [NZBHydra](https://github.com/theotherp/nzbhydra2) <small>(index aggregator)</small>
``` ```
kubectl apply -f services/PVR/deploy-NZBHydra.yml kubectl apply -f services/PVR/deploy-NZBHydra.yml
``` ```
###### 4.8.2) [Plex](https://www.plex.tv/) <small>(media library)</small> ###### 4.9.2) [Plex](https://www.plex.tv/) <small>(media library)</small>
*Due to usage of symlinks, partially incompatible with SMB-share-backed storage* *Due to usage of symlinks, partially incompatible with SMB-share-backed storage*
``` ```
kubectl apply -f services/PVR/deploy-Plex.yml kubectl apply -f services/PVR/deploy-Plex.yml
@ -281,36 +281,36 @@ After deploying, Plex server needs to be *claimed* (=assigned to Plex-account):
kubectl get endpoints Plex -n PVR kubectl get endpoints Plex -n PVR
``` ```
Browse to the respective IP address (http://<nodeipaddress>:32400/web) and follow instructions. Browse to the respective IP address (http://<nodeipaddress>:32400/web) and follow instructions.
###### 4.8.3) [Radarr](https://radarr.video/) <small>(movie management)</small> ###### 4.9.3) [Radarr](https://radarr.video/) <small>(movie management)</small>
``` ```
kubectl apply -f services/PVR/deploy-Radarr.yml kubectl apply -f services/PVR/deploy-Radarr.yml
``` ```
###### 4.8.4) [Readarr](https://readarr.com/) <small>(book management)</small> ###### 4.9.4) [Readarr](https://readarr.com/) <small>(book management)</small>
``` ```
kubectl apply -f services/PVR/deploy-Readarr.yml kubectl apply -f services/PVR/deploy-Readarr.yml
``` ```
###### 4.8.5) [SABnzbd](https://sabnzbd.org/) <small>(download client)</small> ###### 4.9.5) [SABnzbd](https://sabnzbd.org/) <small>(download client)</small>
``` ```
kubectl apply -f services/PVR/deploy-SABnzbd.yml kubectl apply -f services/PVR/deploy-SABnzbd.yml
``` ```
###### 4.8.6) [Sonarr](https://sonarr.tv/) <small>(tv management)</small> ###### 4.9.6) [Sonarr](https://sonarr.tv/) <small>(tv management)</small>
``` ```
kubectl apply -f services/PVR/deploy-Sonarr.yml kubectl apply -f services/PVR/deploy-Sonarr.yml
``` ```
##### 4.9) [Shaarli](https://github.com/shaarli/Shaarli) <small>(bookmarks/notes)</small> ##### 4.10) [Shaarli](https://github.com/shaarli/Shaarli) <small>(bookmarks/notes)</small>
``` ```
kubectl apply -f services/Shaarli/deploy-Shaarli.yml kubectl apply -f services/Shaarli/deploy-Shaarli.yml
``` ```
##### 4.10) [Theia](https://theia-ide.org/) <small>(web IDE)</small> ##### 4.11) [Theia](https://theia-ide.org/) <small>(web IDE)</small>
``` ```
kubectl apply -f services/Theia/deploy-Theia.yml kubectl apply -f services/Theia/deploy-Theia.yml
``` ```
##### 4.11) [Traefik-Certs-Dumper](https://github.com/ldez/traefik-certs-dumper) <small>(certificate tooling)</small> ##### 4.12) [Traefik-Certs-Dumper](https://github.com/ldez/traefik-certs-dumper) <small>(certificate tooling)</small>
``` ```
kubectl apply -f services/TraefikCertsDumper/deploy-TraefikCertsDumper.yml kubectl apply -f services/TraefikCertsDumper/deploy-TraefikCertsDumper.yml
``` ```
##### 4.12) [Unifi-Controller]() <small>(wlan AP management)</small> ##### 4.13) [Unifi-Controller]() <small>(wlan AP management)</small>
``` ```
kubectl apply -f services/Unifi/deploy-Unifi.yml kubectl apply -f services/Unifi/deploy-Unifi.yml
``` ```
@ -322,6 +322,7 @@ exit
kubectl rollout restart deployment --namespace unifi unifi kubectl rollout restart deployment --namespace unifi unifi
``` ```
*Update STUN url on devices:* <small>doesn't seem to work</small> *Update STUN url on devices:* <small>doesn't seem to work</small>
```
ssh <username>@<ipaddress> ssh <username>@<ipaddress>
sed -e 's|stun://<ipaddress>|stun://<ipaddress>:3479|' -i /etc/persistent/cfg/mgmt sed -e 's|stun://<ipaddress>|stun://<ipaddress>:3479|' -i /etc/persistent/cfg/mgmt
``` ```