We have seen about various tools and software, but still, we are missing a tool using which we can create a whole CI/CD pipeline. Jenkins is an open-source automation server. With Jenkins, organizations can accelerate the software development process by automating it. Jenkins manages and controls software delivery processes throughout the entire lifecycle, including build, document, test, package, stage, deployment, static code analysis, and much more.
We can set up Jenkins to watch for any code changes in places like GitHub, Bitbucket, or GitLab and automatically do a build with tools like Maven and Gradle. …
We have discussed how we can use K8s for managing our containers. But setting up the k8s cluster is a very long and complicated task. So, In this article, we will discuss how we can create ansible roles to provision k8s cluster on AWS.
As we are provisioning the k8s cluster, we may need more slave nodes. So, entering the IP of every new slave can be a very tough task. So, we will be using dynamic inventory.
If you don’t have much idea about Kubernetes, then you can read the above article.
In this article we will see how we can create a chat application with multi threading enabled. We will be using python as language to create the chat application.
import socketimport threadingimport time# IPV4
address_family = socket.AF_INET# UDP
protocol = socket.SOCK_DGRAM# socketip = '127.0.0.1'
port = 5000server_socket = socket.socket(address_family, protocol)# bindserver_socket.bind((ip, port))# send and receive functiondef send_msg(address):
data = input("Server: ").encode()
if len(data) < 0:
server_socket.sendto(data, address)def receive_msg():
message, address = server_socket.recvfrom(1024)…
We have discussed about various services and various DevOps tools. We have talked about various tools for deployment, automation, managing etc. But what happens if any important information i.e. message is needed to be delivered but the service which has to receive the message is down. This may result in some service disruption and missing details and finally lead to bad impression in front of client.
To avoid this we can add message queue program in between source program and database. …
We have already seen what in k8s and why it’s used in the Industry. So , we will not discuss about that in this article. If you want you can refer my previous article I have written on k8s.
But we also know managing and creating Kubernetes Cluster is a very hectic and complex process. So, different cloud Platforms provide their own managed Kubernetes service. I have already discussed about Amazon’s managed k8s service EKS. In this article we will discuss about Azure Kubernetes Service.
Although Kubernetes makes application workloads more efficient to deploy and manage as containers, there’s one…
OKD is a distribution of Kubernetes optimized for continuous application development and multi-tenant deployment. OKD adds developer and operations-centric tools on top of Kubernetes to enable rapid application development, easy deployment and scaling, and long-term lifecycle maintenance for small and large teams. OKD is a sibling Kubernetes distribution to Red Hat OpenShift.
In simple words, OKD is upstream of Openshift. I won’t get into much detail what OKD or Openshift is. You can find that in my other article.
Installing Openshift in local device requires a lot of compute unit and generally we don’t have that much resources. So, the…
We have already discussed how k8s is used to manage containers. But as we have seen provisioning and managing k8s is not a very easy task. When using k8s we have to configure everything by our own. But what if there was as software to manage k8s using which we can launch our whole infrastructure just in few clicks.
Red Hat OpenShift is an open source container application platform based on the Kubernetes container orchestrator for enterprise app development and monitoring.
In this article, we are going to discuss how we can connect to a specific route. We will delete the default gateway and make a customized gateway from which we can ping google but not Facebook.
First I will show you by default my system can go to the internet anywhere on the internet because of destination set to 0.0.0.0
Before pinging we need Google and Facebook server IP.
I am taking it by using nslookup command
We have discussed how to configure the Apache webserver with help of Ansible. But if we want to launch multiple, web servers due to an increase in traffic. So, we have to set up a load balancer to manage the load.
As we are configuring load balancer to manage load, so there might be instances when we have to do scaleup or scale down. So, entering the IP of every new server in the load balancer can be a very tough task. So, we will be using dynamic inventory.