Posts

K8S : Understanding port, targetPort, nodePort and containerPort

Image
  Deployment of Pod in a K8S cluster is not enough, you have to configure a service, ingress and an ingress-backed LoadBalancer to route the traffic to the app deployed in the pod. For the system to work properly, it is imperative to understand the concepts of various ports. nodePort (works at node level) This setting makes the service visible outside the Kubernetes cluster by the node’s IP address and the port number declared in this property. The service also has to be of type NodePort (if this field isn’t specified, Kubernetes will allocate a node port automatically). port(work at service level) Expose the service on the specified port internally within the cluster. That is, the service becomes visible on this port, and will send requests made to this port to the pods selected by the service. targetPort(work at pod level) This is the port on the pod that the request gets sent to. Your application needs to be listening for network requests on this port for the service to work. contai

Covid19 and my journey from Developer to DevOps

Image
 I n the year of 2019,in the month of November, I had joined my organization as a Java developer. I got rolled-on to an airlines project where I was enhancing an internal testing tool developed in Java. The first 3-4 months was pretty good as I was enhancing my knowledge in the project field. Along with that I was sent to Chennai for a couple of weeks with few new friend-cum-colleagues. During mid-March, a sudden blow that shook the entire world - Covid19. Like many industries - Airlines industry got impacted. Due to budget constraints from client end, there was a mass roll-off from the project and after a week I got rolled-on to a Resource industry based project. During the interview round I was asked to choose a role among the three teams - UI-Development Team, DevOps Team and Analytics Team. I was always eager to work in Cloud Technologies and I was not biased to any field of work, so I promptly opted for DevOps role. It worked as a magic and I was introduced to both AWS and Azure e