Deploy an Epinio environment using K3D.
To execute this environment you'll need:
These technologies were used to deploy all necessary infrastructure for Epinio:
- K3S to deploy a kubernetes cluster;
- Cert Manager to provides SSL Certificates for apps;
- NGINX Ingress to act as Kubernetes Ingress ;
- Epinio to interface kubernetes cluster to developer;
For deploy the this environment in your machine you must be in root directory folder and run the following command:
make deploy-epinio
This command will deploy a K3S Cluster and deploy Cert Manager, NGINX Ingress and Epinio.
To get Epinio endpoints use:
kubectl get ingress -A
And the output will look like:
NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE
epinio dex nginx auth.<IP of Loadbalancer>.omg.howdoi.website <IP of Loadbalancer> 80, 443 xxx
epinio epinio nginx epinio.<IP of Loadbalancer>.omg.howdoi.website <IP of Loadbalancer> 80, 443 xxx
Username and password of epinio interface will be admin and password respectively.
To undeploy the environment including K3D cluster, Epinio and Clipboard app use the following command:
make undeploy-epinio
You can call individually these functions:
make deploy-epinio # Deploy all environment
make undeploy-epinio # Undeploy all environment
make deploy-k3d # Deploy K3d Cluster
make init-helm # Add all necessary Helm repos
make deploy-k8s-infraservice # Deploy NGINX Ingress and Cert Manager on current k8s context
make deploy-cert-manager # Deploy Cert Manager on current k8s context
make deploy-ingress-nginx # Deploy NGINX Ingress on current k8s context
make deploy-epinio # Deploy Epinio on current k8s context
make epinio-login # Execute login on Epinio