<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>kubernetes on Poeticoding</title><link>https://www.poeticoding.com/tag/kubernetes/</link><description>Recent content in kubernetes on Poeticoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 13 Jan 2020 18:40:56 +0000</lastBuildDate><atom:link href="https://www.poeticoding.com/tag/kubernetes/index.xml" rel="self" type="application/rss+xml"/><item><title>Connecting Elixir Nodes with libcluster, locally and on Kubernetes</title><link>https://www.poeticoding.com/connecting-elixir-nodes-with-libcluster-locally-and-on-kubernetes/</link><pubDate>Wed, 06 Feb 2019 12:57:02 +0000</pubDate><guid>https://www.poeticoding.com/connecting-elixir-nodes-with-libcluster-locally-and-on-kubernetes/</guid><description>&lt;div class="video">&lt;iframe src="https://www.youtube-nocookie.com/embed/FARtObrKr5I" title="YouTube video" loading="lazy" allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen referrerpolicy="strict-origin-when-cross-origin">&lt;/iframe>&lt;/div>

&lt;p>In the last few articles we saw how to make our Phoenix chat app distributed; at the beginning with Redis, and after with distributed Elixir connecting the nodes together.&lt;/p>
&lt;p>We had just one problem; we had to manually connect to the nodes in the IEX console. This is an issue in production. In this video we will see how to automatically cluster the Phoenix chat nodes using the libcluster library locally, and on a Kubernetes cluster with a dynamic number of nodes.&lt;/p></description></item><item><title>Create a High-Availability Kubernetes Cluster on AWS with Kops</title><link>https://www.poeticoding.com/create-a-high-availability-kubernetes-cluster-on-aws-with-kops/</link><pubDate>Wed, 16 Jan 2019 14:58:56 +0000</pubDate><guid>https://www.poeticoding.com/create-a-high-availability-kubernetes-cluster-on-aws-with-kops/</guid><description>&lt;p>This article has a bit more of DevOps flavour than the previous articles, focused more on Elixir. In this article I show how to easily run a multi-zone Kubernetes cluster on AWS, where we&amp;rsquo;ll deploy a Phoenix Chat application.&lt;/p>
&lt;p>There are many ways to deploy a Kubernetes cluster on AWS (Amazon Web Services). At the moment, AWS offers &lt;a href="https://aws.amazon.com/eks/" target="_blank" rel="noopener">EKS, Elastic Kubernetes Service&lt;/a>, which helps us deploy and manage our Kubernetes clusters. It costs $0.20/hr, which is $144/month: that&amp;rsquo;s not cheap actually, especially if we want to run a small cluster. And it’s not just about the cost: I find EKS still too young, preferring &lt;strong>kops&lt;/strong> over it.&lt;/p></description></item></channel></rss>