<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>networking on Rancher Blog</title><link>https://www.rancher.com/blog/tags/networking/</link><description>Recent content in networking on Rancher Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 08 Mar 2023 15:00:18 +0000</lastBuildDate><atom:link href="https://www.rancher.com/blog/tags/networking/index.xml" rel="self" type="application/rss+xml"/><item><title>Network Policies in K3s</title><link>https://www.rancher.com/blog/k3s-network-policy/</link><pubDate>Wed, 08 Mar 2023 15:00:18 +0000</pubDate><guid>https://www.rancher.com/blog/k3s-network-policy/</guid><description>&lt;p&gt;In this post we want to give a simple introduction for using network policies in a sample project and explaining how it works in K3s to help improving the security of your deployments.&lt;/p&gt;&#10;&lt;p&gt;There is a common misunderstanding about K3s support for network policies, as K3s is using flannel CNI by default, and the Flannel CNI doesn&amp;rsquo;t support network polices. However, K3s is using &lt;a href="https://www.kube-router.io/"&gt;Kube-router&lt;/a&gt;, Network Policy Controller for providing support for network policies so network policies can also be used with K3s as within other Kubernetes distributions.&lt;/p&gt;</description></item><item><title>Managing Your Hyperconverged Network with Harvester</title><link>https://www.rancher.com/blog/managing-your-hyperconverged-network-with-harvester/</link><pubDate>Fri, 22 Jul 2022 19:26:20 +0000</pubDate><guid>https://www.rancher.com/blog/managing-your-hyperconverged-network-with-harvester/</guid><description>&lt;p&gt;Hyperconverged infrastructure (HCI) is a data center architecture that uses software to provide a scalable, efficient, cost-effective way to deploy and manage resources. HCI virtualizes and combines storage, computing, and networking into a single system that can be easily scaled up or down as required.&lt;/p&gt;&#10;&lt;p&gt;A hyperconverged network, a networking architecture component of the HCI stack, helps simplify network management for your IT infrastructure and reduce costs by virtualizing your network. Network virtualization is the most complicated among the storage, compute and network components because you need to virtualize the physical controllers and switches while dividing the network isolation and bandwidth required by the storage and compute. HCI allows organizations to simplify their IT infrastructure via a single control pane while reducing costs and setup time.&lt;/p&gt;</description></item><item><title>Stupid Simple Kubernetes : Deployments, Services and Ingresses</title><link>https://www.rancher.com/blog/stupid-simple-kubernetes-deployments-services-and-ingresses/</link><pubDate>Mon, 18 Apr 2022 22:12:33 +0000</pubDate><guid>https://www.rancher.com/blog/stupid-simple-kubernetes-deployments-services-and-ingresses/</guid><description>&lt;p&gt;&lt;img src="images/Kubernetes-Logo.wine_.jpg" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;In the &lt;a href="../../../blog/91081/"&gt;&lt;strong&gt;first part&lt;/strong&gt;&lt;/a&gt;of this series, we learned about the basic concepts used in Kubernetes, its hardware structure, the different software components like &lt;strong&gt;Pods, Deployments, StatefulSets, Services, Ingresses and Persistent Volumes&lt;/strong&gt;and saw how to communicate between services and with the outside world.&lt;/p&gt;&#10;&lt;p&gt;In this article, we will:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;create a &lt;strong&gt;NodeJS backend&lt;/strong&gt;with a MongoDB database&lt;/li&gt;&#10;&lt;li&gt;write the &lt;strong&gt;Dockerfile&lt;/strong&gt; to containerize our application&lt;/li&gt;&#10;&lt;li&gt;create the &lt;strong&gt;Kubernetes Deployment scripts&lt;/strong&gt; to spin up the Pods&lt;/li&gt;&#10;&lt;li&gt;create the &lt;strong&gt;Kubernetes Service scripts&lt;/strong&gt; to define the communication interface between the containers and the outside world&lt;/li&gt;&#10;&lt;li&gt;deploy an &lt;strong&gt;Ingress Controller&lt;/strong&gt;for request routing&lt;/li&gt;&#10;&lt;li&gt;write the &lt;strong&gt;Kubernetes Ingress scripts&lt;/strong&gt;to define the communication with the outside world.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;img src="images/190190-1.png" alt=""&gt;&lt;/p&gt;</description></item><item><title>Stupid Simple Service Mesh: What, When, Why</title><link>https://www.rancher.com/blog/stupid-simple-service-mesh-what-when-why/</link><pubDate>Mon, 18 Apr 2022 18:13:03 +0000</pubDate><guid>https://www.rancher.com/blog/stupid-simple-service-mesh-what-when-why/</guid><description>&lt;p&gt;Recently microservices-based applications became very popular and with the rise of microservices, the concept of Service Mesh also became a very hot topic. Unfortunately, there are only a few articles about this concept and most of them are hard to digest.&lt;/p&gt;&#10;&lt;p&gt;In this blog, we will try to &lt;strong&gt;demystify the concept of Service Mesh using &amp;ldquo;Stupid Simple&amp;rdquo; explanation****s&lt;/strong&gt;, diagrams, and examples to make this concept more transparent and accessible for everyone. In the &lt;strong&gt;first article&lt;/strong&gt;, we will talk about &lt;strong&gt;the basic building blocks of a Service Mesh&lt;/strong&gt; and we will implement a &lt;strong&gt;sample application&lt;/strong&gt; to have a practical example of each theoretical concept. In the &lt;strong&gt;next articles&lt;/strong&gt;, based on this sample app, we will touch more advanced topics, like &lt;strong&gt;Service Mesh in Kubernetes&lt;/strong&gt;, and we will talk about some more &lt;strong&gt;advanced Service Mesh implementations like &lt;a href="https://istio.io/"&gt;Istio&lt;/a&gt;,&lt;/strong&gt;&lt;a href="https://linkerd.io/"&gt;&lt;strong&gt;Linkerd&lt;/strong&gt;&lt;/a&gt;, etc.&lt;/p&gt;</description></item><item><title>Stupid Simple Kubernetes: Service Mesh</title><link>https://www.rancher.com/blog/stupid-simple-service-mesh-in-kubernetes/</link><pubDate>Wed, 16 Feb 2022 23:41:57 +0000</pubDate><guid>https://www.rancher.com/blog/stupid-simple-service-mesh-in-kubernetes/</guid><description>&lt;p&gt;We covered the what, when and why of Service Mesh in a &lt;a href="../../../blog/stupid-simple-service-mesh-what-when-why/"&gt;previous post&lt;/a&gt;. Now I’d like to talk about why they are critical in Kubernetes. &lt;/p&gt;&#10;&lt;p&gt;To understand the importance of using service meshes when working with microservices-based applications, let&amp;rsquo;s start with a story.  &lt;/p&gt;&#10;&lt;p&gt;Suppose that you are working on a big microservices-based banking application, where any mistake can have serious impacts. One day the development team receives a feature request to add a rating functionality to the application. The solution is obvious: create a new microservice that can handle user ratings. Now comes the hard part. The team must come up with a reasonable time estimate to add this new service.  &lt;/p&gt;</description></item><item><title>Control Traffic Between Kubernetes Workloads with Network Security Policies</title><link>https://www.rancher.com/blog/control-traffic-between-kubernetes-workloads-with-network-security-policies/</link><pubDate>Thu, 30 Dec 2021 19:19:17 +0000</pubDate><guid>https://www.rancher.com/blog/control-traffic-between-kubernetes-workloads-with-network-security-policies/</guid><description>&lt;p&gt;&lt;img src="images/507eb0-shutterstock_389843077-2.jpg" alt=""&gt;Many large organizations opt for a model that consists of multiple workloads on a single Kubernetes cluster. A workload in K8s refers to an application comprising either a single resource or several resources working together. Namespaces typically separate these workloads to create a layer of isolation between the resources deployed in the respective namespaces. This can be beneficial in many use cases (e.g., running multiple incarnations of the same application or multiple unrelated apps). &lt;/p&gt;</description></item><item><title>Run Your First Secure and DNS with Rancher</title><link>https://www.rancher.com/blog/run-your-first-secure-and-dns-with-rancher/</link><pubDate>Mon, 29 Nov 2021 20:54:40 +0000</pubDate><guid>https://www.rancher.com/blog/run-your-first-secure-and-dns-with-rancher/</guid><description>&lt;p&gt;In the &lt;a href="https://community.suse.com/posts/run-your-first-cicd-pipeline-with-rancher"&gt;previous article&lt;/a&gt;, we installed &lt;strong&gt;Rancher&lt;/strong&gt; on the localhost and run the necessary CI/CD tools. This article will look at how to make our environment liveable on the Internet. We will use &lt;strong&gt;Route53&lt;/strong&gt; - domain registration and DNS-zones hosting, &lt;strong&gt;cert-manager&lt;/strong&gt; - &lt;strong&gt;Let&amp;rsquo;s Encrypt&lt;/strong&gt; wildcard certificates and &lt;strong&gt;external-dns&lt;/strong&gt;- synchronizing Ingresses with DNS Route53.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="images/44fccf-Rancher-Logo.jpeg" alt=""&gt;&lt;/p&gt;&#10;&lt;h1 id="a-little-personal-experience"&gt;A little personal experience&lt;/h1&gt;&#10;&lt;p&gt;Why is &lt;strong&gt;Rancher&lt;/strong&gt; good? Because those who do not want to understand the code of manifests and want to run what is required in manual mode can do this through an excellent graphical interface.&lt;/p&gt;</description></item><item><title>Stupid Simple Service Mesh: What, When, Why Part 1</title><link>https://www.rancher.com/blog/stupid-simple-service-mesh-what-when-why-part-1/</link><pubDate>Thu, 26 Aug 2021 21:26:09 +0000</pubDate><guid>https://www.rancher.com/blog/stupid-simple-service-mesh-what-when-why-part-1/</guid><description>&lt;p&gt;&lt;img src="images/33a7a9-Service_Mesh-Blog-Graphic.png" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;Recently microservices-based applications became very popular, and with the rise of microservices, the concept of Service Mesh also became a very hot topic. Unfortunately, there are only a few articles about this concept and most of them are hard to digest.&lt;/p&gt;&#10;&lt;p&gt;In this blog, we will try to &lt;strong&gt;demystify the concept of Service Mesh using &amp;ldquo;Stupid Simple&amp;rdquo; explanation****s&lt;/strong&gt;, diagrams, and examples to make this concept more transparent and accessible for everyone. In the &lt;strong&gt;first article&lt;/strong&gt;, we will discuss &lt;strong&gt;the basic building blocks of a Service Mesh and&lt;/strong&gt; implement a &lt;strong&gt;sample application&lt;/strong&gt; to have a practical example of each theoretical concept. In the &lt;strong&gt;next articles&lt;/strong&gt;, based on this sample app, we will touch on more advanced topics, like &lt;strong&gt;Service Mesh in Kubernetes&lt;/strong&gt;, and we will talk about some more &lt;strong&gt;advanced Service Mesh implementations like &lt;a href="https://istio.io/"&gt;Istio&lt;/a&gt;,&lt;/strong&gt;&lt;a href="https://linkerd.io/"&gt;&lt;strong&gt;Linkerd&lt;/strong&gt;&lt;/a&gt;, etc.&lt;/p&gt;</description></item><item><title>Stupid Simple Kubernetes :  Deployments, Services and Ingresses Explained Part 2</title><link>https://www.rancher.com/blog/stupid-simple-kubernetes-deployments-services-and-ingresses-explained-part-2/</link><pubDate>Wed, 12 May 2021 20:05:13 +0000</pubDate><guid>https://www.rancher.com/blog/stupid-simple-kubernetes-deployments-services-and-ingresses-explained-part-2/</guid><description>&lt;h2 id="everything-you-need-to-know-to-set-up-production-ready-microservices-using-kubernetes"&gt;Everything you need to know to set up production-ready Microservices using Kubernetes&lt;/h2&gt;&#10;&lt;p&gt;&lt;img src="images/f7c8f6-1_eLw7x-txqZlonL0mkLX24Q.png" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;In the &lt;a href="https://levelup.gitconnected.com/stupid-simple-kubernetes-e509355fba3d"&gt;&lt;strong&gt;first part&lt;/strong&gt;&lt;/a&gt;of this series, we learned about the basic concepts used in Kubernetes, its hardware structure, about the different software components like &lt;strong&gt;Pods, Deployments, StatefulSets, Services, Ingresses, and Persistent Volumes&lt;/strong&gt;and we saw how to communicate between services and with the outside world.&lt;/p&gt;&#10;&lt;p&gt;In the &lt;a href="https://levelup.gitconnected.com/stupid-simple-kubernetes-deploying-microservices-on-azure-part-1-9ee230bdbb6f"&gt;&lt;strong&gt;previous article&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;,&lt;/strong&gt; we prepared our system infrastructure to deploy our microservices using &lt;strong&gt;Azure Cloud&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Using Hybrid and Multi-Cloud Service Mesh Based Applications for Distributed Deployments</title><link>https://www.rancher.com/blog/using-hybrid-and-multi-cloud-service-mesh-based-applications-for-distributed-deployments/</link><pubDate>Mon, 21 Dec 2020 09:51:00 +0000</pubDate><guid>https://www.rancher.com/blog/using-hybrid-and-multi-cloud-service-mesh-based-applications-for-distributed-deployments/</guid><description>&lt;p&gt;Join the Master Class: Using Hybrid and Multi-Cloud Service Mesh Based Applications for Highly Distributed Environment Deployments&lt;a href="https://info.rancher.com/kubernetes-master-class-jan12-2020-kong"&gt;Join the Master Class on Jan. 12&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Service Mesh is an emerging architecture pattern gaining traction today. Along with Kubernetes, Service Mesh can form a powerful platform which addresses the technical requirements that arise in a highly distributed environment typically found on a microservices cluster and/or service infrastructure. A Service Mesh is a dedicated infrastructure layer for facilitating service-to-service communications between microservices.&lt;/p&gt;</description></item><item><title>Deploy an Ingress Controller on K3s</title><link>https://www.rancher.com/blog/deploy-an-ingress-controller-on-k3s/</link><pubDate>Tue, 28 Jul 2020 09:46:00 +0000</pubDate><guid>https://www.rancher.com/blog/deploy-an-ingress-controller-on-k3s/</guid><description>&lt;p&gt;The certified Kubernetes distribution built for IoT &amp;amp; Edge computing&lt;a href="https://k3s.io/"&gt;Download K3S&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Kubernetes provides a powerful networking model for microservices. One of the pillars of this model is that each pod has its own IP address and is directly addressable within the cluster. As a consequence, each Kubernetes cluster usually has a flat virtual network that external hosts can’t reach directly. That means routing traffic from clients outside the cluster to services deployed inside the cluster requires some additional work. There are &lt;a href="https://blog.getambassador.io/kubernetes-ingress-nodeport-load-balancers-and-ingress-controllers-6e29f1c44f2d"&gt;various strategies for routing traffic into a Kubernetes cluster&lt;/a&gt; – the most common approach is to use an ingress controller.&lt;/p&gt;</description></item><item><title>Bringing Cloud Load Balancer On-Prem with Rancher</title><link>https://www.rancher.com/blog/bringing-cloud-load-balancer-on-prem-with-rancher/</link><pubDate>Mon, 08 Jun 2020 09:44:00 +0000</pubDate><guid>https://www.rancher.com/blog/bringing-cloud-load-balancer-on-prem-with-rancher/</guid><description>&lt;p&gt;Read our free white paper: How to Build a Kubernetes Strategy&lt;a href="https://more.suse.com/fy21-global-web-landing-page-how-to-build-enterprise-kubernetes-strategy"&gt;Download Now&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The public cloud offers great scalability and flexibility for customers and is a model where service providers make many decisions on their behalf. For example, in cloud service providers like Google Cloud Platform (GCP), Amazon Web Service (AWS) or Microsoft Azure, a cloud load balancer is spun up on demand. The load balancer gets an IP address automatically and your application is ready to be served.&lt;/p&gt;</description></item><item><title>Introduction to Container Networking</title><link>https://www.rancher.com/blog/introduction-to-container-networking/</link><pubDate>Tue, 10 Sep 2019 17:12:29 +0000</pubDate><guid>https://www.rancher.com/blog/introduction-to-container-networking/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;Containers have become a popular way of packaging and delivering applications. Though the underlying technology had been available in the Linux kernel for many years, it did not gain the current widespread adoption until Docker came along and made this technology easy to use. Despite runtime isolation being one of the major advantages, containers working in isolation are often not very useful. Multiple containers need to interact with each other to provide various useful services. End users need a way to interact with the services provided inside these containers.&lt;/p&gt;</description></item><item><title>Announcing Preview Support for Istio</title><link>https://www.rancher.com/blog/announcing-preview-support-for-istio/</link><pubDate>Thu, 20 Jun 2019 12:44:15 +0000</pubDate><guid>https://www.rancher.com/blog/announcing-preview-support-for-istio/</guid><description>&lt;p&gt;Today we are announcing support for Istio with Rancher 2.3 in Preview mode.&lt;/p&gt;&#10;&lt;h2 id="why-istio"&gt;Why Istio?&lt;/h2&gt;&#10;&lt;p&gt;&lt;a href="https://istio.io/"&gt;Istio&lt;/a&gt;, and service mesh generally, has developed a huge amount of excitement&lt;/p&gt;&#10;&lt;p&gt;in the Kubernetes ecosystem. Istio promises to add fault tolerance, canary rollouts, A/B testing, monitoring&lt;/p&gt;&#10;&lt;p&gt;and metrics, tracing and observability, and authentication and authorization, eliminating the need for&lt;/p&gt;&#10;&lt;p&gt;developers to instrument or write specific code to enable these capabilities. In effect, developers can just&lt;/p&gt;</description></item><item><title>Comparing Kubernetes CNI Providers: Flannel, Calico, Canal, and Weave</title><link>https://www.rancher.com/blog/comparing-kubernetes-cni-providers-flannel-calico-canal-and-weave/</link><pubDate>Thu, 21 Mar 2019 09:04:00 +0000</pubDate><guid>https://www.rancher.com/blog/comparing-kubernetes-cni-providers-flannel-calico-canal-and-weave/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;Network architecture is one of the more complicated aspects of many Kubernetes installations. The Kubernetes networking model itself demands &lt;a href="https://kubernetes.io/docs/concepts/cluster-administration/networking/#the-kubernetes-network-model"&gt;certain network features&lt;/a&gt; but allows for some flexibility regarding the implementation. As a result, various projects have been released to address specific environments and requirements.&lt;/p&gt;&#10;&lt;p&gt;In this article, we’ll explore the most popular &lt;strong&gt;CNI plugins&lt;/strong&gt;: flannel, calico, weave, and canal (technically a combination of multiple plugins). CNI stands for &lt;a href="https://github.com/containernetworking/cni"&gt;container network interface&lt;/a&gt;, a standard designed to make it easy to configure container networking when containers are created or destroyed. These plugins do the work of making sure that Kubernetes’ networking requirements are satisfied and providing the networking features that cluster administrators require.&lt;/p&gt;</description></item><item><title>Load Balancing Traffic on Kubernetes with Rancher</title><link>https://www.rancher.com/blog/load-balancing-traffic-on-kubernetes-with-rancher/</link><pubDate>Fri, 08 Jun 2018 09:02:00 +0000</pubDate><guid>https://www.rancher.com/blog/load-balancing-traffic-on-kubernetes-with-rancher/</guid><description>&lt;p&gt;Build a CI/CD Pipeline with Kubernetes and RancherRecorded Online Meetup of best practices and tools for building pipelines with containers and kubernetes.&lt;a href="https://rancher.com/events/2018/2018-08-07-onlinemeetup-building-a-cicd-pipeline-with-k8s/"&gt;Watch the training&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;When it comes to containerizing user applications and deploying them on Kubernetes, incremental design is beneficial. First you figure out how to package your application into a container. Then, decide on a deployment model – do you want one container or multiple ones – any other scheduling rules, and configuring liveness and readines probes so that if the application goes down, Kubernetes can safely restore it.&lt;/p&gt;</description></item><item><title>Load-Balancing in Kubernetes</title><link>https://www.rancher.com/blog/load-balancing-in-kubernetes/</link><pubDate>Mon, 14 Aug 2017 11:11:00 +0000</pubDate><guid>https://www.rancher.com/blog/load-balancing-in-kubernetes/</guid><description>&lt;p&gt;Take a deep dive into Best Practices in Kubernetes NetworkingFrom overlay networking and SSL to ingress controllers and network security policies, we&amp;rsquo;ve seen many users get hung up on Kubernetes networking challenges. In this video recording, we dive into Kubernetes networking, and discuss best practices for a wide variety of deployment options. &lt;a href="https://rancher.com/events/2018/kubernetes-networking-masterclass-june-online-meetup/"&gt;Watch the video&lt;/a&gt; Update (June 2018): Engineer Alena Prokharchyk revisited this topic and showed useful and easy ways to load balance with Kubernetes in a recent blog post.&lt;/p&gt;</description></item><item><title>What App Developers Should Know About Kubernetes Networking</title><link>https://www.rancher.com/blog/what-app-developers-should-know-about-kubernetes-networking/</link><pubDate>Mon, 17 Jul 2017 09:01:00 +0000</pubDate><guid>https://www.rancher.com/blog/what-app-developers-should-know-about-kubernetes-networking/</guid><description>&lt;p&gt;In the world of containers, Kubernetes has become the community standard&#10;for container orchestration and management. But there are some basic&#10;elements surrounding networking that need to be considered as&#10;applications are built to ensure that full multi-cloud capabilities can&#10;be leveraged.&lt;/p&gt;&#10;&lt;h3 id="the-basics-of-kubernetes-networking-pods"&gt;The Basics of Kubernetes Networking: Pods&lt;/h3&gt;&#10;&lt;p&gt;The basic unit of management inside Kubernetes is not a container—It&#10;is called a pod. A pod is simply one or more containers that are&#10;deployed as a unit. Often, they are a single functional endpoint used as&#10;part of a service offering. Two examples of valid pods are:&lt;/p&gt;</description></item></channel></rss>