Category Archives: Computer and Internet

SpringBoot + GitHub + Azure Pipeline + Azure Web App

I still admire the ease to deploy Heroku with Java. But since I got some credit on Azure, let me try to make a similar workflow. I would assume one have an Azure account. First step, as usual, create a … Continue reading

Posted in Cloud, Computer and Internet | Tagged | Leave a comment

service discovery in kubernetes

Kubernetes utilizes DNS for service discovery. It is quite easy. One can use host name service_name.namespace (in my previous sample, code-sharing-api.default) to access the service (with load-balancing). I was preparing a sample front-end webapp, and then figured out that it … Continue reading

Posted in Cloud, Computer and Internet | Tagged | Leave a comment

spring boot, docker, kubernetes

In previous post, I’ve started a working Minikube on laptop. But the deployment used a prebuilt Node.js echo server image. Here I will go through webapp built by Spring Boot, Docker image, and Kubernetes deployment/service configured via YAML. First, make … Continue reading

Posted in Cloud, Computer and Internet | Tagged | Leave a comment

taste some kubernetes, start with minikube

I was not a big fan on container technology. Well, duty calls. So I would start with tutorials and Minikube on laptop. Installation is simple. Instruction is here. One need kubectl and minikube, both is available as pre-built binary on … Continue reading

Posted in Cloud, Computer and Internet | Tagged | Leave a comment

Unicode equivalence

A few days ago I planned to write a Python script to migrate some music playlist from Mac to PC. The task was just to parse XML file and convert the content to PPL file (just plain text). How hard … Continue reading

Posted in Computer and Internet, Operation System and Linux | Tagged | Leave a comment

get some shadowsocks

Bing from Microsoft got blocked in China a few days ago. The incident seems accidental, however I still feel it is time to make some backup plan. Setup is quite easy. Get client from Shadowsocks. Pick some free server from … Continue reading

Posted in Computer and Internet | Leave a comment

Run multiple jobs in Flink local environment

Actually there is little reason to do this. Flink local environment is generally used to test and debug, not for scalable stream data processing. But anyway, this is the way to run multiple jobs in the local environment. First, start … Continue reading

Posted in Cloud, Computer and Internet | Leave a comment