Setting up Spring Boot Web App on Kubernetes

Prerequisites It’s recommended to have following skills before starting : Basic knowledge of Java, Gradle, Docker and Kubernetes Components’ version : JDK 8 or higher Please ensure you have a JDK installed and not just a JRE Docker installed Kubectl installed IDE (IntelliJ, Eclipse, VSCode) Dockerize Makes original app build and run via Docker Spring Initializr Details : Spring initializr () Clone project and add to IDE 1 2 3 4 5 6 7 8 9 10 11 12 curl https://start....

February 23, 2021 · 5 min · Justin Hung

Setting up Static IP on CentOS7

In a CentOS 7, we configuring a network interface using ifcfg files located in /etc/sysconfig/network-scripts/ directory, follow steps below and you will be good to go. Create a file named /etc/sysconfig/network-scripts/ifcfg-eth0 Add following configuration into the file DEVICE=eth0 DEVICETYPE=EtherNet BOOTPROTO=static DEFROUTE=yes NAME=eth0 ONBOOT=yes IPADDR0=192.168.2.80 PREFIX0=24 GATEWAY0=192.168.2.1 DNS1=8.8.8.8 DNS2=8.8.4.4 Restart network service: systemctl restart network

February 24, 2020 · 1 min · Justin Hung