It was year 2015 when I first time installed Kubernetes. Back then, installing Kubernetes is not a simple task like what it is Today. Nowadays, there are a few handy tools that you can choose, eg. kops, heptio. Additionally, you can also choose managed Kubernetes, e.g GKE, AKS, EKS and more. I recently used kops … Continue reading Install Kubernetes on AWS with kops
Tag: Kubernetes
The myth of memory requests and limits in Kubernetes
I summarised a list of FAQ about the memory request and limit in Kubernetes. Also I have a real example down the bottom. 1) What if Container exceed memory request? Totally fine, a Container can exceed its memory request if the Node has memory available. 2) What if Container exceed memory limit? Thats dangerous, as … Continue reading The myth of memory requests and limits in Kubernetes
Pods are not recreated after kubernetes node failure
We had a short outage recently which was caused by the pods were not recreated on other nodes when the previous node become unresponsive. It is Kubernetes 1.6, and according to the documentation, it is expected in some cases. "If the Status of the Ready condition is “Unknown” or “False” for longer than the … Continue reading Pods are not recreated after kubernetes node failure
Service Catalog in OpenShift
OpenShift 3.7 is now able to create and use some AWS services via the Service Catalog. Here is a quick demo that I found out on YouTube: https://www.youtube.com/watch?time_continue=5&v=vqHNwJVDNlQ The technology behind it is called 'Open Service Broker API'. I am not sure for now if supports multi AWS accounts, it would be nice if it … Continue reading Service Catalog in OpenShift
Putting the K in GKE
Not sure if you have noticed Today that Google has renamed Container Engine to Kubernetes Engine. A quick search leads me to a article on Google Cloud blog - Google has been working with the Cloud Native Computing Foundation (CNCF) and the Kubernetes community to create the Certified Kubernetes Conformance Program. The Certified Kubernetes program officially launched today, and … Continue reading Putting the K in GKE
CICD on OpenShift Part One
I have successfully migrated 'Dilbert' from EC2 instance to OpenShift. Dilbert is an automation bot that we use to offload some daily operations. In this article, I will show you how it works. In the Dilbert project, I have one build configuration. For each version, I only build once. This to ensure only one binary … Continue reading CICD on OpenShift Part One
Horizontal Pod Autoscaling
I did a quick test of the HPA (Horizontal Pod Autoscaling) on OpenShift, here are some key findings: Heapster metric is not near realtime, it is about 2 minutes delay in my test. HPA only has one threshold to decide when to scale up or scale down. I think it makes sense, as pods normally … Continue reading Horizontal Pod Autoscaling