<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kapare Sushant on Medium]]></title>
        <description><![CDATA[Stories by Kapare Sushant on Medium]]></description>
        <link>https://medium.com/@kapare.sushant23?source=rss-eabf6d6c7520------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pw3txO_VTGRpqQ1t1qkkWw.jpeg</url>
            <title>Stories by Kapare Sushant on Medium</title>
            <link>https://medium.com/@kapare.sushant23?source=rss-eabf6d6c7520------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:26:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kapare.sushant23/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[      ]]></title>
            <link>https://medium.com/@kapare.sushant23/-0bb5f8693220?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/0bb5f8693220</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Fri, 31 Jan 2025 03:00:34 GMT</pubDate>
            <atom:updated>2025-01-31T03:00:34.290Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*OwaWwalK2M1Yz92v.png" /></figure><p>As DevOps continues to evolve, you might wonder if it’s worth your time to learn Jenkins, especially with so many other Continuous Integration/Continuous Deployment (CI/CD) tools on the market, like GitLab, GitHub Actions, or Azure DevOps. If you’re just starting your journey into DevOps, should you invest your time in Jenkins?</p><h3>Why Jenkins is still relevant</h3><ol><li><strong>Ubiquity in the Industry: </strong>Jenkins has been around for over a decade, and it’s still widely used by many organizations, especially larger enterprises. If you’re applying for roles in big corporations, you’ll likely encounter Jenkins as part of their existing CI/CD setup.</li><li><strong>Full Control and Customization:</strong> Jenkins is highly flexible and can be tailored to meet specific needs. You can run it on your own hardware and modify its features to suit your requirements, which is particularly valuable in organizations that need unique, custom-built pipelines.</li><li><strong>Open Source: </strong>As an open-source tool, Jenkins gives you full access to its code, which builds trust and allows you to extend it in any way you see fit. This is a significant advantage over many proprietary solutions.</li><li><strong>Familiarity with Groovy:</strong> While Groovy might not be the easiest language to work with, it’s still simpler than YAML-based languages. If you’re comfortable with Groovy, Jenkins’ scripting abilities could give you an edge, especially for those with experience in Java.</li><li><strong>Widespread Use: </strong>Despite newer tools gaining traction, Jenkins is still very much alive in the industry. Many companies that have been using Jenkins for years continue to rely on it. If you’re working in or aiming for a legacy environment, learning Jenkins could still be highly beneficial.</li></ol><h3>Alternatives to Jenkins</h3><p>While Jenkins isn’t going anywhere soon, other CI/CD tools are becoming increasingly popular, especially in modern DevOps environments. Here are a few options you might consider:</p><ol><li><strong>GitLab CI: </strong>If your company uses GitLab, it might make more sense to stick with their integrated CI/CD tool. It’s easy to set up and use, especially for smaller teams or those heavily invested in GitLab’s ecosystem.</li><li><strong>GitHub Actions:</strong> For those who are already comfortable with GitHub, GitHub Actions provides a seamless way to automate workflows directly from your GitHub repository. It’s ideal if you’re already working within GitHub’s ecosystem.</li><li><strong>Azure DevOps:</strong> For organizations using Microsoft’s suite of tools, Azure DevOps offers a comprehensive CI/CD pipeline that integrates well with Azure services, Visual Studio, and more.</li><li><strong>Argo: </strong>Argo is a cloud-native CI/CD tool used primarily for Kubernetes-based workflows. It’s a great option if your organization is shifting towards Kubernetes for container orchestration.</li><li><strong>CircleCI: </strong>CircleCI is known for its ease of use and integration with various platforms. It’s a good alternative for teams that want quick setup and less maintenance than Jenkins.</li></ol><h3>Should you learn Jenkins ?</h3><p>If you’re new to DevOps or just starting your career, learning Jenkins can still be useful. Understanding its fundamentals will help you appreciate how CI/CD pipelines work in any context. Even if you end up working with tools like GitLab or GitHub, knowing Jenkins gives you the foundational knowledge that can be transferred across many platforms. That said, Jenkins can feel outdated compared to more modern tools. It’s especially true if you’re working in environments where simplicity and speed are critical. If your job requires you to support or manage Jenkins, or if you’re aiming for a role in a company still heavily reliant on it, Jenkins remains worth the effort.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0bb5f8693220" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Some of the Docker Alternatives for Devops Engineer]]></title>
            <link>https://medium.com/@kapare.sushant23/some-of-the-docker-alternatives-for-devops-engineer-4265d6027bf8?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/4265d6027bf8</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Mon, 20 Jan 2025 06:52:19 GMT</pubDate>
            <atom:updated>2025-01-20T06:52:19.815Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0nAw3B-ZrZ3rkd0EsyELWw.png" /></figure><p><strong>Docker </strong>is the most popular developer-oriented containerization platform. It makes it easy to build, run, and share containers that package software into sandboxed environments that have their own filesystem.</p><p>Docker isn’t your only option for working with containers. Selecting an alternative tool can help you address Docker shortcomings, improve suitability for specific scenarios, and increase parity in how you manage containers across your environments.</p><h3><strong>Top Docker Alternatives</strong></h3><ol><li><strong>Podman </strong>:- Podman is an open tool for working with containers and images. It’s fully OCI-compliant and can act as a fully-fledged Docker replacement. It works on Windows, macOS, and Linux.Unlike Docker, Podman uses a daemonless architecture. This means there’s no extra background process running on your hosts, which can improve performance and reduce your attack surface .Podman also has a graphical desktop app, Podman Desktop, which is an open-source alternative to Docker Desktop. It makes it easier to manage your container resources without learning complex commands .</li><li><strong>containerd </strong>:- containerd is a daemon-based OCI-compliant container runtime maintained by the CNCF. It’s the default runtime that’s used by Docker, as well as other technologies such as Kubernetes. If you don’t want Docker, then you can manually install containerd as a standalone runtime.</li><li><strong>Rancher Desktop :- </strong>Rancher Desktop is an open-source desktop-based solution for working with containers.Rancher Desktop bundles a complete set of tools from across the container ecosystem. This includes the Docker daemon Kubernetes cluster support, and accompanying CLIs such as kubectl.</li><li><strong>Hyper-V Containers :-</strong> Windows containers are a Windows Server technology for packaging and running Windows and Linux containers on Windows hosts. Windows containers can be used with Docker and other tools on Windows systems, but you can’t run a Windows container on a Linux machine. You’ll need to use Windows containers when you’re containerizing a Windows app. Microsoft provides a selection of base images that provide Windows, Windows Server, and .NET Core operating system layers and APIs for your app to use.</li><li><strong>LXC </strong>: -Linux Containers is an OS-level containerization solution that’s integrated into Linux. They sit between full virtualization and the lightweight application containers provided by OCI tools like Docker. LXC containers are system containers that include a full operating system. Within the container, you can install any software workload that you need. Once a container has been created, it persists on your machine for as long as it’s needed. The management experience is similar to a traditional virtual machine.</li><li><strong>runc </strong>:- runc is an OCI-compliant container runtime that includes a CLI for starting new containers on your host. It’s a lightweight tool, focused on providing the bare essentials for spawning containers. runc is most commonly included as a low-level component of other container technologies. containerd — a comparatively high-level tool that manages entire container lifecycles — uses runc to actually create container environments.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4265d6027bf8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a Dockerfile and How to Build an Dockerfile]]></title>
            <link>https://medium.com/@kapare.sushant23/what-is-a-dockerfile-and-how-to-build-an-dockerfile-8a51618b6d30?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a51618b6d30</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 04:15:24 GMT</pubDate>
            <atom:updated>2025-01-09T04:15:24.495Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*EU67CTInbyzFGGLWj-faQw.gif" /></figure><p><strong>Dockerfiles</strong> are text files that list instructions for the Docker daemon to follow when building a container image. When you execute the docker build command the lines in your Dockerfile are processed sequentially to assemble your image.</p><p>The basic Dockerfile syntax is</p><pre>INSTRUCTION arguments</pre><h3>Key Dockerfile Instructions :-</h3><h4>1. FROM</h4><pre>FROM pyhton:3.9</pre><p>FROM is usually the first line in your Dockerfile. It refers to an existing image which becomes the base for your build. All subsequent instructions apply on top of the referenced image’s filesystem.</p><h4>2. COPY</h4><pre>COPY reqirement.txt .</pre><p>COPY adds files and folders to your image’s filesystem. It copies between your Docker host and the work-in-progress image. Containers using the image will include all the files you’ve copied in.</p><p>3. ADD</p><pre>ADD http://example.com/archive.tar /archive-content</pre><p>ADD works similarly to COPY but additionally supports remote file URLs and automatic archive extraction. Archives will be extracted into the destination path in your container. Decompression of gzip, bzip2, and xz formats is supported.</p><p>4. RUN</p><pre>RUN pip3 install --no-cache-dir -r reqirement.txt</pre><p>RUN runs a command inside the image you’re building. It creates a new image layer on top of the previous one; this layer will contain the filesystem changes that the command applies. RUN instructions are most commonly used to install and configure packages that your image requires.</p><p>5. ENV</p><pre>ENV FLASK_APP=APP.py</pre><p>The ENV instruction is used to set environment variables that will be available within your containers. Its argument looks similar to a variable assignment in your shell: specify the name of the variable and the value to assign, separated by an equals character.</p><p>Next, copy the following set of Docker instructions, then save them to Dockerfile in your working directory:</p><pre>FROM node:16<br>WORKDIR /app<br><br>COPY package.json .<br>COPY package-lock.json .<br>RUN npm install<br><br>COPY main.js .<br><br>ENTRYPOINT [&quot;node&quot;]<br>CMD [&quot;main.js&quot;]</pre><p>Let’s describe this Dockerfile line-by-line:</p><ul><li>FROM node:16 – The official Node.js image is selected as the base image. All the other statements apply on top of node:16.</li><li>WORKDIR /app – The working directory is changed to /app. Subsequent statements which use relative paths, such as the COPY instructions immediately afterwards, will be resolved to /app inside the container.</li><li>COPY package.json – The next two lines copy in your package.json and package-lock.json files from your host’s working directory. The destination path is ., meaning they’re deposited into the in-container working directory with their original names.</li><li>RUN npm install – This instruction executes npm install inside the container’s filesystem, fetching your project’s dependencies.</li><li>COPY main.js . – Your app’s source code is added to the container. It happens after the RUN instruction because your code will usually change more frequently than your dependencies. This order of operations allows more optimal usage of Docker’s build cache.</li><li>ENTRYPOINT [&quot;node&quot;] – The image’s entrypoint is set so the node binary is launched automatically when you create new containers with your image.</li><li>CMD [&quot;main.js&quot;] – This instruction supplies arguments for the image’s entrypoint. In this example, it results in Node.js running your application’s code.</li></ul><h3>Building your Dockerfile :-</h3><p>Now you can use docker build to build an image from your Dockerfile. Run the following command in your terminal:</p><pre>$ docker build -t demo1:latest .</pre><p>Docker automatically looks for instructions in your working directory’s Dockerfile, but you can reference a different Dockerfile with the -f flag:</p><pre>$ docker build -f dockerfiles/app.dockerfile -t demo1:latest .</pre><p>The -t flag sets the tag which will be assigned to your image after the build completes.</p><h3>Using Your Image</h3><p>With your image built, start a container to see your code execute:</p><pre>$ docker run demo1:latest</pre><h3>Dockerfile Best Practices :-</h3><ol><li>Don’t use latest for your base images</li></ol><p>2. Only use trusted base images</p><p>3. Set your ENTRYPOINT and CMD correctly</p><p>4. Don’t hardcode secrets into images</p><p>5. Set a non-root user for your images</p><p>6. Use .dockerignore to prevent long build times</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a51618b6d30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[      …]]></title>
            <link>https://medium.com/@kapare.sushant23/-53fa2f5a9b7a?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/53fa2f5a9b7a</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Fri, 03 Jan 2025 13:14:05 GMT</pubDate>
            <atom:updated>2025-01-03T13:14:05.333Z</atom:updated>
            <content:encoded><![CDATA[<h3>𝙇𝙞𝙣𝙪𝙭 𝘼𝙧𝙘𝙝𝙞𝙩𝙚𝙘𝙩𝙪𝙧𝙚 𝗮𝗻𝗱 𝗟𝗶𝗻𝘂𝘅 𝗰𝗼𝗺𝗺𝗮𝗻𝗱𝘀 𝘁𝗵𝗮𝘁 𝗲𝘃𝗲𝗿𝘆 𝗱𝗲𝘃𝗼𝗽’𝘀 𝗲𝗻𝗴𝗶𝗻𝗲𝗲𝗿 𝘀𝗵𝗼𝘂𝗹𝗱 𝗸𝗻𝗼𝘄</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7Rp8NQIF6LwUfIurYrevew.gif" /></figure><p>𝙐𝙣𝙙𝙚𝙧𝙨𝙩𝙖𝙣𝙙𝙞𝙣𝙜 𝙇𝙞𝙣𝙪𝙭 𝘼𝙧𝙘𝙝𝙞𝙩𝙚𝙘𝙩𝙪𝙧𝙚: The Backbone of Modern Systems!</p><p>As DevOps engineers, cloud enthusiasts, or system administrators, understanding Linux architecture is fundamental. It’s the foundation of many systems we interact with daily, from web servers to embedded devices. <br> <br>Here’s a quick breakdown of what makes Linux tick:<br> <br>𝑻𝙝𝒆 𝑲𝙚𝒓𝙣𝒆𝙡 — 𝙏𝒉𝙚 𝙃𝒆𝙖𝒓𝙩 𝙤𝒇 𝒕𝙝𝒆 𝑺𝙮𝒔𝙩𝒆𝙢 <br>The kernel is the core of Linux, responsible for managing system resources like CPU, memory, and hardware. Think of it as an orchestra conductor, ensuring all the components work together efficiently. Without the kernel, the system couldn’t give outputs and run or interact with the hardware.</p><p>𝙎𝒚𝙨𝒕𝙚𝒎 𝑳𝙞𝒃𝙧𝒂𝙧𝒊𝙚𝒔- 𝙒𝒉𝙚𝒓𝙚 𝙢𝒂𝙜𝒊𝙘 𝙝𝒂𝙥𝒑𝙚𝒏𝙨!<br>Provides essential functions for applications to interact with the kernel.<br>Examples include libc and libm, enabling tasks like file management and mathematical computations.</p><p>𝑺𝙮𝒔𝙩𝒆𝙢 𝙐𝒕𝙞𝒍𝙞𝒕𝙞𝒆𝙨 𝙏𝒐𝙤𝒍𝙨 𝙛𝒐𝙧 𝙙𝒂𝙮-𝙩𝒐-𝒅𝙖𝒚 𝒐𝙥𝒆𝙧𝒂𝙩𝒊𝙤𝒏𝙨!<br>Includes essential utilities like ls, cat, and grep for file and system management. These tools make Linux versatile and powerful.</p><p>𝑻𝙝𝒆 𝑺𝙝𝒆𝙡𝒍 — 𝑻𝙝𝒆 𝑻𝙧𝒂𝙣𝒔𝙡𝒂𝙩𝒐𝙧 (𝑩𝙧𝒊𝙙𝒈𝙚 𝘽𝒆𝙩𝒘𝙚𝒆𝙣 𝙐𝒔𝙚𝒓 𝒂𝙣𝒅 𝑲𝙚𝒓𝙣𝒆𝙡)<br>The shell acts as the bridge, taking the commands we type and converting them into actions that the kernel can understand. It’s like a translator, allowing us to communicate with the system. Whether it’s a command-line interface (CLI) or graphical interface (GUI), the shell makes sure everything we ask for gets done.<br> <br>𝘼𝒑𝙥𝒍𝙞𝒄𝙖𝒕𝙞𝒐𝙣𝒔 — 𝑻𝙝𝒆 𝑻𝙤𝒐𝙡𝒔 𝑾𝙚 𝙐𝒔𝙚 𝙛𝒐𝙧 𝙜𝒊𝙫𝒊𝙣𝒈 𝒕𝙝𝒆 𝒊𝙣𝒑𝙪𝒕 𝒕𝙤 𝙨𝒉𝙚𝒍𝙡.<br>Applications are the front-end of the system, providing the programs and services we interact with daily. From web browsers to text editors, these are what make Linux user-friendly. The kernel and shell run in the background, but we experience the applications first-hand.</p><h3>Linux Commands Every DevOps/Cloud Engineer Should Know</h3><p>For DevOps and Cloud Engineers, Linux is a cornerstone of their daily operations. Its command-line interface (CLI) offers powerful tools for managing servers, automating tasks, and troubleshooting. Below are essential Linux commands categorized for DevOps and Cloud Engineers, complete with descriptions to help you understand their relevance.</p><h4>1. System Information and Monitoring</h4><ol><li><strong>uname -a</strong><br> Displays detailed system information, including kernel version, system architecture, and operating system.</li><li><strong>htop</strong><br> A visual and interactive process viewer, useful for monitoring system resource usage like CPU, memory, and disk I/O.</li><li><strong>df -h</strong><br> Checks disk space usage in a human-readable format. This is crucial when managing storage resources.</li><li><strong>free -m</strong><br> Displays memory usage statistics in MB, helping monitor RAM utilization.</li></ol><h4>2. File and Directory Management</h4><ol><li><strong>ls and </strong><strong>ls -l</strong><br> Lists files in a directory. The -l flag provides detailed information such as permissions, owner, and file size.</li><li><strong>mkdir</strong><br> Creates directories. Combine with the -p flag to create nested directories.</li><li><strong>cp and </strong><strong>mv</strong><br> Copies (cp) or moves (mv) files and directories. Ideal for managing configuration files.</li><li><strong>find</strong><br> Locates files based on criteria like name, size, or modification date. Useful for troubleshooting and cleanup.</li></ol><h4>3. File Permissions and Ownership</h4><ol><li><strong>chmod</strong><br> Changes file or directory permissions. For example, chmod 755 sets read, write, and execute permissions for the owner, and read/execute for others.</li><li><strong>chown</strong><br> Changes the ownership of files or directories. Syntax: chown user:group file.</li><li><strong>umask</strong><br> Sets default permissions for new files and directories.</li></ol><h4>4. Networking</h4><ol><li><strong>ping</strong><br> Tests network connectivity by sending packets to a target host.</li><li><strong>netstat or </strong><strong>ss</strong><br> Displays active network connections, routing tables, and port usage.</li><li><strong>curl</strong><br> Fetches or sends data to a URL. Essential for interacting with APIs.</li><li><strong>scp and </strong><strong>rsync</strong><br> Securely transfers files between hosts. rsync is particularly useful for syncing directories.</li></ol><h4>5. Package Management</h4><ol><li><strong>apt-get (Debian/Ubuntu)</strong><br> Installs, updates, and removes packages. Example: sudo apt-get install package_name.</li><li><strong>yum or </strong><strong>dnf (RHEL/CentOS/Fedora)</strong><br> Similar to apt-get but for Red Hat-based systems.</li><li><strong>rpm</strong><br> Manages .rpm packages for installation, removal, or querying.</li></ol><h4>6. Process Management</h4><ol><li><strong>ps</strong><br> Displays currently running processes. Use ps aux for detailed information.</li><li><strong>kill and </strong><strong>killall</strong><br> Terminates processes by ID (kill) or name (killall).</li><li><strong>top</strong><br> Similar to htop, provides a dynamic view of system resource usage.</li></ol><h4>7. Automation and Scripting</h4><ol><li><strong>crontab</strong><br> Manages scheduled tasks. Example: crontab -e to edit user-specific cron jobs.</li><li><strong>bash</strong><br> The default Linux shell. Use to write scripts for automation.</li><li><strong>awk and </strong><strong>sed</strong><br> Powerful text-processing tools for manipulating logs and configuration files.</li></ol><h4>8. Docker and Kubernetes</h4><ol><li><strong>docker ps</strong><br> Lists active Docker containers.</li><li><strong>docker-compose up</strong><br> Starts services defined in a docker-compose.yml file.</li><li><strong>kubectl get pods</strong><br> Lists Kubernetes pods. This is essential for managing container orchestration.</li></ol><p>Mastering these commands is not only a technical requirement but also a productivity booster. Continuous practice and application in real-world scenarios will solidify your expertise.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53fa2f5a9b7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Load Balancing VS Clustering]]></title>
            <link>https://medium.com/@kapare.sushant23/load-balancing-vs-clustering-6620cffb0969?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/6620cffb0969</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Wed, 04 Dec 2024 04:11:36 GMT</pubDate>
            <atom:updated>2024-12-04T04:11:36.995Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*ZKCYHlO4iZ2oJvq1nM4rhA.png" /></figure><p>𝗟𝗼𝗮𝗱 𝗯𝗮𝗹𝗮𝗻𝗰𝗶𝗻𝗴 is primarily designed to distribute incoming client requests or network traffic across multiple servers. This prevents any single server from being overwhelmed, ensuring optimal resource utilization and reducing response times. Load balancers achieve this by employing algorithms such as 𝒓𝒐𝒖𝒏𝒅-𝒓𝒐𝒃𝒊𝒏, 𝒍𝒆𝒂𝒔𝒕 𝒄𝒐𝒏𝒏𝒆𝒄𝒕𝒊𝒐𝒏𝒔, 𝒐𝒓 𝒓𝒆𝒔𝒐𝒖𝒓𝒄𝒆-𝒃𝒂𝒔𝒆𝒅 𝒎𝒆𝒕𝒉𝒐𝒅𝒔. Positioned as traffic managers, they dynamically route requests based on server health and capacity, operating at the network layer (Layer 4) or application layer (Layer 7). This ensures high availability and improves the overall user experience.<br> <br> 𝗖𝗹𝘂𝘀𝘁𝗲𝗿𝗶𝗻𝗴, on the other hand, involves a group of servers working together as a unified system to provide fault tolerance, resource sharing, and high availability. In a clustered environment, servers are tightly coupled and often share resources like storage or computation tasks. They communicate and coordinate to distribute workloads effectively. If one server fails, other nodes in the cluster take over its tasks seamlessly, ensuring that operations continue without interruption. This makes clustering particularly useful for applications requiring high reliability, such as database management, high-performance computing, and distributed file systems.</p><p>While 𝗟𝗼𝗮𝗱 𝗯𝗮𝗹𝗮𝗻𝗰𝗶𝗻𝗴 focuses on distributing workloads among independent servers, clustering emphasizes redundancy and shared processing power through tightly integrated nodes. These techniques often complement each other in complex infrastructures. For example, a load balancer can distribute traffic across multiple server clusters, combining the benefits of both approaches to achieve maximum efficiency, resilience, and scalability. By leveraging the strengths of both load balancing and clustering, organizations can build robust systems capable of handling high demand and maintaining continuous operation even in the face of hardware or software failures.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6620cffb0969" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tools for Optimize K8s workflow]]></title>
            <link>https://medium.com/@kapare.sushant23/tools-for-optimize-k8s-workflow-a7e9ff2422ee?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7e9ff2422ee</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Tue, 03 Dec 2024 13:17:37 GMT</pubDate>
            <atom:updated>2024-12-03T13:17:37.807Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*r2dDq2o0LXq36GG98eRGIA.gif" /></figure><p>𝑯𝒆𝒓𝒆’𝒔 𝒂 𝒍𝒊𝒔𝒕 𝒐𝒇 𝒎𝒖𝒔𝒕-𝒉𝒂𝒗𝒆 𝒕𝒐𝒐𝒍𝒔 𝒕𝒐 𝒐𝒑𝒕𝒊𝒎𝒊𝒛𝒆 𝒚𝒐𝒖𝒓 𝑲𝒖𝒃𝒆𝒓𝒏𝒆𝒕𝒆𝒔 𝒘𝒐𝒓𝒌𝒇𝒍𝒐𝒘</p><p>𝗞𝘂𝗯𝗲𝗰𝘁𝗹 :-<br>Kubectl is the primary command-line interface for interacting with Kubernetes clusters. It allows you to manage resources like pods, services, and deployments, perform scaling, execute rolling updates, and troubleshoot issues. With simple commands like kubectl get pods, it’s an essential tool for developers and operators to maintain cluster health and efficiency.</p><p>𝗛𝗲𝗹𝗺 :-<br>Helm is a powerful package manager for Kubernetes that simplifies deploying and managing applications using Helm Charts — preconfigured application templates. It helps with configuring, upgrading, and rolling back applications, making it easier to handle complex deployments in a consistent and reusable way.</p><p>𝗟𝗲𝗻𝘀 :-<br>Lens is a Kubernetes IDE designed for visualizing and managing your clusters. It offers a real-time view of cluster health, resource utilization, and logs, combined with an integrated terminal for running kubectl commands. Lens simplifies navigation and troubleshooting, making it ideal for developers and administrators alike.</p><p>𝗣𝗿𝗼𝗺𝗲𝘁𝗵𝗲𝘂𝘀 &amp; 𝗚𝗿𝗮𝗳𝗮𝗻𝗮 :-<br>Prometheus is a robust metrics collection system tailored for Kubernetes, while Grafana is a visualization tool for creating dashboards based on those metrics. Together, they enable monitoring resource usage, setting alerts for anomalies, and providing deep insights into the health and performance of your cluster.</p><p>𝗔𝗿𝗴𝗼𝗖𝗗 :-<br>ArgoCD is a Kubernetes-native continuous delivery tool that implements GitOps principles. It allows you to manage application deployments declaratively, ensuring your cluster state matches the desired configurations stored in Git repositories. It’s ideal for automating CI/CD workflows in Kubernetes.</p><p>𝗜𝘀𝘁𝗶𝗼 :-<br>Istio is a service mesh that enhances Kubernetes networking by providing features like traffic management, load balancing, security, and observability. It’s perfect for managing microservices-based applications and ensuring reliable communication between services.</p><p>𝗠𝗶𝗻𝗶𝗸𝘂𝗯𝗲 :-<br>Minikube is a lightweight tool that lets you run a single-node Kubernetes cluster locally on your machine.With features like load balancer simulation, multi-cluster support, and add-ons, it provides a simplified way to explore Kubernetes capabilities without requiring a full production setup.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7e9ff2422ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Monitoring Tools]]></title>
            <link>https://medium.com/@kapare.sushant23/docker-monitoring-tools-dd17c068e64f?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd17c068e64f</guid>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Fri, 29 Nov 2024 07:54:36 GMT</pubDate>
            <atom:updated>2024-11-29T07:54:36.064Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*YCIEgxxiDHd98I6ApTePKA.png" /></figure><p>𝘿𝙤𝙘𝙠𝙚𝙧 has revolutionized how we build, ship, and deploy applications. Here’s a list of key tools every Docker enthusiast should know about:</p><p>𝙋𝙧𝙤𝙢𝙚𝙩𝙝𝙚𝙪𝙨: A powerful open-source monitoring system designed for metrics collection and alerting. It uses a time-series database and supports multi-dimensional data collection with flexible querying and visualization. Ideal for cloud-native environments.</p><p>𝙎𝙥𝙡𝙪𝙣𝙠: A data platform that excels at aggregating, analyzing, and visualizing machine-generated data from applications and systems. It’s widely used for log management, application monitoring, and security insights.</p><p>𝙀𝙇𝙆 𝙎𝙩𝙖𝙘𝙠 (𝙀𝙡𝙖𝙨𝙩𝙞𝙘𝙨𝙚𝙖𝙧𝙘𝙝, 𝙇𝙤𝙜𝙨𝙩𝙖𝙨𝙝, 𝙆𝙞𝙗𝙖𝙣𝙖): A robust open-source stack for log and data analysis. Elasticsearch indexes and searches data, Logstash processes and ingests logs, and Kibana provides rich visualizations and dashboards.</p><p>𝙘𝘼𝙙𝙫𝙞𝙨𝙤𝙧 (𝘾𝙤𝙣𝙩𝙖𝙞𝙣𝙚𝙧 𝘼𝙙𝙫𝙞𝙨𝙤𝙧): A lightweight monitoring tool for containerized environments, offering real-time resource usage statistics like CPU, memory, and network for Docker containers.</p><p>𝙋𝙤𝙧𝙩𝙖𝙞𝙣𝙚𝙧: A user-friendly GUI for managing Docker environments. It simplifies tasks like deploying, managing, and troubleshooting containers, images, and networks, making it perfect for beginners and experts alike.</p><p>𝘿𝙖𝙩𝙖𝙙𝙤𝙜: A full-stack monitoring and analytics platform for cloud applications. It provides insights into performance, logs, and security, integrating seamlessly with various cloud services and container orchestration tools.</p><p>𝙒𝙚𝙖𝙫𝙚 𝙎𝙘𝙤𝙥𝙚: A visualization and monitoring tool for Docker and Kubernetes. It dynamically maps containerized applications, showing their interconnections and resource usage for better debugging and management.</p><p>𝙕𝙖𝙗𝙗𝙞𝙭: A mature open-source monitoring solution for IT infrastructure, capable of tracking metrics from networks, servers, VMs, and more. It features alerting, visualization, and predictive analytics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd17c068e64f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Best Practices]]></title>
            <link>https://medium.com/@kapare.sushant23/kubernetes-best-practices-f2b70077a2c2?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2b70077a2c2</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Tue, 08 Oct 2024 05:56:58 GMT</pubDate>
            <atom:updated>2024-10-08T05:56:58.998Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n0VpupnEYryDPgGz7Oki9Q.png" /></figure><h3>1. Version Control Manifests:</h3><ul><li>Store your Kubernetes manifests in version control systems (e.g., Git) to track changes and rollbacks easily.</li></ul><h3>2. Resource Limits and Requests:</h3><ul><li>Set resource limits and requests for CPU and memory to ensure proper resource allocation and avoid resource contention.</li></ul><h3>3. Pod Design:</h3><ul><li>Design your pods to be small, focused, and single-purpose. Avoid running multiple applications in a single pod unless they are tightly coupled.</li></ul><h3>4. Use Declarative Configuration:</h3><ul><li>Define your desired state using YAML or JSON manifests to describe your application, rather than making manual changes.</li></ul><pre>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  name: demoapp-blue<br>  labels:<br>    app: demoapp<br>    env: blue<br>spec:<br>  replicas: 3<br>  selector:<br>    matchLabels:<br>      app: demoapp<br>      env: blue<br>  template:<br>    metadata:<br>      labels:<br>        app: demoapp<br>        env: blue<br>    spec:<br>      containers:<br>      - name: demo<br>        image: demoapp:v1.0<br>        ports:<br>        - containerPort: 80</pre><h3>5. Health Probes:</h3><ul><li>Implement readiness and liveness probes to ensure that your application is healthy and available. This helps Kubernetes make informed decisions about when to route traffic to a pod.</li></ul><h3>6. Namespace Usage:</h3><ul><li>Use namespaces to logically isolate and segment your cluster. Avoid deploying everything to the default namespace.</li></ul><h3>7. Horizontal Pod Autoscaling:</h3><ul><li>Implement Horizontal Pod Autoscaling based on CPU or custom metrics to dynamically adjust the number of running pods based on demand.</li></ul><h3>8. Monitoring and Logging:</h3><ul><li>Set up monitoring and logging to gain insights into the health and performance of your applications. Utilize tools like Prometheus, Grafana, and ELK stack.</li></ul><h3>9. RBAC (Role-Based Access Control):</h3><ul><li>Follow the principle of least privilege when defining RBAC rules. Only grant the necessary permissions to users and services.</li></ul><h3>10. Network Policies:</h3><ul><li>Use Network Policies to control the communication between pods and define ingress and egress rules</li></ul><h3>11. Use Karpenter:</h3><ul><li>Karpenter is an open-source, flexible, high-performance Kubernetes cluster autoscaler built with AWS. It helps improve your application availability and cluster efficiency by rapidly launching right-sized compute resources in response to changing application load.</li></ul><h3>12. CI/CD Pipelines:</h3><ul><li>Implement continuous integration and continuous deployment (CI/CD) pipelines to automate testing and deployment processes. This helps in maintaining a consistent and reliable release cycle.</li></ul><h3>13. Pod Anti-Affinity and Node Affinity:</h3><ul><li>Leverage pod anti-affinity to spread pods across different nodes and enhance fault tolerance. Use node affinity to schedule pods onto specific nodes based on node characteristics.</li></ul><h3>14. Taints and Tolerations:</h3><ul><li>Use clear and descriptive keys for taints to indicate the reason for the taint. For example, use special-node:NoSchedule instead of generic keys like key1:NoSchedule</li><li>Avoid overusing taints, as excessive tainting may lead to decreased flexibility in scheduling pods. Use taints judiciously based on specific requirements.</li></ul><h3>15. Upgrade Strategies:</h3><ul><li>Plan and test Kubernetes upgrades, using strategies like canary or blue-green deployments, to minimize downtime and risks during upgrades.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2b70077a2c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Tricks and Tips]]></title>
            <link>https://medium.com/@kapare.sushant23/kubernetes-tricks-and-tips-8f4642150249?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f4642150249</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 04:07:55 GMT</pubDate>
            <atom:updated>2024-09-19T04:07:55.261Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*_FkwCBCpuMgECEvD" /></figure><p>𝗦𝗼𝗺𝗲 𝗼𝗳 𝘁𝗵𝗲 𝗸𝟴𝘀 𝘁𝗿𝗶𝗰𝗸𝘀 𝘁𝗵𝗮𝘁 𝗮𝗿𝗲 𝗵𝗲𝗹𝗽𝗳𝘂𝗹 : <br> <br>𝟏. 𝐃𝐞𝐛𝐮𝐠𝐠𝐢𝐧𝐠 𝐏𝐨𝐝𝐬 𝐰𝐢𝐭𝐡 𝐄𝐩𝐡𝐞𝐦𝐞𝐫𝐚𝐥 𝐂𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫𝐬: Ephemeral containers provide a way to temporarily attach a debug container to a running pod without changing its original specification. This is immensely helpful for debugging live issues in a production environment where you cannot afford to disrupt service.<br> <br>𝟐. 𝐀𝐮𝐭𝐨𝐦𝐚𝐭𝐞𝐝 𝐒𝐞𝐜𝐫𝐞𝐭 𝐑𝐨𝐭𝐚𝐭𝐢𝐨𝐧 𝐰𝐢𝐭𝐡 𝐊𝐮𝐛𝐞𝐥𝐞𝐭: Kubernetes supports the automatic rotation of secrets without restarting the pods consuming these secrets. This feature is particularly useful for maintaining security standards by regularly changing sensitive information without impacting the application’s availability.<br> <br>𝟑. 𝐆𝐫𝐚𝐜𝐞𝐟𝐮𝐥 𝐏𝐨𝐝 𝐒𝐡𝐮𝐭𝐝𝐨𝐰𝐧 𝐰𝐢𝐭𝐡 𝐏𝐫𝐞𝐒𝐭𝐨𝐩 𝐇𝐨𝐨𝐤𝐬: PreStop hooks allow for the execution of specific commands or scripts inside a pod just before it gets terminated. This capability is crucial for ensuring that applications shut down gracefully, saving state where necessary, or performing clean-up tasks to avoid data corruption and ensure a smooth restart.<br> <br>𝟒. 𝐍𝐨𝐝𝐞 𝐀𝐟𝐟𝐢𝐧𝐢𝐭𝐲 𝐟𝐨𝐫 𝐖𝐨𝐫𝐤𝐥𝐨𝐚𝐝-𝐒𝐩𝐞𝐜𝐢𝐟𝐢𝐜 𝐒𝐜𝐡𝐞𝐝𝐮𝐥𝐢𝐧𝐠: Node affinity allows you to specify rules that limit which nodes your pod can be scheduled on, based on labels on nodes. This is useful for directing workloads to nodes with specific hardware (like GPUs), ensuring data locality, or adhering to compliance and data sovereignty requirements.<br> <br>𝟓. 𝐏𝐨𝐝 𝐏𝐫𝐢𝐨𝐫𝐢𝐭𝐲 𝐚𝐧𝐝 𝐏𝐫𝐞𝐞𝐦𝐩𝐭𝐢𝐨𝐧 𝐟𝐨𝐫 𝐂𝐫𝐢𝐭𝐢𝐜𝐚𝐥 𝐖𝐨𝐫𝐤𝐥𝐨𝐚𝐝𝐬: Kubernetes allows you to assign priorities to pods, and higher priority pods can preempt (evict) lower priority pods if necessary. This ensures that critical workloads have the resources they need, even in a highly congested cluster.<br> <br>𝟔. 𝐄𝐟𝐟𝐢𝐜𝐢𝐞𝐧𝐭 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞 𝐌𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭 𝐰𝐢𝐭𝐡 𝐑𝐞𝐪𝐮𝐞𝐬𝐭𝐬 𝐚𝐧𝐝 𝐋𝐢𝐦𝐢𝐭𝐬: Kubernetes allows you to specify CPU and memory (RAM) requests and limits for each container in a pod. Requests guarantee that a container gets the specified amount of resources, while limits ensure a container never uses more than the allotted amount. This helps in managing resource allocation efficiently and preventing any single application from monopolizing cluster resources.<br> <br>𝟕. 𝐔𝐬𝐢𝐧𝐠 𝐈𝐧𝐢𝐭 𝐂𝐨𝐧𝐭𝐚𝐢𝐧𝐞𝐫𝐬 𝐟𝐨𝐫 𝐒𝐞𝐭𝐮𝐩 𝐒𝐜𝐫𝐢𝐩𝐭𝐬: Init containers run before the app containers in a pod and are perfect for setup scripts that need to run to completion before the app starts. This could include tasks like database migrations, configuration file creation, or waiting for an external service to become available. Init containers can run a sequence of setup tasks, ensuring that each step is successfully completed before the main application container starts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f4642150249" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reverse Proxy vs API Gateway vs Load Balancer]]></title>
            <link>https://medium.com/@kapare.sushant23/reverse-proxy-vs-api-gateway-vs-load-balancer-a33bb9b82774?source=rss-eabf6d6c7520------2</link>
            <guid isPermaLink="false">https://medium.com/p/a33bb9b82774</guid>
            <dc:creator><![CDATA[Kapare Sushant]]></dc:creator>
            <pubDate>Fri, 13 Sep 2024 03:40:11 GMT</pubDate>
            <atom:updated>2024-09-13T03:40:11.186Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*IqwdA1fy9EaoEZPg4cPTQA.gif" /></figure><p>𝗥𝗲𝘃𝗲𝗿𝘀𝗲 𝗣𝗿𝗼𝘅𝘆 :- <br>A reverse proxy is a server that sits between client devices and backend servers, forwarding client requests to the appropriate backend service. Unlike a traditional proxy, which forwards client requests to external servers, a reverse proxy serves as a gateway for servers, often providing benefits such as load balancing, enhanced security by masking the identity of backend servers, SSL encryption, caching, and reducing strain on backend systems by distributing incoming traffic across multiple servers. <br>𝑪𝒐𝒎𝒎𝒐𝒏 𝒖𝒔𝒆 𝒄𝒂𝒔𝒆𝒔 𝒊𝒏𝒄𝒍𝒖𝒅𝒆: <br> ◆ Security <br> ◆ Load balancing <br> ◆ SSL termination <br> ◆ Caching <br> <br>𝗔𝗣𝗜 𝗚𝗮𝘁𝗲𝘄𝗮𝘆 :-<br>An API Gateway is a server that acts as an intermediary between clients and a collection of backend services, managing and routing API requests. It handles tasks such as request routing, composition, and protocol translation, while also providing features like authentication, rate limiting, load balancing, and monitoring. API Gateways simplify client interactions by presenting a unified API to clients, allowing them to access multiple services without managing direct connections to each one.<br>𝑲𝒆𝒚 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏𝒔 𝒊𝒏𝒄𝒍𝒖𝒅𝒆: <br> ◆ Request routing <br> ◆ API management <br> ◆ Request/Response transformation <br> ◆ Authorization <br> ◆ Rate limiting <br> ◆ Caching, monitoring, logging, etc. <br> <br>𝗟𝗼𝗮𝗱 𝗕𝗮𝗹𝗮𝗻𝗰𝗲𝗿 :-<br>A Load Balancer is a device or software that distributes incoming network traffic across multiple servers to ensure no single server is overwhelmed. It improves the availability, reliability, and scalability of applications by evenly distributing the workload, preventing server overloads, and optimizing resource use. Load balancers can also monitor server health and reroute traffic away from failed servers, ensuring continuous service.<br>𝑲𝒆𝒚 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏𝒔 𝒊𝒏𝒄𝒍𝒖𝒅𝒆:<br> ◆ Traffic distribution <br> ◆ Health checks <br> ◆ High availability <br> ◆ Scalability</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a33bb9b82774" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>