<?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 Mahesh Yadav on Medium]]></title>
        <description><![CDATA[Stories by Mahesh Yadav on Medium]]></description>
        <link>https://medium.com/@devopsmahesh.it?source=rss-ffc8ad9c220c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gTXBrUNr8luBvxujTkBmVw.png</url>
            <title>Stories by Mahesh Yadav on Medium</title>
            <link>https://medium.com/@devopsmahesh.it?source=rss-ffc8ad9c220c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:23:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@devopsmahesh.it/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[Airbyte: The Complete Beginner’s Guide to Modern Data Integration (ETL/ELT)]]></title>
            <link>https://medium.com/cypik/airbyte-the-complete-beginners-guide-to-modern-data-integration-etl-elt-a78bc269edd7?source=rss-ffc8ad9c220c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a78bc269edd7</guid>
            <dc:creator><![CDATA[Mahesh Yadav]]></dc:creator>
            <pubDate>Thu, 23 Jul 2026 11:23:45 GMT</pubDate>
            <atom:updated>2026-07-23T11:23:45.204Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>In today’s data-driven world, organizations collect data from multiple sources such as databases, SaaS applications, APIs, and cloud storage. However, this data is often scattered across different systems, making it difficult to analyze and derive meaningful insights.</p><p>This is where <strong>Airbyte</strong> comes in.</p><p><strong>Airbyte</strong> is an open-source data integration platform that simplifies moving data from hundreds of different sources to your preferred data warehouse, database, or data lake with minimal configuration.</p><p>Whether you’re building analytics dashboards, machine learning pipelines, or business intelligence reports, Airbyte makes data synchronization simple, reliable, and scalable.</p><p>In this article, we’ll explore:</p><ul><li>What is Airbyte?</li><li>Why use Airbyte?</li><li>How Airbyte works</li><li>Airbyte Architecture</li><li>Sources and Destinations</li><li>ETL vs ELT</li><li>Deployment Options</li><li>Airbyte with Kubernetes</li><li>Best Practices</li></ul><h3>What is Airbyte?</h3><p><strong>Airbyte</strong> is an open-source ELT (Extract, Load, Transform) platform that helps organizations move data between different systems automatically.</p><p>Instead of writing custom scripts to transfer data, Airbyte provides <strong>600+ pre-built connectors</strong> that allow you to synchronize data in just a few clicks.</p><p>For example, you can easily transfer data from:</p><ul><li>MySQL</li><li>PostgreSQL</li><li>MongoDB</li><li>Salesforce</li><li>Stripe</li><li>HubSpot</li><li>Google Sheets</li><li>Snowflake</li><li>BigQuery</li><li>Amazon S3</li><li>Kafka</li></ul><p>…and hundreds of other systems.</p><h3>Why Do We Need Airbyte?</h3><p>Imagine your company stores data in multiple platforms:</p><ul><li>Customer data in Salesforce</li><li>Orders in MySQL</li><li>Payments in Stripe</li><li>Logs in PostgreSQL</li><li>Marketing data in Facebook Ads</li></ul><p>Analyzing data across all these systems manually would be extremely difficult.</p><p>Airbyte solves this problem by automatically collecting data from all these sources and loading it into a centralized destination for analytics.</p><h3>How Airbyte Works</h3><p>Airbyte follows a simple workflow:</p><pre>Data Source<br>(MySQL, PostgreSQL, APIs, SaaS)<br>        │<br>        ▼<br>     Airbyte<br>        │<br>        ▼<br>Data Warehouse / Data Lake<br>(Snowflake, BigQuery, Redshift, S3)<br>        │<br>        ▼<br>BI Tools<br>(Power BI, Tableau, Looker)</pre><p>Once configured, Airbyte automatically synchronizes data based on your preferred schedule.</p><h3>Airbyte Architecture</h3><p>Airbyte consists of several components working together.</p><pre>Web UI<br>                       │<br>                       ▼<br>                  Airbyte Server<br>                       │<br>     ┌─────────────────┼─────────────────┐<br>     ▼                 ▼                 ▼<br> Source Connector   Scheduler      Destination Connector<br>     │                                   │<br>     ▼                                   ▼<br> MySQL API MongoDB                 Snowflake BigQuery S3</pre><pre>Each connector runs independently, making Airbyte highly scalable.</pre><h3>Core Components</h3><h3>1. Source</h3><p>A source is where your data originates.</p><p>Examples:</p><ul><li>MySQL</li><li>PostgreSQL</li><li>Oracle</li><li>MongoDB</li><li>Salesforce</li><li>Kafka</li><li>REST API</li></ul><h3>2. Destination</h3><p>A destination is where Airbyte sends your data.</p><p>Examples:</p><ul><li>Snowflake</li><li>BigQuery</li><li>Amazon Redshift</li><li>PostgreSQL</li><li>S3</li><li>ClickHouse</li><li>Azure Blob Storage</li></ul><h3>3. Connection</h3><p>A connection links a source and a destination.</p><p>Example:</p><pre>MySQL<br>   │<br>   ▼<br>Airbyte Connection<br>   │<br>   ▼<br>Snowflake</pre><pre>4. Sync</pre><p>A Sync is the actual data transfer process.</p><p>You can configure it to run:</p><ul><li>Every hour</li><li>Every day</li><li>Every week</li><li>Manual execution</li></ul><h3>ETL vs ELT</h3><p>Airbyte primarily follows the <strong>ELT</strong> approach.</p><h3>ETL</h3><pre>Extract<br>   │<br>Transform<br>   │<br>Load</pre><pre>Data is transformed before loading.</pre><h3>ELT</h3><pre>Extract<br>   │<br>Load<br>   │<br>Transform</pre><pre>Data is loaded first and transformed later inside the data warehouse.</pre><p>Modern cloud platforms like <strong>Snowflake</strong> and <strong>BigQuery</strong> are optimized for ELT workflows.</p><h3>Supported Connectors</h3><p>Airbyte supports more than <strong>600+ connectors</strong>.</p><p>Popular Sources:</p><ul><li>MySQL</li><li>PostgreSQL</li><li>SQL Server</li><li>MongoDB</li><li>Oracle</li><li>Kafka</li><li>GitHub</li><li>Salesforce</li><li>HubSpot</li><li>Google Analytics</li><li>Stripe</li><li>Zendesk</li></ul><p>Popular Destinations:</p><ul><li>Snowflake</li><li>BigQuery</li><li>Amazon Redshift</li><li>PostgreSQL</li><li>ClickHouse</li><li>S3</li><li>Azure Blob Storage</li><li>Databricks</li></ul><h3>Airbyte Deployment Options</h3><p>Airbyte can be deployed in multiple ways.</p><h3>Docker Compose</h3><p>Perfect for development and testing.</p><pre>docker compose up -d</pre><pre>Kubernetes</pre><p>Ideal for production environments.</p><p>Deploy using Helm.</p><pre>helm repo add airbyte https://airbytehq.github.io/helm-charts</pre><pre>helm install airbyte airbyte/airbyte</pre><pre>Kubernetes provides:</pre><ul><li>High Availability</li><li>Auto Scaling</li><li>Rolling Updates</li><li>Better Resource Management</li></ul><h3>Airbyte Cloud</h3><p>If you don’t want to manage infrastructure, Airbyte Cloud offers a fully managed service.</p><h3>Incremental Sync vs Full Refresh</h3><h3>Full Refresh</h3><p>Every sync copies the entire dataset.</p><p>Suitable for:</p><ul><li>Small datasets</li><li>Initial data loads</li></ul><h3>Incremental Sync</h3><p>Only new or updated records are transferred.</p><p>Benefits:</p><ul><li>Faster synchronization</li><li>Reduced network usage</li><li>Lower compute costs</li></ul><h3>Airbyte + Snowflake Example</h3><p>One of the most common production architectures looks like this:</p><pre>MySQL<br>     │<br>     ▼<br> Airbyte<br>     │<br>     ▼<br> Snowflake<br>     │<br>     ▼<br> Power BI / Tableau</pre><p>Airbyte extracts data from MySQL, loads it into Snowflake, and BI tools query Snowflake to create dashboards.</p><h3>Airbyte + Kubernetes Workflow</h3><p>A typical Kubernetes deployment looks like:</p><pre>Developer<br>     │<br>     ▼<br>Helm Chart<br>     │<br>     ▼<br>Kubernetes Cluster<br>     │<br>     ▼<br>Airbyte Pods<br>     │<br>     ▼<br>Database<br>     │<br>     ▼<br>Destination</pre><pre>Running Airbyte on Kubernetes provides better scalability and fault tolerance for enterprise workloads.</pre><h3>Advantages of Airbyte</h3><p>✔ Open Source</p><p>✔ Easy to Deploy</p><p>✔ 600+ Connectors</p><p>✔ API Support</p><p>✔ Kubernetes Compatible</p><p>✔ Incremental Sync</p><p>✔ ELT Architecture</p><p>✔ Custom Connector SDK</p><p>✔ Cloud-Native</p><p>✔ Active Community</p><h3>Best Practices</h3><ul><li>Use Incremental Sync whenever possible.</li><li>Monitor sync jobs regularly.</li><li>Secure credentials using Kubernetes Secrets or a Secret Manager.</li><li>Deploy Airbyte on Kubernetes for production.</li><li>Store metadata in a managed PostgreSQL database.</li><li>Schedule syncs based on business requirements.</li><li>Keep Airbyte updated to benefit from new connectors and security fixes.</li></ul><h3>Common Use Cases</h3><p>Airbyte is widely used for:</p><ul><li>Data Warehousing</li><li>Business Intelligence</li><li>Customer Analytics</li><li>Financial Reporting</li><li>Machine Learning Pipelines</li><li>Data Migration</li><li>Multi-Cloud Data Synchronization</li><li>Real-Time Dashboards</li></ul><h3>Conclusion</h3><p>Airbyte has become one of the leading open-source data integration platforms, offering a simple yet powerful way to move data across modern systems. With its extensive connector library, Kubernetes support, and ELT-first approach, it enables organizations to build scalable and reliable data pipelines without writing custom integration code.</p><p>Whether you’re syncing operational databases to a data warehouse, preparing data for analytics, or building machine learning workflows, Airbyte significantly reduces the complexity of data integration.</p><p>If you’re working with platforms like <strong>Snowflake</strong>, <strong>BigQuery</strong>, <strong>Amazon Redshift</strong>, or <strong>Databricks</strong>, Airbyte is an excellent choice for automating your data movement and building modern data pipelines.</p><h3>👨‍💻 About the Author</h3><p>Hi, I’m <a href="https://medium.com/@devopsmahesh.it"><strong>Mahesh Yadav</strong></a>, a DevOps Engineer passionate about Cloud, Kubernetes, Terraform, CI/CD, Observability, and Data Engineering.</p><p>I regularly share practical guides and hands-on tutorials on Medium to help engineers solve real-world infrastructure and automation challenges.</p><p><strong>Follow me for more articles on DevOps, Kubernetes, Docker, Terraform, AWS, Airbyte, Snowflake, and Cloud Engineering.</strong> 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a78bc269edd7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cypik/airbyte-the-complete-beginners-guide-to-modern-data-integration-etl-elt-a78bc269edd7">Airbyte: The Complete Beginner’s Guide to Modern Data Integration (ETL/ELT)</a> was originally published in <a href="https://medium.com/cypik">Cypik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Jenkins? Working, Uses, Pipelines, and Features]]></title>
            <link>https://medium.com/cypik/what-is-jenkins-working-uses-pipelines-and-features-3e99046458b9?source=rss-ffc8ad9c220c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e99046458b9</guid>
            <dc:creator><![CDATA[Mahesh Yadav]]></dc:creator>
            <pubDate>Thu, 23 Jul 2026 07:28:02 GMT</pubDate>
            <atom:updated>2026-07-23T07:28:02.125Z</atom:updated>
            <content:encoded><![CDATA[<h3>Jenkins</h3><p>Jenkins is an <strong>open-source</strong> continuous integration/continuous delivery and deployment (CI/CD) automation DevOps tool written in Java. It is used to implement <strong>CI/CD</strong> workflows, called pipelines.</p><blockquote><em>Jenkins life cycle</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/0*LahrS2_TeegTNQHy.png" /></figure><h3>What Is Jenkins?</h3><p>Jenkins is an <strong>open-source</strong> solution comprising an automation server to enable continuous integration and continuous delivery (CI/CD), automating the various stages of <strong>software development</strong> such as build, test, and deployment.</p><h3>Working:</h3><p>Jenkins works by automating various stages of software development, including building, testing, and deployment. It integrates with version control systems like Git, enabling developers to trigger automated workflows whenever code changes are pushed. Jenkins can be configured to perform tasks such as compiling code, running tests, generating reports, and deploying applications to different environments.</p><h3>Uses:</h3><p><strong>Continuous Integration (CI): J</strong>enkins automates integrating code changes into a shared repository, ensuring that the latest code is always tested and validated.</p><p><strong>Continuous Delivery (CD): J</strong>enkins enables automated software delivery to various environments, from development to production, streamlining the release process.</p><p><strong>Automation: J</strong>enkins can automate repetitive tasks such as building, testing, and deployment, freeing up developers’ time and reducing manual errors.</p><p><strong>Integration: J</strong>enkins integrates with a wide range of tools and technologies, allowing for seamless integration into existing development ecosystems.</p><p><strong>Scalability: J</strong>enkins can scale horizontally to handle large-scale CI/CD pipelines and distributed builds across multiple machines.</p><h3>What is Jenkins Pipeline?</h3><p>Jenkins Pipeline (or simply “Pipeline” with a capital “P”) is a suite of plugins that supports implementing and integrating <em>continuous delivery pipelines</em> into Jenkins.</p><p>A <em>continuous delivery (CD) pipeline</em> is an automated expression of your process for getting software from version control right through to your users and customers. Every change to your software (committed in source control) goes through a complex process on its way to being released. This process involves building the software in a reliable and repeatable manner, as well as progressing the built software (called a “build”) through multiple stages of testing and deployment.</p><p>Pipeline provides an extensible set of tools for modeling simple-to-complex delivery pipelines “as code” via the <a href="https://www.jenkins.io/doc/book/pipeline/syntax">Pipeline domain-specific language (DSL) syntax</a>.</p><p>The definition of a Jenkins Pipeline is written into a text file (called a <a href="https://www.jenkins.io/doc/book/pipeline/jenkinsfile">Jenkinsfile</a>) which in turn can be committed to a project’s source control repository. This is the foundation of &quot;<strong>Pipeline-as-code</strong>&quot;; treating the CD pipeline as a part of the application to be versioned and reviewed like any other code.</p><ul><li>Creating a Jenkinsfile and committing it to source control provides several immediate benefits:</li><li>Automatically creates a Pipeline build process for all branches and pull requests.</li><li>Code review/iteration on the Pipeline (along with the remaining source code).</li><li>Audit trail for the Pipeline.</li><li>Single source of truth for the Pipeline, which can be viewed and edited by multiple members of the project</li></ul><h3>Creating a Jenkinsfile?</h3><p>As discussed in the <a href="https://www.jenkins.io/doc/book/pipeline/getting-started#defining-a-pipeline-in-scm">Defining a Pipeline in SCM</a>, a Jenkinsfile is a text file that contains the definition of a Jenkins Pipeline and is checked into source control. Consider the following Pipeline which implements a basic three-stage continuous delivery pipeline.</p><pre>Jenkinsfile (Declarative Pipeline)<br>pipeline {<br>    agent any</pre><pre>    stages {<br>        stage(&#39;Build&#39;) {<br>            steps {<br>                echo &#39;Building..&#39;<br>            }<br>        }<br>        stage(&#39;Test&#39;) {<br>            steps {<br>                echo &#39;Testing..&#39;<br>            }<br>        }<br>        stage(&#39;Deploy&#39;) {<br>            steps {<br>                echo &#39;Deploying....&#39;<br>            }<br>        }<br>    }<br>}</pre><h3>Google Kubernetes Engine (GKE)?</h3><p>Jenkinsfile for deploying applications to Google Kubernetes Engine</p><pre>Jenkinsfile (gke)<br>pipeline {<br>    agent any<br>    <br>    environment {<br>        PROJECT_ID = &#39;your-project-id&#39;<br>        CLUSTER_NAME = &#39;your-cluster-name&#39;<br>        GKE_ZONE = &#39;your-gke-zone&#39;<br>        DOCKER_IMAGE = &#39;gcr.io/your-project-id/your-image&#39;<br>        K8S_NAMESPACE = &#39;your-namespace&#39;<br>    }<br>    <br>    stages {<br>        stage(&#39;Checkout&#39;) {<br>            steps {<br>                git &#39;your-repo-url&#39;<br>            }<br>        }<br>        <br>        stage(&#39;Build Docker Image&#39;) {<br>            steps {<br>                script {<br>                    docker.build(DOCKER_IMAGE)<br>                }<br>            }<br>        }<br>        <br>        stage(&#39;Push Docker Image to GCR&#39;) {<br>            steps {<br>                script {<br>                    docker.withRegistry(&#39;https://gcr.io&#39;, &#39;gcr-credentials&#39;) {<br>                        docker.image(DOCKER_IMAGE).push()<br>                    }<br>                }<br>            }<br>        }<br>        <br>        stage(&#39;Deploy to GKE&#39;) {<br>            steps {<br>                script {<br>                    sh &quot;gcloud container clusters get-credentials ${CLUSTER_NAME} --zone ${GKE_ZONE} --project ${PROJECT_ID}&quot;<br>                    sh &quot;kubectl set image deployment/your-deployment-name your-container-name=${DOCKER_IMAGE} -n ${K8S_NAMESPACE}&quot;<br>                }<br>            }<br>        }<br>    }<br>}</pre><h3>Amazon Elastic Kubernetes Service?</h3><p>Jenkinsfile for working with AWS AKS (Amazon Elastic Kubernetes Service)</p><pre>pipeline {<br>    agent any<br>    <br>    environment {<br>        // Define AWS credentials<br>        AWS_ACCESS_KEY_ID = credentials(&#39;AWS_ACCESS_KEY_ID&#39;)<br>        AWS_SECRET_ACCESS_KEY = credentials(&#39;AWS_SECRET_ACCESS_KEY&#39;)<br>        <br>        // Define AWS region<br>        AWS_DEFAULT_REGION = &#39;your-region&#39;<br>        <br>        // Define Docker registry credentials<br>        DOCKER_REGISTRY_CREDENTIALS = credentials(&#39;DOCKER_REGISTRY_CREDENTIALS&#39;)<br>        <br>        // Define Kubernetes cluster name<br>        CLUSTER_NAME = &#39;your-cluster-name&#39;<br>        <br>        // Define namespace<br>        NAMESPACE = &#39;default&#39;<br>        <br>        // Define Docker image name<br>        DOCKER_IMAGE_NAME = &#39;your-docker-image-name&#39;<br>    }<br>    <br>    stages {<br>        stage(&#39;Build&#39;) {<br>            steps {<br>                // Build Docker image<br>                script {<br>                    docker.build(DOCKER_IMAGE_NAME)<br>                }<br>            }<br>        }<br>        <br>        stage(&#39;Push to Docker Registry&#39;) {<br>            steps {<br>                // Login to Docker registry<br>                script {<br>                    docker.withRegistry(&#39;https://your-registry-url&#39;, &#39;your-registry-credentials-id&#39;) {<br>                        // Push Docker image to registry<br>                        docker.image(DOCKER_IMAGE_NAME).push(&#39;latest&#39;)<br>                    }<br>                }<br>            }<br>        }<br>        <br>        stage(&#39;Deploy to AKS&#39;) {<br>            steps {<br>                // Authenticate with AWS EKS<br>                script {<br>                    sh &quot;aws eks --region ${AWS_DEFAULT_REGION} update-kubeconfig --name ${CLUSTER_NAME}&quot;<br>                }<br>                <br>                // Deploy application to Kubernetes cluster<br>                script {<br>                    sh &quot;kubectl apply -f your-kubernetes-manifests.yaml --namespace ${NAMESPACE}&quot;<br>                }<br>            }<br>        }<br>    }<br>}</pre><h3>About the Author</h3><p><a href="https://medium.com/@devopsmahesh.it"><strong>Mahesh Yadav</strong></a> is a DevOps Engineer at <strong>Cypik</strong>, specializing in cloud infrastructure, Kubernetes, CI/CD automation, and Infrastructure as Code. He works extensively with <strong>AWS</strong>, <strong>Google Cloud Platform (GCP)</strong>, <strong>Terraform</strong>, <strong>Jenkins</strong>, <strong>Docker</strong>, <strong>Kubernetes</strong>, <strong>Ansible</strong>, and Linux to build secure, scalable, and highly automated cloud environments.</p><p>📧 <strong>Need help with Cloud, Kubernetes, or DevOps?</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e99046458b9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cypik/what-is-jenkins-working-uses-pipelines-and-features-3e99046458b9">What Is Jenkins? Working, Uses, Pipelines, and Features</a> was originally published in <a href="https://medium.com/cypik">Cypik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Calico for Network Policy Management in Amazon EKS]]></title>
            <link>https://medium.com/cypik/installing-calico-for-network-policy-management-in-amazon-eks-3c588eebf642?source=rss-ffc8ad9c220c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c588eebf642</guid>
            <category><![CDATA[calico]]></category>
            <category><![CDATA[cypik]]></category>
            <dc:creator><![CDATA[Mahesh Yadav]]></dc:creator>
            <pubDate>Tue, 04 Jun 2024 09:45:31 GMT</pubDate>
            <atom:updated>2026-07-23T07:34:34.395Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Add Project Calico to your Helm repository.</li></ol><pre>helm repo add projectcalico https://projectcalico.docs.tigera.io/charts</pre><p>2. If you already have Calico added, you should update it to get the latest released version.</p><pre>helm repo update </pre><p>3. Install version 3.28.0 or later of the Tigera Calico operator and custom resource definitions.</p><pre>helm install calico projectcalico/tigera-operator --version v3.28.0 --namespace tigera-operator</pre><p>4. View the resources in the tigera-operator namespace.</p><pre>kubectl get all -n tigera-operator</pre><pre>The example output is as follows.<br>The values in the DESIRED and READY columns for the replica set should match.<br>The values returned for you are different from the values in the following output.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*juF1ACSOUGFIW966tpIRsw.png" /></figure><p>5. View the resources in the calico-system namespace.</p><pre>kubectl get all -n calico-system</pre><ul><li>The example output is as follows.</li><li>The values in the DESIRED and READY columns for the calico-node DaemonSet should match.</li><li>The values in the DESIRED and READY columns for the two replicasets should also match.</li><li>The values returned for you differ from those in the following output.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5n-12Uu8gXbFHIvAAjdtrw.png" /></figure><p>6. Confirm that the logs for one of your calico-node, calico-typha, and tigera-operator pods don’t contain an ERROR. Replace the values in the following commands with those returned in your output for the previous steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/0*e0zuYGUFrBXfRIhP" /></figure><ul><li>If no output is returned from the previous commands, then ERROR doesn’t exist in your logs and everything should be running correctly.</li></ul><p><strong>Policy demo</strong></p><ul><li>The demo creates a front-end, back-end, and client service on your Amazon EKS cluster. The demo also creates a management graphical user interface that shows the available ingress and egress paths between each service. We recommend that you complete the demo on a cluster that you don’t run production workloads on.</li><li>Before you create any network policies, all services can communicate bi-directionally. After you apply the network policies, you can see that the client can only communicate with the front-end service, and the back-end only accepts traffic from the front-end.</li></ul><p><strong>To run the Stars policy demo</strong></p><ol><li>Apply the front-end, back-end, client, and management user interface services:</li></ol><ul><li>Create a namespace <a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/00-namespace.yaml">stars</a></li></ul><pre>kubectl create namespace stars</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/155/0*Ft-PSL50a2gtblUe" /></figure><ul><li>Deploy management user interface services:<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/01-management-ui.yaml">[management-ui.yaml]</a></li></ul><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/01-management-ui.yaml</pre><ul><li>Deploy back-end user interface services:<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/02-backend.yaml">[backend.yaml]</a></li></ul><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/02-backend.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/0*FgGm0vtInu_OBmS0" /></figure><ul><li>Deploy front-end user interface services:<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/03-frontend.yaml">[frontend.yaml]</a></li></ul><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/03-frontend.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/0*auz1R4osfesttLnj" /></figure><ul><li>Client user interface services:<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/04-client.yaml">[client.yaml]</a></li></ul><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/04-client.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/0*JEHYauZUp8YXvtQ6" /></figure><p>2. View all pods on the cluster.</p><pre>kubectl get pods -A</pre><p>The example output is as follows.</p><p>In your output, you should see pods in the namespaces shown in the following output.</p><p>Your pod NAMES and the number of pods in the READY column are different than those in the following output.</p><p>Don’t continue until you see pods with similar names and they all have Running in the STATUS column.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/0*raB_a4hMqWKvlPN2" /></figure><p>3. To connect to the management user interface, forward your local port 9001 to the management-ui service running on your cluster:</p><pre>kubectl port-forward service/management-ui -n management-ui 9001</pre><ul><li>Open a browser on your local system and point it to <a href="http://localhost:9001/">http://localhost:9001/</a>. You should see the management user interface. The C node is the client service, the F node is the front-end service, and the B node is the back-end service. Each node has full communication access to all other nodes, as indicated by the bold, colored lines.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*x9BhCbtGvg3ngrpZ" /></figure><p>5. Apply the following network policies to isolate the services from each other:</p><ul><li>The following command runs in <strong>stars and client namespace</strong></li></ul><pre>kubectl apply -n stars -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/default-deny.yaml</pre><pre>kubectl apply -n client -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/default-deny.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/0*TQXCRA5mN21lMHth" /></figure><p>6. Refresh your browser. You see that the management user interface can no longer reach any of the nodes, so they don’t show up in the user interface.</p><p>7. Apply the following network policies to allow the management user interface to access the services:</p><ul><li>Allow to stars to management-ui namespace<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/allow-ui.yaml">[allow-ui.yaml]</a></li></ul><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/allow-ui.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/0*GEW_8BtfcEvXs7P1" /></figure><ul><li>Allow to client to management-ui namespace<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/allow-ui-client.yaml">[allow-ui-client.yaml]</a></li></ul><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/allow-ui-client.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/0*Gs57Ai5re-EV8gaJ" /></figure><p>8. Refresh your browser. You see that the management user interface can reach the nodes again, but the nodes cannot communicate with each other.</p><p>9. Apply the following network policy to allow traffic from the front-end service to the back-end service:<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/backend-policy.yaml">[backend-policy.yaml]</a></p><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/backend-policy.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/266/0*BcQJkFck1JZubvuW" /></figure><p>10. Refresh your browser. You see that the front-end can communicate with the back-end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*FsTASMeX_T5hL0t9" /></figure><p>11. Apply the following network policy to allow traffic from the client to the front-end service.<a href="https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/frontend-policy.yaml">[frontend-policy.yaml]</a></p><pre>kubectl apply -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/policies/frontend-policy.yaml</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/0*7pD21mgd-T7wRuoF" /></figure><p>12. Refresh your browser. You see that the client can communicate with the front-end service. The front-end service can still communicate with the back-end service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*i8X2h4wZX6BTUdxJ" /></figure><p>13. (Optional) When you are done with the demo, you can delete its resources.</p><pre>kubectl delete -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/04-client.yaml</pre><pre>kubectl delete -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/03-frontend.yaml</pre><pre>kubectl delete -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/02-backend.yaml</pre><pre>kubectl delete -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/01-management-ui.yaml</pre><pre>kubectl delete -f https://docs.projectcalico.org/v3.5/getting-started/kubernetes/tutorials/stars-policy/manifests/00-namespace.yaml</pre><p><strong>Remove Calico</strong></p><ul><li>Remove Calico using the method that you installed Calico with.</li></ul><pre>helm uninstall calico</pre><p>Enjoy it! 🍻 That’s It; we are done…</p><blockquote>For seamless Cloud Management incorporating DevOps as the core of the methodology, reach out to us at <a href="/service/mailto:info@cypik.com"><em>info@cypik.com</em></a></blockquote><blockquote><a href="https://www.linkedin.com/company/cypik"><strong><em>Cypik</em></strong></a></blockquote><p><strong>About the author:</strong></p><p>My name is <a href="https://medium.com/@devopsmahesh.it"><strong>Mahesh Yadav</strong></a>, and I’m an experienced Linux enthusiast and DevOps engineer with a passion for automating and streamlining development processes. Currently, I work as a DevOps Engineer at Cypik, where I leverage my expertise in cloud technologies to optimize workflows. My cloud skillset spans Amazon Web Services (AWS), Microsoft Azure, DigitalOcean, and DevOps tools Terraform, Ansible, Docker, and Kubernetes allowing me to design and implement robust infrastructure solutions that enhance efficiency!.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c588eebf642" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cypik/installing-calico-for-network-policy-management-in-amazon-eks-3c588eebf642">Installing Calico for Network Policy Management in Amazon EKS</a> was originally published in <a href="https://medium.com/cypik">Cypik</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>