Set Amazon AWS NTP in kube-aws

Basic info about kube-aws and problem Kube-aws is an open-source tool to provision Kubernetes cluster in Amazon AWS cloud. It provision ec2 instances with CoreOS to run Kubernetes. We’re running our clusters in eu-west-1 region and at some point we started getting problems with syncing time on our node. One day it resulted outage for our ETCd instances. After some investigation I found out that sometimes timesyncd is not able to synchronize time with NTP pool server:...

October 18, 2019 · 2 min · Dmytro Prokhorenkov

Kubernetes, nginx-ingress and S3 bucket

How to setup proxy from nginx-ingress to S3 bucket Long story short. I got a task to proxy few pages from our main website to files hosted in S3 bucket. I tried different ways to do so which I found in internet, but I had not luck with them. Everytime something was broken. But source of my problem was in attempts to configure this with nginx.ingress.kubernetes.io/server-snippet annotation. In real life configuration for this task in my case look much easier....

June 26, 2019 · 1 min · Dmytro Prokhorenkov

Connect Vyos to Aws With Ipsec

Setup VPN in AWS Create Virtual Private Gateway in “VPC” → “Virtual Private Gateways” and attach it to current VPC. Enable route propagation in Route Table in “VPC” → “Route Tables”: Add Inbound rule for local IPs of server(s) behind Vyos which you want to allow access from: Create VPN connection in “VPC” → “VPN Connections” with following details: In the same VPN section, select the VPN you just created and hit “Download Configuration” button....

June 12, 2018 · 2 min · Dmytro Prokhorenkov