In this post, we are going to build highly available HAProxy Load-balancer for our Kubernetes cluster on-premise. For this, HaProxy will be used for external Load-balancer which takes the requests from outside world sends them to Kubernetes worker nodes on which nginx ingress controller listens incoming requests on port 80 and 443. Another curial software component is Keepalived which provides a highly available HAProxy load-balancer, in case of any of HAProxy loadbalancer is down.
Sometimes, you need to rotate your logs hourly instead of daily or weekly, if you have a big virtual environment many things needs to be logged. Sometimes daily logs are so huge that you need hourly log-rotation. For this one you need to customize some of the settings in your central syslog server. You can find the sample steps below to create logrotate configuration that rotates the logs hourly. Steps: 1 - Copy /etc/cron.
In this post LACP will be configured on Cumulus VX virtual appliance. Test simulated on GNS3 Network simulation. Sample Topology This is the sample network topology to test LACP. Simple Topology on GNS3 Configuration on Both Virtual Appliances for LACP In this configuration, swp1 and swp2 ports used as a slave ports of LAGG0 on both switches. cumulus@cumulus:~$ net add bond LAGG0 bond slaves swp1,2 cumulus@cumulus:~$ net add bond LAGG0 bond mode 802.
If you have a vSphere environment in your Infrastructure and want to automate provisioning steps, you are most likely need PowerCLI which mostly requires Windows Guest or supported GNU/Linux guest on your environment. By the way, Terraform also very nice tool to provision new virtual machine, but it is very limited. If you stumble upon the same case above, this post for you. Actually you do not need any GNU/Linux or Window guest but docker.
In this post we are going to build an image with Packer which will be used to deploy via MaaS. After image built and uploaded to MaaS, it can be used to provision virtual machine or deploy OS on Bare-Metal machines. In order to build an image that is deployable with MaaS, we need couple of files which you can clone here. For this post, It will be created minimal CentOS7 image including httpd package to test.
riccardo - Sep 4, 2020Hi dear, thanks a lot for your post, I’ve just a Q for you. But the same procedure can be used to create an image for Debian and Windows 2019 server? thanks a lot. admin - Oct 10, 2020Dear Riccardo, Thanks for your comment and questions. Regarding debian, similar(but not exactly the same) procedure applies to Debian as well. Debian uses pressed file for auto installation instead of kickstart.