We have been running mysql 5.7 on OpenShift with RedHat provisioned images. To make it work is easy, but to make it work correctly is a bit harder. One example is that how to setup the innodb_buffer_pool_size (one of the most important parameters of mysql)? When you build the image you don't know how much memory the … Continue reading Build smart into your docker images
I extracted a few points to grasp the rough idea of how Kubernetes manages resources QoS: Pods that need to stay up reliably can request guaranteed resources, while pods with less stringent requirements can use resources with weaker or no guarantee. If a pod is successfully scheduled, the container is guaranteed the amount of resources … Continue reading Resources QoS in Kubernetes
If you see the following error when run Rancher server 2.0 preview, it could be caused by your proxy. This is NOT the proxy settings in the docker daemon but the one inside the container itself. I noticed that Rancher server 2.0 tries to download some machine drivers when boots up, it returns the 403 … Continue reading HTTP Error 403 of Rancher server 2.0 preview
A couple days ago I wrote a post to compare what Google Cloud offers, but AWS currently does not support. One of them is that Google charges VM usage per-minute, but AWS charges per-hour. But now the game is changing, as AWS just announced today that 'Effective October 2nd, usage of Linux instances that are … Continue reading AWS per-second billing for Linux EC2 and EBS
A quick summary of what I have found out in Google Cloud Summit Sydney yesterday. GCP GCE offers pay-per-minute (minimum 10 minutes charge), AWS EC2 charges pay-per-hour GCP GCE offers customisable instance spec (up to 64 cores, 416G RAM), AWS EC2 only supports fixed instance spec. GCP GCE support live migration, AWS does not support … Continue reading What GCP offers but AWS does not?
I have been working on OpenShift Dedicated (on AWS) for a few weeks. At the time of writing (v18.104.22.168), here are a couple missing parts that I have found out so far. They are all confirmed by the RedHat support. Share persistent volume across multiple containers: Currently there is no way to share the persistent … Continue reading Missing Parts of OpenShift Dedicated
If you get this error 'fatal: unable to look up current user in the passwd file: no such user' when run git command in a pod on OpenShift. Then try to to set up two environment variables as below. This worked for me. The reason could be that on OpenShift, the users are not in … Continue reading fatal: unable to look up current user in the passwd file: no such user