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
Category: Programming
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 […]
When you are stuck with a migration problem in elasticsearch, say version currently run is 2.x and have to migrate to say 6.x. You have to do this: Migrate 2.x to 5.x Migrate 5.x to 6.x This is a cumbersome process, also time consuming. You need a temporary elasticsearch cluster, running in version 5. Not […]
If a file is in s3 and gunzipped, we can easily stream it and read line by line in python. Boto has problem. The read method redownloads the key if you call it after the key has been completely read once (compare the read and next methods to see the difference). So i have used […]