This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nextcloud on Raspberry Pi | |
=== | |
### ubuntu core | |
- nextcloudPi [image](https://ubuntu.com/appliance/nextcloud/raspberry-pi) | |
- snapcraft, specilly for IoT | |
- similar with CoreOS(FCOS), which is using ```rpm-tree```, instead ubuntu core using snap | |
- snap [set proxy](https://askubuntu.com/questions/764610/how-to-install-snap-packages-behind-web-proxy-on-ubuntu-16-04) | |
``` | |
$ sudo snap set system proxy.http="http://<proxy_addr>:<proxy_port>" | |
$ sudo snap set system proxy.https="http://<proxy_addr>:<proxy_port>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Making routr working on k8s and remote cli managment | |
=== | |
### Prepare | |
- Pls make sure you have traefik in your k8s, if you don't, please [install it](https://github.com/traefik/traefik-helm-chart) | |
- [Install routr using helm](https://artifacthub.io/packages/helm/routr/routr) | |
- [install rctl](https://routr.io/docs/administration/cli/installation/) in you pc, or management laptop, etc. | |
### Create ingressroute for routr | |
- update you traefik, create two entrypoints for tcp/udp | |
```yaml= | |
@ traefik/values.yaml:206 @ ports: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLAY [localhost] ***************************************************************************************************************************************************************************************************************************** | |
Wednesday 15 July 2020 19:28:15 +0800 (0:00:00.192) 0:00:00.192 ******** | |
TASK [Check ansible version >=2.8.0] ********************************************************************************************************************************************************************************************************* | |
ok: [localhost] => { | |
"changed": false, | |
"msg": "All assertions passed" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fcos-slave1-dev | SUCCESS => { | |
"hostvars[inventory_hostname]": { | |
"ansible_all_ipv4_addresses": [ | |
"169.254.25.10", | |
"192.168.30.239", | |
"172.17.0.1", | |
"10.233.79.0", | |
"10.233.18.165", | |
"10.233.49.42", | |
"10.233.0.1", |