Error response from daemon: error unmarshalling content: unexpected end of JSON input


It happened the other day that one user reported that he was unable to pull a docker image from an internal registry. So I tried from my laptop, it looked fine at the first beginning. There were a few downloading processed going on, but it threw the error unknown blob at the end. So I tried … Continue reading Error response from daemon: error unmarshalling content: unexpected end of JSON input

Advertisements

3 steps to run Ubuntu in Windows 10


I just started a new job this week, and the standard machine is HP EliteBook with touchscreen and Windows 10. I have been a Ubuntu and Mac user in the past couple of years, may be it is a good time for me to familiarise with the new Windows OS. I was told by many … Continue reading 3 steps to run Ubuntu in Windows 10

Openssl error: SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol


If you see similar errors as below when using openssl to test a https site, it is most likely caused by the SNI that is configured in the reverse proxy or server, like Nginx. openssl s_client -connect bla.bla.com:443 CONNECTED(00000003) 51089:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-59.60.1/src/ssl/s23_clnt.c:618: To make it work, you need to specify the hostname in the command, … Continue reading Openssl error: SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Autoscaler on OpenShift Dedicated


At the time of writing, OpenShift dedicated (v3.5.5.31) only supports autoscaling based on the CPU metrics. So the first step is to ensure the CPU request is in place. It can be setup in the section of container spec. e.g spec: containers: image: 'poc/web' name: my-web ports: - containerPort: 3000 resources: requests: cpu: 200m limits: … Continue reading Autoscaler on OpenShift Dedicated

Resources QoS in Kubernetes


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