Application using the tech stack of .Net Framework (<4.7) passes configuration information using Web.config file, While working on the containerization of legacy applications we will be not able to change the value of Web.config after the building of the container image.Even if try to pass the configuration value as a key-value using environment variables to the container while running the containers, the value under Web.config will not be going to change. As the configuration values we pass ...
Read More
Kubernetes is an orchestration tool that helps us to manage container-based resources, usually as modern application architecture got designed in that way more often we will be dealing with containers that are Linux OS based. But for application which is run on a technology stack like DotNet Framework needed windowsOS, hence Windows containers are needed to deploy and consume such applications in a microservice architecture.
Read More
Since pods created in k8s are ephemeral, we are able to get the data as long as pods are alive, but if pods are terminated data stored in it completely lost and it cannot get back, for that we need to mount a volume to write the data into that of a pod. To do that we have different ways. Let’s look at those things.
Host path: with this type, we can configure a directory on the host itself (node) and specify a path /data. Once the volume is created, we mount the volume to a directory inside t...
Read More
Stateful sets are similar to deployments, they can scale up and scale down, they can perform rolling updates etc. All most it performs similar functions like replica sets and deployment sets. but there some difference as well, in stateful sets pods are created in a sequential order, that means when the pods are deployed, 1st pod should be in running and ready state after that new pod will be created to match the desired replicas. So that makes our life easy to understand which pod is created 1st...
Read More
Till now I have given blogs on k8s objects, services, namespaces, ingress etc. but where to execute and implement all those, yes, we need a k8s cluster for that, if you have it already go n execute, if not, here is the solution for you.
Read More
If you have deployed different applications on k8s cluster using various objects like deployments, pods, services etc. all the info about cluster is stored into ETCD cluster. If your application is using persistent storage that will be considered as another backup scenario.
Read More
Taints and tolerations are used to restrict the pods to schedule them onto respective nodes. There is nothing to do with security.
Read More
Assume you have 3 nodes cluster of which two of them are having lower hardware resources and one of them is larger node configured with higher resources, and there are different kinds of workloads running in our cluster, and you would like to dedicate data-processing workloads that require higher horse power to the larger nodes , as that is the only node that will not run out of resources in case job demands extra resources.
Read More
The k8s node affinity feature is to ensure pods are hosted on a particular node. As mentioned in previous blog large data processing nodes are into node-1. we achieved that using node selectors. As I mentioned that we cannot provide advance expressions like large or medium / not in small nodes.
Read More
Ingress is a resource, which exposes the http and https from external sources to the services within the cluster, by adding the rules in the ingress resource for routing the traffic, where traffic is controlled by ingress controller.
Read More