<?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 Simon Volpert on Medium]]></title>
        <description><![CDATA[Stories by Simon Volpert on Medium]]></description>
        <link>https://medium.com/@s.volpert?source=rss-1e65c1d61efb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*v7lJ4-PxmoZsjcwji-Ix8w.png</url>
            <title>Stories by Simon Volpert on Medium</title>
            <link>https://medium.com/@s.volpert?source=rss-1e65c1d61efb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:56:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@s.volpert/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[Are Kubernetes CNI solutions ready for >10 GBit/s?]]></title>
            <link>https://medium.com/omi-uulm/are-kubernetes-cni-solutions-ready-for-10-gbit-s-4f20da957af?source=rss-1e65c1d61efb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f20da957af</guid>
            <category><![CDATA[cni]]></category>
            <category><![CDATA[argo]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Simon Volpert]]></dc:creator>
            <pubDate>Wed, 02 Jun 2021 08:01:13 GMT</pubDate>
            <atom:updated>2021-06-02T08:01:13.570Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ajKQNMAgPMODq4sj" /><figcaption>Photo by <a href="https://unsplash.com/@jack070?utm_source=medium&amp;utm_medium=referral">Jacek Smoter</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Since CoreOS first suggested [1] a draft on a Container Network Interface, the amount of CNI-enabled container runtimes and CNI implementations has grown significantly. Basic and sophisticated network functionality is a core demand and integral part of the Kubernetes ecosystem. Features provided by CNI range from providing pod-to-pod connectivity across hosts, over port forwarding, to complex network policies. Thus, the multitude of features provided by CNI complete this ecosystem to the point it is today.</p><p>Relying on those features, the following questions regarding CNI arise:</p><ul><li>Are CNI implementations able to saturate 50 and 100 Gigabit network interface cards?</li><li>Which performance implications arise for different implementation approaches?</li><li>How to decide on a provider based on requirements towards features and performance</li></ul><p>On our Kubernetes adoption path, we initially settled on k3s [2] and its integrated CNI provider Flannel [3]. Our main usage scenarios center around Bare-Metal clusters with <a href="https://www.nvidia.com/en-us/networking/ethernet/connectx-5/">50 or 100 Gigabit</a> network cards. In these scenarios, the underlying network performance starts to become an issue.</p><p>This article is a summary of our early investigations of throughput and latency capabilities of our infrastructure. Particularly, the cluster used for that purpose is set up as follows:</p><ul><li>2 Servers: NEC Express5800/E120f-M withIntel(R) Xeon(R) CPU E5–2630 v3 @ 2.40GHz, 256GB DDR4 RAM</li><li>2 Network interface cards: Mellanox MCX515A (50Gbit/s)</li><li>Operating System: Fedora CoreOS 33.20210104.3.0 with kernel 5.9.16</li><li>Switch: Mellanox/Nvidia MLX SN2100</li></ul><h4>Methodology</h4><p>Each performance test is performed over 10 minutes by using the network performance testing tool netperf[4]. Netperf allows, amongst others, the measurement of bandwidth and latency.</p><p>Each measurement process of spawning and setting up containers, collecting and processing metrics until visualization is specified in an Argo Workflow [5]. This enables each process to be easily repeated and reproduced.</p><h4>Results</h4><p>To put a measurement between two pods and two hosts into perspective, we first perform some baseline tests. One being a pod-to-pod cross host test without network virtualization using a single stream. Since a single stream could not utilize the full bandwidth capacity, we parallelized this test to handle 3 simultaneous streams. Upon determination and verification of a baseline performance, further measurements for pod-to-pod performance with network virtualization done by Fannel can be performed. Flannel can be configured to utilize different approaches for network virtualization. Here the default configuration (VXLAN) is applied. Figure 1 illustrates this setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*shyPXDEXDag_US04aLS1Ow.png" /><figcaption>Figure 1: Color coded scenarios</figcaption></figure><p>In this figure, the scenarios are color coded as follows: blue is single stream pod-to-pod cross host communication, whereas the difference in the orange scenario is the usage of 3 parallel streams. Finally the red scenario enables Flannel network virtualization using a single stream.</p><p>Preliminary results are shown in figure 2:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*aO3X6dggGLBFZ-i7hzE7mg.png" /><figcaption>Figure 2: Preliminary results of througput, latency and cpu utilization measurements</figcaption></figure><p>These results yield multiple insights: <em>(i) </em>One TCP connection cannot saturate a 50 Gbit link with this specific CPU, whereas a second run with <em>(ii)</em> 3 parallel connections is able to do so. While Flannel’s single performance <em>(iii)</em> is easily sufficient for 1Gbit/s networks, we were not able to achieve more than ~13Gbit/s in this scenario. As we can see, latency and especially its standard deviation is significantly higher than that for scenarios without any networkwork virtualization. Also the time this process can spend in user or system cpu time is much lower, which directly influences the amount of softirq leading to an overall lower transfer rate.</p><h4>Conclusion</h4><p>The hardware/software combination we are currently running is capable of handling single connections with 10Gbit/s, but is certainly quickly limited afterwards. However, we cannot answer the introductory question whether CNI is ready for &gt;10Gbit/s yet. Thus further investigations are necessary.</p><h4>Outlook</h4><p>Since this measurement process is only a very preliminary, a lot of further measurements and performance tunings will need to be done. Regarding higher performance eBPF [6] based solutions seem to be very promising, since they are able to avoid parts of the classic netfilter stack.</p><p>These measurements opened up a lot of further questions regarding bottlenecks, strategies and possible performance tunings. As a consequence we currently pursue further research to eventually find answers to these questions. These insights can be helpful for deciding which CNI solution fits best for specific requirements.</p><h4>References</h4><p>[1] GitHub. 2021. <em>containernetworking/cni</em>. [online] Available at: &lt;https://github.com/containernetworking/cni&gt; [Accessed 21 May 2021].</p><p>[2] K3s.io. 2021. <em>K3s: Lightweight Kubernetes</em>. [online] Available at: &lt;https://k3s.io/&gt; [Accessed 21 May 2021].</p><p>[3] GitHub. 2021. <em>flannel-io/flannel</em>. [online] Available at: &lt;https://github.com/flannel-io/flannel&gt; [Accessed 21 May 2021].</p><p>[4] Hewlettpackard.github.io. 2021. <em>The Netperf Homepage</em>. [online] Available at: &lt;https://hewlettpackard.github.io/netperf/&gt; [Accessed 21 May 2021].</p><p>[5] Argoproj.github.io. 2021. <em>Workflows &amp; Pipelines | Argo</em>. [online] Available at: &lt;https://argoproj.github.io/projects/argo/&gt; [Accessed 21 May 2021].</p><p>[6] Ebpf.io. 2021. <em>eBPF — Introduction, Tutorials &amp; Community Resources</em>. [online] Available at: &lt;https://ebpf.io/&gt; [Accessed 31 May 2021].</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f20da957af" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/are-kubernetes-cni-solutions-ready-for-10-gbit-s-4f20da957af">Are Kubernetes CNI solutions ready for &gt;10 GBit/s?</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Journey from CoreOS to Fedora CoreOS]]></title>
            <link>https://medium.com/omi-uulm/journey-from-coreos-to-fedora-coreos-8af46cc9d8ae?source=rss-1e65c1d61efb------2</link>
            <guid isPermaLink="false">https://medium.com/p/8af46cc9d8ae</guid>
            <category><![CDATA[immutable-infrastructure]]></category>
            <category><![CDATA[coreos]]></category>
            <category><![CDATA[immutability]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Simon Volpert]]></dc:creator>
            <pubDate>Fri, 15 Jan 2021 09:03:15 GMT</pubDate>
            <atom:updated>2021-01-15T09:03:15.495Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AjRLwmpuCPYwygch" /><figcaption>Photo by <a href="https://unsplash.com/@sarahleejs?utm_source=medium&amp;utm_medium=referral">Jongsun Lee</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Overview</strong> This is the second of three blog entries describing our migration of a CoreOS/Rancher1.6 environment to a Fedora CoreOS/Kubernetes installation.</p><p><strong>Abstract</strong> In this blog entry, we describe the migration from the initial <a href="https://coreos.com/">CoreOS</a> towards <a href="https://getfedora.org/coreos">Fedoras implementation</a>. It therefore is a report regarding our experiences and the challenges we had to overcome.</p><h3>Immutable Operating System</h3><p>As already mentioned in part 1 of this series, we apply the idea of immutable infrastructure wherever applicable. After some initial experiments with custom built operating systems and network booting for physical provisioning, we quickly settled on CoreOS Container Linux. For the sake of simplicity this is from now on abbreviated as CoreOS</p><h4>CoreOS</h4><p>To briefly summarize the immutability part of our previous article, CoreOS fulfils all the requirements set up there. Additionally, it enabled us to do <em>physical provisioning</em> via (i)PXE by booting into the target machine’s RAM as well as installing it on disk. Due to benefits in (re)provisioning speed, idempotence and mitigating configuration drift, most machines are booted into RAM. Furthermore CoreOS relied on the <em>(ii) cloud-init</em> approach to configure users, files and system services with their custom ignition format. While the path to this approach was already cleared for virtually provisioned machines since this configuration can be supplied by the cloud infrastructure via metadata or config drives, the CoreOS developers provided <a href="https://github.com/poseidon/matchbox">Matchbox</a>, which amongst other things, provide a backend to load this configuration.</p><p><strong>RedHat acquires CoreOS</strong></p><p>In 2018, <a href="https://coreos.com/blog/coreos-agrees-to-join-red-hat">CoreOS was acquired by RedHat</a> and the initial Operating System “Container Linux” reached end of life in May 2020 with its last release being 2247.5.0. Towards this deadline, Fedora CoreOS (FCOS) was actively developed and beta releases were available. Initially we migrated parts of our infrastructure to the CoreOS fork <a href="https://www.flatcar-linux.org/">FlatCar</a> but eventually settled on adoption FCOS. Our reasoning behind this decision is mostly based on the assumption that RedHat/IBM will continuously put effort into Fedora CoreOS which is backed by the facts that they have actively bought CoreOS and merged it with their own initial immutable container OS <a href="https://www.projectatomic.io/">Project Atomic</a>.</p><h3>Migrating from CoreOS to FCOS</h3><p>At first glance, migrating to FCOS was no too daunting task. The changes necessary mostly come from two sources: the <em>(i) updated ignition specification</em> and the <em>(ii) updated packages and configuration. </em>Before the migration, we’ve used the <a href="https://coreos.com/ignition/docs/latest/configuration-v2_4.html">ignition specification </a><a href="https://coreos.com/ignition/docs/latest/configuration-v2_4.html">2.4.0</a>. With the FCOS adoption we currently use <a href="https://github.com/coreos/ignition/blob/master/docs/configuration-v3_2.md">2.4.0</a>.</p><p>Retrospectively the biggest change was certainly the switch from systemd-networkd towards NetworkManager, but of course, the challenges were in the details. Again, please note that the following is by no means a comprehensive migration guide, but rather a collection of experiences we made during migration of our own infrastructure.</p><h4>NetworkManager</h4><p>Since we have a rather sophisticated network infrastructure with lots of interfaces and purpose fit networks, the NetworkManager configuration oftentimes is not as straight forward as it could be. We actually have the impression that the NetworkManager is rather built for consumer deployments and not for servers, however that is yet to be proven.</p><p>To give a quick glance at our network network setup it mostly consist of mix and match of the following aspects:</p><ul><li>Multiple Ethernet specifications (1,10,25,40,50 and 100Gbit/s)</li><li>Strictly separated physical networks (boot, control, data, ipmi) to assure security and quality of service</li><li>Separated virtual networks for the same reason</li></ul><p>The items above are especially true for our OpenStack installation which uses very heterogeneous servers, network interface cards and switches. Since the inherent multi tenancy of this installation, separation of networks is crucial. Moreover we oftentimes reconfigure our network infrastructure for research related benchmarks or emerging projects. Consequently, flexible network configuration is a very important aspect to us.</p><p>To configure systemd-networkd CoreOS had a top-level ignition key named networkd. With FCOS this is now gone and network interfaces have to be configured as storage.files.</p><p>The following gives an example of a typical configuration before and after. It renames an interface and allocates static IP configuration.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d9e5a3e9d17c8acc528e0de02105c7e1/href">https://medium.com/media/d9e5a3e9d17c8acc528e0de02105c7e1/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3dcd85b73df10c8b87ec69a031569751/href">https://medium.com/media/3dcd85b73df10c8b87ec69a031569751/href</a></iframe><p>For static routes, the approach is very similar:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/149c57063dfc4c7c411a6ada4c3f1fbb/href">https://medium.com/media/149c57063dfc4c7c411a6ada4c3f1fbb/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bcd36606d08c86ff2092c78e0a6c2de4/href">https://medium.com/media/bcd36606d08c86ff2092c78e0a6c2de4/href</a></iframe><p>VLANs were a little tricky. This example configures two VLANs on a single physical interface. For the pyhsical interface some settings have to be disabled:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8ae810c3dd83f80452b75dc374cb92d1/href">https://medium.com/media/8ae810c3dd83f80452b75dc374cb92d1/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1be5c868a070a07258f8f684ccd96470/href">https://medium.com/media/1be5c868a070a07258f8f684ccd96470/href</a></iframe><p>As far as we know, NetworkManager does not support <a href="https://www.kernel.org/doc/Documentation/networking/ipvlan.txt">ipvlan</a> and we therefore have to stick to macvlan. The following shows an example configuration:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/763faea05848df5e5286edd80070d450/href">https://medium.com/media/763faea05848df5e5286edd80070d450/href</a></iframe><p>Lastly, at least for the NetworkManager is the issue we had with running the network virtualization <a href="https://github.com/coreos/flannel">Flannel</a>. Flannel is a widely used and rather simple approach to implement Kubernetes networking. We had the issue, that systemd quickly re-assigned a custom MAC address on the virtual interfaces created by flannel. This broke the internal forwarding tables and packages within the virtual network simply timed out. The following config allows the creation of custom interfaces and also lets them pick their own MAC address.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0abf119c8603eeea4556986844541233/href">https://medium.com/media/0abf119c8603eeea4556986844541233/href</a></iframe><h4>SSHD</h4><p>To limit SSH requests to our infrastructure we usually limit access to a set of users and IP ranges. However FCOS does not use SSHD socket activation anymore. Now the configuraion looks like the following:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b7b049023f4f2bf3b62addde91c707f/href">https://medium.com/media/3b7b049023f4f2bf3b62addde91c707f/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ad126ea0d852ded95d3c37da50f32367/href">https://medium.com/media/ad126ea0d852ded95d3c37da50f32367/href</a></iframe><p>Furthermore the following small change to <a href="https://github.com/coreos/afterburn">Afterburn</a> was necessary, since OpenStack was missing from the list of services. As of now this might be fixed. Simply put, Afterburn consumes cloud provider metadata endpoints and injects supplied information into the VM by leveraging ignition.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c8dc8c881b675587d55647b84096110e/href">https://medium.com/media/c8dc8c881b675587d55647b84096110e/href</a></iframe><h4>Mounts and filesystems</h4><p>While most of the changes above didn’t yield any benefits, there are some changes to ignition, which makes it more convenient to use. A nice example is the creation and mounting of filesystems:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e7ebef66d860f4940baa0870eeb9844/href">https://medium.com/media/4e7ebef66d860f4940baa0870eeb9844/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a03b0a4b54fb46b5b81a799f7661f3be/href">https://medium.com/media/a03b0a4b54fb46b5b81a799f7661f3be/href</a></iframe><p>However, FCOS fundamentally changed the structure of the root filessystem. A lot of folders historically placed at / are now moved and symlinked to /var and /usr.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8904466d924adb9f0a9b21e8577cd137/href">https://medium.com/media/8904466d924adb9f0a9b21e8577cd137/href</a></iframe><p>This has implications on how filesystems are mounted under /mnt. Basically, they now have to be mounted under /var/mn/ to keep the previous functionality.</p><p>For iscsi mounts another minor change was necessary. <a href="https://www.freedesktop.org/software/systemd/man/systemd.mount.html#Default%20Dependencies">Default dependencies</a> had to be disabled and it has to be explicitly configured as a remote-fs:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/86d52a93c4ac062f289533cf4fd3cbb6/href">https://medium.com/media/86d52a93c4ac062f289533cf4fd3cbb6/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e87ce8daa9e7f3cb59bb06edd25ba912/href">https://medium.com/media/e87ce8daa9e7f3cb59bb06edd25ba912/href</a></iframe><h4>Profile / Boot</h4><p>The last on our list is not part of ignition but part of the matchbox boot stack. FCOS split its initrd into multiple parts and some further kernel parameters were necessary:</p><p>It is worth mentioning, that some machines (especially older ones) were only able to boot with <a href="https://github.com/coreos/fedora-coreos-tracker/issues/474">FCOS 33 and the parameters </a><a href="https://github.com/coreos/fedora-coreos-tracker/issues/474">rd.neednet=1 ip=dhcp</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3fb3b0d3c59f77835c139383e11c6709/href">https://medium.com/media/3fb3b0d3c59f77835c139383e11c6709/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bb6d3b8340417213197a0895a68c0af4/href">https://medium.com/media/bb6d3b8340417213197a0895a68c0af4/href</a></iframe><h3>Conclusion</h3><p>We’ve put quite some time and effort into the migration and it was not as straight forward as we hoped for. However we are still very happy with the fact that the CoreOS projects continue to live on and are pleased to see that others take up on the idea and improve it further.</p><p>We do not consider ourselves as CoreOS experts and some of the approaches we pursue might not be intended by the CoreOS creators at all, but it works very well for us. In fact, we are very interested in discussing this topic, so please feel free to reach out to us and share your experience or discuss your issues.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8af46cc9d8ae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/journey-from-coreos-to-fedora-coreos-8af46cc9d8ae">Journey from CoreOS to Fedora CoreOS</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>