When we get a certificate from letsencrypt, it has to be renewed periodically. The question is when do you run the renew? It is simple ( this is an command for that ) The command gives you the time period for the expiry and from when we can renew the cert. Then we can set […]
Category: Server
1) Install aws. Make sure aws >= 1.16; After installing make sure that aws is in the path pip3 install awscli –upgrade –user 2) Get the devops user credentials Make sure you have set up login (ie added the user in system:masters group in aws-auth configmap). This the one of the first thing we will […]
Deploy our pods(containers), using deployments 2. Expose pod using service 3. Setup ingress 4. Access Application 5. Run nginx with the config below: Point everything to 192.168.99.100 Now you can access the service from inside the network at in http://{machine-ip}:8888
The certbot ssl certificate is valid only for 90 days. We might have to keep renewing it. We will get an email update about expiring certificates. If you have set up cloudfare for your website, make sure the dns is pass through. This is required while the renewal process goes on. Renewal typically take some […]
Assuming you have a working minikube & kubectl set up. If you need help with that, take a look here. Setup: My minikube was running in a separate desktop. I wanted to access the dashboard on my macbook pro browser. First start the minikube proxy by running the command The previous command exposes the dashboard […]
This error could be due to nginx not being to access the folder. We can fix this by adding www-data/nginx as the owner of the directory and sub directory. We can give persmissions to www-data/nginx user to the directory. Also we need to add executable permission to the path of the folder. chmod +x /home/ […]