Problems - DentropyCloud
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}
- GitHub - DzeryCZ/docker-machine-nfs: Activates NFS on docker-machine under WSL in Windows 10
- [https://github.com/mjstealey/nfs-in-docker]{.underline}
- (https://github.com/DzeryCZ/docker-machine-nfs#standalone]]
- [https://hub.docker.com/r/itsthenetwork/nfs-server-alpine]{.underline} - (Second best)
- 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/)
- Micro K8s from Ubuntu
- 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/