dentropycloud.design.design-problems
Dentropy Cloud Design Problems
-
Storage
-
NFS Storage
- We need a NFS drive available locally (SOLVED)
- Native NFS Server
- Docker NFS Servers Containers
- https://hub.docker.com/r/erichough/nfs-server/(https://hub.docker.com/r/erichough/nfs-server/) - (Ideal solution)
- [https://hub.docker.com/r/gists/nfs-server]{.underline}
- [https://github.com/mjstealey/nfs-in-docker]{.underline}
- [https://github.com/DzeryCZ/docker-machine-nfs#standalone](https://github.com/DzeryCZ/do
- [https://hub.docker.com/r/itsthenetwork/nfs-server-alpine]{.underline} - (Second best)
- Docker NFS Research
- NFS does not work with sqlite
- May have to edit the containers themselves because NFS does not support changing permissions
- NFS Daemon must be installed - 12.04 - NFS kernel daemon: no support in current kernel - Ask Ubuntu
- FreeNAS has special settings I don't know about
- https://github.com/ehough/docker-nfs-server/issues/2
- https://container42.com/2014/03/29/docker-quicktip-4-remote-volumes/
- NFS Research
- [https://www.unix.com/aix/252309-showmount-dont-show-nfs4.html]{.underline}
- Note: The showmount command returns information maintained by the mountd daemon. Because NFS Version 4 does not use the mountd daemon, showmount will not return information about version 4 mounts.
- [https://www.unix.com/aix/252309-showmount-dont-show-nfs4.html]{.underline}
- THE ANSWER
- Is every application on the same network?
- Should there be an internal network for VPN applications and one network for Publicly exposed applications, applications available on both will be attached to both networks. This also means there will have to be two Traffik Instances
- Yaml Configuration
- Do we use environment variables to configure everything or do we want to programmatically generate the YAML?
- Use environment variables until there is a problem
- Is there ever a case where a single set of environment variables is not enough?
- Need to run our own kubernetes
- https://k3s.io/ (Probably best solution so far)
-
https://old.reddit.com/r/kubernetes/comments/be0415/k3s_minikube_or_microk8s/(https://old.reddit.com/r/kubernetes/comments/be0415/k3s_minikube_or_microk8s/)
-
Trafik on Kubernetes
-
https://old.reddit.com/r/kubernetes/comments/ej0gtx/help_understanding_traefik_k3s_integration/(https://old.reddit.com/r/kubernetes/comments/ej0gtx/help_understanding_traefik_k3s_integration/)
-
https://akos.me/2019/civo-cloud-treafik-v2-tls/(https://akos.me/2019/civo-cloud-treafik-v2-tls/) > (Works but bad idea)
-
How to enable Traefik Dashboard
- https://www.jurgenallewijn.nl/k3s-enable-traefik-dashboard/(https://www.jurgenallewijn.nl/k3s-enable-traefik-dashboard/)
-
Kubernetes Storage
-
https://kubernetesbyexample.com/pv/
-
NFS Kubernetes TODO
-
https://kubernetesguide.com/kubernetes/nfs-volumes-in-kubernetes/(https://kubernetesguide.com/kubernetes/nfs-volumes-in-kubernetes/)
-
https://rancher.com/docs/rancher/v1.6/en/rancher-services/storage-service/rancher-nfs/(https://rancher.com/docs/rancher/v1.6/en/rancher-services/storage-service/rancher-nfs/)
-
https://matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-volumes-example-nfs-persistent-volume.html(https://matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-volumes-example-nfs-persistent-volume.html)
-
https://kubernetesguide.com/kubernetes/nfs-volumes-in-kubernetes/(https://kubernetesguide.com/kubernetes/nfs-volumes-in-kubernetes/)
-
https://sysadmins.co.za/persistent-nfs-storage-for-kubernetes-deployments/(https://sysadmins.co.za/persistent-nfs-storage-for-kubernetes-deployments/)
-
https://rancher.com/docs/rancher/v1.6/en/rancher-services/storage-service/rancher-nfs/(https://rancher.com/docs/rancher/v1.6/en/rancher-services/storage-service/rancher-nfs/)
-
Cluster Creation Tutorial
-
https://www.liquidweb.com/kb/how-to-install-and-configure-k3s-on-ubuntu-18-04/