<?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 David James Stockton on Medium]]></title>
        <description><![CDATA[Stories by David James Stockton on Medium]]></description>
        <link>https://medium.com/@davidjamesstockton?source=rss-5a0c4f39a912------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*lhRmCmB-cyuzPp-0DvsydA.jpeg</url>
            <title>Stories by David James Stockton on Medium</title>
            <link>https://medium.com/@davidjamesstockton?source=rss-5a0c4f39a912------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 03:55:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@davidjamesstockton/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[The AI Quality Paradox]]></title>
            <link>https://medium.com/@davidjamesstockton/the-ai-quality-paradox-3c3063f495c1?source=rss-5a0c4f39a912------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c3063f495c1</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[David James Stockton]]></dc:creator>
            <pubDate>Wed, 22 Apr 2026 12:22:59 GMT</pubDate>
            <atom:updated>2026-04-22T12:22:59.744Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTK5ygP_gR1QZXsTTlLIRg.png" /><figcaption>The AI Quality Paradox: Why AI makes good better and bad worse. Robotically illustrated with the assistance of ChatGPT</figcaption></figure><p>Everyone’s favourite word for AI-assisted software right now is “slop.” It’s a useful word. One syllable, no nuance, does all the work. You can use it to dismiss a generational shift in tooling without having to think very hard, and most of the people reaching for it aren’t.</p><p>I’m not going to pretend the slop isn’t real. It obviously is. Weekend vibe-coded SaaS apps held together by string and optimism, auth flows a bootcamp student would flag, the same utility function pasted fourteen times across a repo because nobody noticed it was already there. Fine. Granted.</p><p>But I think the slop story has swallowed a more interesting one, and I want to make a case for that second story. As a hypothesis. Not as something I can prove.</p><p>The hypothesis, roughly: if you were already a good engineer, and you use these tools with any kind of discipline, the code you’re shipping right now is better than it was two years ago. Not on any industry dashboard. Not in the aggregate numbers. Somewhere quieter, in the gap between the bugs that would have reached production and the ones that don’t.</p><h3>The numbers don’t love me</h3><p>Before I go any further, let me give the skeptics their round, because the 2026 data is mostly on their side and any argument that skips past that isn’t worth reading.</p><p>DORA’s 2025 report, still being picked over this spring, finds that AI adoption now correlates positively with throughput and product performance, and negatively with delivery stability. A Stanford/MIT study from March, widely summarised in the industry press, puts security vulnerabilities in AI-generated code at 14.3% versus 9.1% for human-written code on the same tasks. Faros AI’s customer telemetry shows bugs-per-developer and incidents-per-PR running substantially higher in teams with heavier AI adoption than in teams that use it lightly. Even METR, whose famous 19% slower result became the skeptics’ flagship citation, published a February update saying the finding probably doesn’t hold in 2026, though selection bias has gutted their replacement data before they could use it.</p><p>None of that helps me.</p><p>So why do I still think the narrow version of the argument is worth making?</p><h3>What the amplifier actually does</h3><p>The thing I keep coming back to in DORA 2025 isn’t the throughput number or the stability penalty. It’s the framing: AI doesn’t neutrally improve or damage anything. It amplifies whatever the team brought to the table before the tool arrived. Good teams get better. Bad teams get worse, faster. The report says this politely. What it’s describing is a leverage machine.</p><p>Every wave of tooling has done some version of this. Git rewarded teams who took branching seriously and confused the ones who didn’t. CI rewarded teams with decent tests and let the others ship broken code much more efficiently than before. What’s loud about this wave is just the size of the multiplier.</p><p>The interesting thing, for my purposes, is the shape of the amplification at the top of the curve. If you’re a senior engineer who reads everything you commit, an AI assistant doesn’t mainly help you ship more. It lets you afford things you couldn’t afford before. A second implementation to compare against the first, because generating it costs ten minutes instead of two days. Edge-case tests you actually enumerate instead of picking three from memory and calling it good. That refactor you’ve been avoiding for six sprints because it was always almost-but-not-quite worth a week. A skeptical pass from a different model on the diff before a human ever opens it.</p><p>None of that moves throughput. Some of it doesn’t even move stability, at least not on the horizon DORA is measuring over. What it moves is the stuff nobody tracks well: the pages that don’t fire at 2 in the morning, the migration that ran smoothly when everyone was braced for it to be awful, the refactor that took a week when 2 years ago it would have cost a quarter. Those have always been the quietest metrics in our industry, and no big report has ever been any good at catching them.</p><h3>The cross-model trick</h3><p>There’s one practice I’ll single out because it feels genuinely new and I don’t think it’s getting enough attention: having a different model review the code the 1st one wrote, before a human ever sees it.</p><p>Claude writes the diff, Codex reviews it. Or reverse. They disagree a lot. When they agree, they sometimes agree for reasons a human reviewer wouldn’t have bothered to articulate. When they disagree, the disagreement itself is the useful signal — a cheap, fast, fairly noisy critic that raises the floor of what eventually lands on a teammate’s screen.</p><p>I want to be honest about this. I’m not saying LLM reviewers are better than human ones. They aren’t, not reliably. There’s a paper from earlier this year showing that more elaborate LLM verifier setups can actually increase misjudgment rates on formal-spec tasks, which is a useful cold shower for anyone wanting to oversell this. My claim is narrower. A 2nd model is a gate, not an oracle. You still read every line yourself, you still get a human review, but the version of the diff that reaches your teammates has already survived a round of skeptical reading, and that’s a layer of defence we didn’t have access to before.</p><h3>The gap is widening, not closing</h3><p>Here’s the uncomfortable bit.</p><p>The marketing promise of AI tooling was democratisation. A rising floor. Everyone becomes a better engineer, or at least a faster one. I suspect the reality is almost the reverse. A leverage machine multiplies whatever you feed it, including carelessness, and the junior who can’t tell good code from code that looks like good code now ships more of the latter, faster, with more confidence. Put the same tool in the hands of someone with taste and you get a force multiplier on the taste.</p><p>The Faros numbers and the Stanford/MIT vulnerability gap are, I think, describing the 1st group. The visible tail. The aggregate of everyone who got keys to a Cursor/Claude/Codex subscription this year and started vibing, most of them learning on the job, shipping what the model suggests, discovering what breaks when it breaks in prod.</p><p>The quality gains, if they exist, and I think they do, are living somewhere else. Senior engineers, small disciplined teams, repos nobody outside the company ever sees. The places no survey has figured out how to stratify yet.</p><p>If I’m right about this, the axis of the conversation isn’t AI versus no-AI. It’s disciplined engineering with AI versus undisciplined engineering with it, and the 1st is pulling away from the 2nd fast enough that the industry metrics are going to have to start splitting AI-using teams by practice maturity within the next 2 DORA cycles. When they do, you’ll see a bi-modal distribution. The disciplined cohort outperforming both the un-disciplined one and the pre-AI baseline, and the un-disciplined one trailing everything on stability while still looking fine on throughput.</p><p>If I’m wrong, the slop critics were right about the whole distribution, not just the visible tail, and that’s fine. I’d rather be wrong in public about something specific than vaguely right in private about something fuzzy.</p><h3>The quiet part</h3><p>I can’t hand you a clean metric for any of this. Quality is slow-signal; it shows up in incidents that didn’t happen, in migrations that went well, in refactors that didn’t eat a month. Our industry has never been especially good at measuring that even without AI in the picture, and AI hasn’t made the measurement any easier.</p><p>The things we can measure: throughput, stability, vulnerability rate, churn, are mostly siding with the critics — and I’m not trying to duck that. What I’m saying is that the picture isn’t finished. The metrics aren’t yet broken out finely enough to see what I think is actually going on, and the engineers who are using these tools well are noticing the difference in their own work whether or not anybody gets around to confirming it.</p><p>If you’re one of those engineers — if the 10x productivity jump you were promised never quite materialised but your code somehow feels better, your tests a bit tighter, your edge cases more honestly considered, the refactors you’d been sitting on for years finally happening — you’re not imagining it. You’re part of the story that isn’t getting told.</p><p>The industry will catch up eventually. It usually does… in a year or two.</p><p><em>Written by hand — with a little AI polish — from the UK.</em></p><p>References:</p><p><em>State of AI-Assisted Software Development 2025</em>, DORA / Google Cloud. [<a href="http://dora.dev/dora-report-2025](https://dora.dev/dora-report-2025/)">dora.dev/dora-report-2025](https://dora.dev/dora-report-2025/)</a>. Amplification framing picked up across the 2026 industry press; see for instance <em>AI Is Amplifying Software Engineering Performance</em>, InfoQ, March 2026: [<a href="http://infoq.com/">infoq.com</a>](<a href="https://www.infoq.com/news/2026/03/ai-dora-report/">https://www.infoq.com/news/2026/03/ai-dora-report/</a>).</p><p>Figures from a reported March 2026 Stanford/MIT vulnerability study, cited here via 2026 industry coverage: [Second Talent — AI-Generated Code Quality Metrics for 2026](<a href="https://www.secondtalent.com/resources/ai-generated-code-quality-metrics-and-statistics-for-2026/">https://www.secondtalent.com/resources/ai-generated-code-quality-metrics-and-statistics-for-2026/</a>). I haven’t independently verified the primary paper; treat the numbers as directional rather than precise.</p><p><em>DORA 2025 Key Takeaways</em>, Faros AI, 2026. The telemetry figures compare low and high-AI-adoption cohorts in Faros’s own customer dataset, not a clean year-over-year snapshot. [<a href="http://faros.ai/">faros.ai</a>](<a href="https://www.faros.ai/blog/key-takeaways-from-the-dora-report-2025">https://www.faros.ai/blog/key-takeaways-from-the-dora-report-2025</a>).</p><p><em>We Are Changing Our Developer Productivity Experiment Design</em>, METR, February 2026. [<a href="http://metr.org/">metr.org</a>](<a href="https://metr.org/blog/2026-02-24-uplift-update/">https://metr.org/blog/2026-02-24-uplift-update/</a>).</p><p><em>Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specifications</em>. [<a href="http://arxiv.org/">arxiv.org</a>](<a href="https://arxiv.org/html/2508.12358v1">https://arxiv.org/html/2508.12358v1</a>). It’s about formal spec verification rather than multi-model diff review, but it’s a useful brake on anyone wanting to overclaim for LLM-as-critic.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c3063f495c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Evolution of Cloud
Infrastructure Management]]></title>
            <link>https://medium.com/@davidjamesstockton/the-evolution-of-cloud-infrastructure-management-9a46f1da8135?source=rss-5a0c4f39a912------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a46f1da8135</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-infrastructure]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <dc:creator><![CDATA[David James Stockton]]></dc:creator>
            <pubDate>Tue, 19 Aug 2025 09:09:45 GMT</pubDate>
            <atom:updated>2025-08-19T09:09:45.399Z</atom:updated>
            <content:encoded><![CDATA[<p>From manual scripts to autonomous systems: exploring the past, present<br>and future of how we manage cloud infrastructure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TIFl6igY9n6KtgKZ6GFqSg.png" /><figcaption>The Four Waves of Infrastructure Management</figcaption></figure><h3>Wave 1: The Scripting Era (2000–2010)</h3><h4>Characteristics:</h4><ul><li>Imperative style: “Do this, then that”</li><li>Tools: Bash, Perl, Python, boto, AWS CLI</li><li>Highly manual operations</li><li>Every infrastructure change was unique</li></ul><h4>Pain Points:</h4><ul><li>Brittle implementations</li><li>Hard to reproduce</li><li>Prone to human error</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*sxVbQPr9WYu6whAG-pm4VA.png" /><figcaption>Wave 1: The Scripting Era (2000–2010)</figcaption></figure><blockquote><strong>Analogy</strong>: Driving a stick-shift car on a winding mountain road with no guardrails</blockquote><h3>Wave 2: Infrastructure as Code (2010–2020)</h3><h4>Characteristics:</h4><ul><li>Declarative style: “This is the desired end state”</li><li>Tools: Terraform, CloudFormation, Ansible, Puppet, Chef</li><li>Infrastructure defined in version-controlled configs</li></ul><h4>Benefits:</h4><ul><li>Repeatability</li><li>Collaboration</li><li>Auditability</li></ul><h4>Pain Points:</h4><ul><li>Manually triggered</li><li>Static configs</li><li>Limited self-healing</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*KICV46I36TYvfVj3-38jng.png" /><figcaption>Wave 2: Infrastructure as Code (2010–2020)</figcaption></figure><blockquote><strong>Analogy</strong>: Cruise control — still telling the car where to go, but you don’t have to work the pedals all the time</blockquote><h3>Wave 3: Control Planes &amp; Infra-as-Data (2020-present)</h3><h4>Tools &amp; Approach:</h4><ul><li>Crossplane, Rancher Fleet, Pulumi, Kubernetes-style reconciliation loops</li><li>Desired state stored centrally; controllers reconcile continuously</li></ul><h4>Benefits:</h4><ul><li>Self-healing infrastructure</li><li>Automation of drift correction</li><li>GitOps synergy</li></ul><h4>Limitations:</h4><ul><li>YAML-heavy</li><li>Human still designs everything</li><li>Optimization is static</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*gz7X97GS1FLaNPB8IpaIjQ.png" /><figcaption>Wave 3: Control Planes &amp; Infra-as-Data (2020-present)</figcaption></figure><blockquote><strong>Analogy</strong>: Autopilot maintains your course, but you still plot the route</blockquote><h3>Wave 4: The Next Paradigm</h3><ul><li>Intent-driven</li><li>Policy-bound</li><li>AI-assisted</li></ul><h4>Autonomous Infrastructure</h4><p><strong>Expected timeframe: 2025–2035</strong></p><p><strong>Early signs in:</strong></p><ul><li>OpenTofu + AI copilots</li><li>OPA + AI policy engines</li><li>AIOps platforms</li><li>Self-optimizing orchestrators</li></ul><h3>Intent &gt; Implementation</h3><blockquote>Provide a globally resilient API backend that scales to 10k RPS, latency &lt;200ms, with lowest cloud cost in EMEA.</blockquote><p>Operators won’t write Terraform/Crossplane manifests directly — they’ll declare <strong><em>intent</em></strong> in plain language or high-level domain models.</p><p>The system decides how to meet that intent, potentially across multiple clouds, generating and applying infrastructure as an internal artefact.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*PYyVU-kZkbz9wjZlyjKE5A.png" /><figcaption>Wave 4: The Next Paradigm (Autonomous Infrastructure)</figcaption></figure><h3>Key Characteristics of Wave 4</h3><h4>Continuous Optimization</h4><p>Systems will actively optimize cost, performance, energy eﬃciency, or carbon footprint — even changing providers or architectures automatically.</p><h4>Policy &amp; Compliance First</h4><p>Regulatory compliance, security posture, and internal governance embedded at the “intent” level, constrained by advanced policy engines.</p><h4>Autonomous Remediation</h4><p>Systems detect issues (cost spikes, quota exhaustion, security exposure) and resolve them without human approval in many cases.</p><h4>AI-assisted DevEx</h4><p>Engineers shift from “YAML engineers” to curators of intents and policies, reviewing AI-suggested changes in GitHub-style PRs.</p><h3>The Macro-trends in Infrastructure Management</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LB1prRzJhUrTgvUsriY6_A.png" /><figcaption>Each jump reduces the how you manage infrastructure, and increases focus on <strong><em>what outcomes you want</em></strong>.</figcaption></figure><h3>The Self-Driving Infrastructure Future</h3><blockquote>I describe the business outcome, and the system continuously creates, manages, and optimizes the infrastructure to achieve it — securely and cost-effectively — without me ever touching a YAML file.</blockquote><h4>Wave 4 Taglines:</h4><ul><li>Infrastructure by Intent</li><li>Autonomous Infrastructure Control</li><li>Continuous Infrastructure Optimization (CIO)</li><li>Policy-driven, AI-operated Cloud</li></ul><blockquote><strong>Analogy</strong>: Self-driving car — you specify the destination and constraints, it drives, reroutes, and optimizes along the way without you touching the wheel.</blockquote><p><strong>Environment-less ephemerality</strong>: Development environments spun up instantly from intent, with lifecycle completely managed by the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PQHK9EaiOGXtd-n4QYCTnQ.png" /><figcaption><em>This article is an edited version of a presentation I gave, title slide above.</em></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a46f1da8135" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I saved enough money on my AWS Bill to buy a Tesla Model X…]]></title>
            <link>https://medium.com/@davidjamesstockton/how-i-saved-enough-money-on-my-aws-bill-to-buy-a-tesla-model-x-27b8685cc862?source=rss-5a0c4f39a912------2</link>
            <guid isPermaLink="false">https://medium.com/p/27b8685cc862</guid>
            <category><![CDATA[cost-saving-tips]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[David James Stockton]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 17:04:08 GMT</pubDate>
            <atom:updated>2023-04-03T17:04:08.529Z</atom:updated>
            <content:encoded><![CDATA[<p>As an infrastructure software engineer, I’m always looking for ways to optimize and automate my work to make it more efficient and cost-effective. One of the areas where I’ve had great success is in managing our AWS bill. By implementing Terraform, Kubernetes, and automation, I was able to significantly reduce our expenses and even save enough money to buy our CEO a Tesla Model X. Here’s how I did it:</p><figure><img alt="Tesla Model X" src="https://cdn-images-1.medium.com/max/1024/0*Qcb6ao_Po_c-KDAs" /><figcaption>Photo by <a href="https://unsplash.com/@tunde_abati?utm_source=medium&amp;utm_medium=referral">Tunde Abati</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Use Terraform to Manage Infrastructure</h3><p>One of the primary benefits of Terraform is that it allows you to manage your infrastructure as code. This means that you can easily version and manage your infrastructure changes, automate infrastructure provisioning, and reuse code across different environments.</p><p>To save money on our AWS bill, I used Terraform to spin up instances only when needed and to scale down or terminate instances when they were no longer necessary. This approach allowed us to only pay for what we were using and avoid unnecessary expenses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6JSz6YjKNCam7EdW" /><figcaption>Photo by <a href="https://unsplash.com/@growtika?utm_source=medium&amp;utm_medium=referral">Growtika</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Optimize Kubernetes Workloads</h3><p>Kubernetes is an excellent tool for managing containerized workloads, but it can also be expensive if not used correctly. To save money on our AWS bill, I optimized our Kubernetes workloads by implementing resource limits and requests. This approach allowed us to avoid overprovisioning resources and ensure that our workloads were only using the resources they needed.</p><p>I also used Kubernetes to manage our deployments, making it easy to scale up or down our services based on demand. By automating this process, we were able to avoid manual intervention and save time and money.</p><figure><img alt="Automating everything (a robot playing a keyboard)" src="https://cdn-images-1.medium.com/max/1024/0*y_LfsHwTyVeDI5Ud" /><figcaption>Photo by <a href="https://unsplash.com/@possessedphotography?utm_source=medium&amp;utm_medium=referral">Possessed Photography</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Automate Everything</h3><p>Automation is key to saving money on your AWS bill. By automating as many processes as possible, you can reduce human error, save time, and optimize costs.</p><p>For example, I automated our backup and recovery process using AWS S3 and Lambda. This approach allowed us to back up our data regularly and automatically recover it in the event of a failure. By automating this process, we were able to avoid manual backups, reduce human error, and save money on storage costs.</p><h3>Conclusion</h3><p>By using Terraform, Kubernetes, and automation, I was able to significantly reduce our AWS bill and even save enough money to buy a Tesla Model X. The key is to identify areas where you can optimize and automate your workloads to save costs and improve efficiency. With the right tools and approach, you can achieve significant savings and make a tangible impact on your company’s bottom line.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27b8685cc862" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[96GB/12TB HA k8s cluster under £90/mo]]></title>
            <link>https://medium.com/@davidjamesstockton/96gb-12tb-ha-k8s-cluster-under-90-mo-e7b8f8e6cc66?source=rss-5a0c4f39a912------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7b8f8e6cc66</guid>
            <category><![CDATA[hosting]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cheap]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[David James Stockton]]></dc:creator>
            <pubDate>Mon, 05 Aug 2019 15:13:35 GMT</pubDate>
            <atom:updated>2019-08-05T15:13:35.798Z</atom:updated>
            <content:encoded><![CDATA[<p>This article details my story to create a cheap, reliable &amp; performant k8s cluster using Hetzner, Rancher, Rook, Prometheus, Grafana &amp; Cloudflare Argo tunnel.</p><p>If you’re reading this, I’m going to assume you know what Kubernetes is. You’ve probably run a cluster on your local machine, perhaps even on some cloud servers or are an engineer for a company using k8s. Like me, you probably have some personal or small projects that you want to host. This is my story of creating a high availability k8s cluster split over 3 redundant data centers — each node has 32GB RAM, 2x2TB drives, Xeon CPU and an unlimited 1Gbps internet connection with a single IP from a reputable European provider.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*488rl7CJdNvv-krzIgJPLg.jpeg" /><figcaption>A reliable, performant HA k8s cluster for less than a latte a day</figcaption></figure><p>My process is intended to get the most <strong>reliable and performant k8s cluster for less than £100/month</strong>. For the kind of platform I’ve got, you’d be looking to <em>pay 2–3x more on AWS EC2</em> using r5a.xlarge with reserved instances discounts.</p><p><strong>Let’s get me some servers…</strong></p><p>There are lots of budget hosting providers out there with a myriad of options. If you’re an old-time geek like me you’ll probably have dipped into co-location, dedicated servers, cloud hosting and everything between. Over the last 20 years (oh god I’m that old!), Hetzner has frequently shown up in my searches but I’ve never ended up taking their offerings — typically because they were offering a little higher quality (and therefore price) than the real low budget stuff I’d been looking for. Not this time!</p><p>So, I headed to their server bidding and watched over it for a few days; I knew I wanted at least 16GB RAM, 2TB storage (using a minimum of 2 drives) and whatever budget was left to spend on server quality CPUs. I was realistic and expected the CPUs to be budget Xeons, drives would need to be software RAID and spinning platters at this budget.</p><p>I also ideally wanted servers in 3 different DCs, but initially thought I’d compromise by using 2 DCs.</p><p>Hetzner Server Bidding — <a href="https://www.hetzner.com/sb">https://www.hetzner.com/sb</a></p><p>Once I’d been watching for a couple of days, I realized I was going to be able to get a lot more bang for my buck so tweaked my filters to look for a bit more…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWe4s1y1D830WLOBt8BEsg.png" /><figcaption>Hetzner server bidding filters — note the free-text filter.</figcaption></figure><p><em>Tip: Note the ‘Ent. HDD’ text filter — I was willing to compromise to HDDs to get the storage I needed in my budget; but only if they were Enterprise quality drives.</em></p><p>You’ll get a table of results ordered by ascending price, if like me you’re after different data centers, you can hover over the DC country flag to see the actual DC where the server will be provisioned…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*_YJ2Dr03UREmbwgTd3HKpw.png" /><figcaption><em>Tip: Country flag hover-over shows the DC location.</em></figcaption></figure><p>After poking around a bit and watching over a few days, I settled on 3 servers with the same specifications — identical specs weren’t critical for my use-case but I figured it’d helpful…</p><ul><li>Intel Xeon Processor E3–1246 v3 (8M Cache, 3.50 GHz) — <a href="https://ark.intel.com/content/www/us/en/ark/products/80916/intel-xeon-processor-e3-1246-v3-8m-cache-3-50-ghz.html">https://ark.intel.com/content/www/us/en/ark/products/80916/intel-xeon-processor-e3-1246-v3-8m-cache-3-50-ghz.html</a> / <a href="https://www.cpubenchmark.net/cpu_lookup.php?cpu=Intel+Xeon+E3-1246+v3+%40+3.50GHz&amp;id=2279">https://www.cpubenchmark.net/cpu_lookup.php?cpu=Intel+Xeon+E3-1246+v3+%40+3.50GHz&amp;id=2279</a></li><li>2x 2TB (WD Re™ drives) — <a href="http://products.wdc.com/library/SpecSheet/ENG/2879-771444.pdf">http://products.wdc.com/library/SpecSheet/ENG/2879-771444.pdf</a> / <a href="https://hdd.userbenchmark.com/SpeedTest/1402/WDC-WD2000FYYZ-5">https://hdd.userbenchmark.com/SpeedTest/1402/WDC-WD2000FYYZ-5</a></li><li>4x 8192MB RAM</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*IhxJr7dTH1I2vthhVR_LRg.png" /><figcaption>dmidecode can be used to show memory details</figcaption></figure><p>After watching &amp; waiting a couple of days, I picked two of these up for €22.69 and another €21.85 + 20% VAT. For those counting, that’s €80.67 (or about £75 when it hits my GBP bank account) including VAT for 3 servers!</p><p><strong>Slap an OS on it already…</strong></p><p>As you’d expect from a company with over 20 years’ experience in this market, the process was pretty slick — Hetzner publishes lots of their automation scripts online (<a href="https://github.com/hetzneronline/installimage">https://github.com/hetzneronline/installimage</a>) but I’ve not needed to poke around there. I wanted to use the latest Ubuntu LTS release which was <strong>Ubuntu 18.04.2 LTS (Bionic Beaver)</strong> at the time of writing. This is supported by the Hetzner InstallImage system, along with the <em>software RAID</em> requirements I had. Initially, I started by crafting an answers file to automate the installation. However, after playing around re-installing the OS a couple of times the process was so simple I ended up not bothering and just inputting the couple of minor tweaks I wanted manually — <a href="https://wiki.hetzner.de/index.php/Installimage/en#SWRAID">https://wiki.hetzner.de/index.php/Installimage/en#SWRAID</a></p><p>Once you’ve gone through the manual process, you can always keep a copy of the config file it generates and re-use that anyway…</p><pre># cat /installimage.conf<br>DRIVE1 /dev/sda<br>DRIVE2 /dev/sdb<br>SWRAID 1<br>SWRAIDLEVEL 1<br>BOOTLOADER grub<br>HOSTNAME host1<br>PART /boot ext3 512M<br>PART / ext4 50G<br>PART /data xfs all<br>IMAGE /root/.oldroot/nfs/install/../images/Ubuntu-1804-bionic-64-minimal.tar.gz</pre><p><em>A side-note on vSwitches — </em><a href="https://wiki.hetzner.de/index.php/Vswitch/en">https://wiki.hetzner.de/index.php/Vswitch/en</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*2M1we5TVrvQc5fMVkThYmA.jpeg" /></figure><p>Initially, I thought it was cool that Hetzner offers free vSwitch functionality — this is essentially a configurable private VLAN between your servers. The first few play-around installs I did I set up the vSwitch. I later dropped that choice as my performance tests showed it was about 20x slower than direct communication over the public IP address (firewalled, of course). I don’t understand why that was, but it wasn’t hugely important to me so I just lost interest — I was doing this to get a reliable platform (and cool playground!) on the cheap; not to spend the short supply of ‘free time’ I have doing network performance tests.</p><p><strong>Firewall</strong></p><p>I mentioned earlier about the firewall. Hetzner provides a web portal where you can configure firewall rules for your servers. I used a firewall template as all my servers are cattle, not pets. I don’t wear a tinfoil hat but for obvious reasons, I won’t give full details of the firewall rules I’ve set up. Essentially they allow all communication between the 3 servers and my home IP, SSH and established TCP connections. If you have inbound traffic (e.g. using k8s NodePort services) then you should also open those ports here. I’m using Cloudflare Argo tunnel for serving web traffic so only have outbound traffic… that I’m sharing :-)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u-HNqUy6CgPe5hQ19idbjA.png" /></figure><p><strong>Barebones software setup…</strong></p><pre># Get yer paws off my server...<br>apt-get update -y<br>apt-get install -y fail2ban</pre><pre># No need to power-save here (historically there&#39;s been issues with this and k8s clusters)<br># To set the scaling_governor to &quot;performance&quot; mode for each CPU<br>find /sys/devices/system/cpu/ -maxdepth 1 -type d -name &#39;cpu[0-9]*&#39; -exec bash -c &#39;echo performance &gt; {}/cpufreq/scaling_governor&#39; \;</pre><p><strong>Installing Kubernetes…</strong></p><p>If you’ve read or done anything with k8s, you’ll probably agree the most difficult thing about it is installing it. Originally, following my holier than thou everything should be infrastructure as code pattern, I used RKE and a YAML configuration file. Whilst that was great, for kicks I went back and did the same actions using Rancher and its web UI. TL;DR; I binned off RKE+YAML in favor of Rancher+Browser. I picked a server (the one with the lowest PING time) and fired up Rancher…</p><ul><li>Follow one of the many great articles to first install Docker</li><li><a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04">https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04</a></li><li>Then run the Rancher docker container…</li></ul><pre>docker run -d --restart=unless-stopped -p 9080:80 -p 9443:443 rancher/rancher</pre><p>I used port 9080 &amp; 9443 as I didn’t know if I’d later want to use port 80 &amp; 443 available for serving web traffic.</p><ul><li>Point your browser at <a href="https://hetzner.server.ip:9443/">https://hetzner.server.ip:9443/</a> and follow the on-screen instructions to configure a password &amp; the Rancher URL.</li><li>Click ‘Add Cluster’ and then ‘From existing nodes’</li><li>Give your cluster a name then you’ll probably want to tweak the ‘Advanced Options’</li><li>I didn’t want to use the Nginx ingress controller and wanted the option to use low ports (e.g. 21/80/443) for NodePort k8s Services later on…</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GEzio08sECXutMkn_OJ8-Q.png" /><figcaption>Rancher — Advanced cluster setup options</figcaption></figure><p>This does… absolutely nothing — Rancher doesn’t know anything about your other nodes yet. You get a simple command to run on each of the nodes (this will be all 3 nodes, not just the remaining 2 you haven’t touched yet).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nG5WczqLFFvDlKuqX_9b9A.png" /><figcaption>Make sure you check the ‘etcd’ and ‘Control Plane’ options. All 3 nodes will perform all 3 functions in this cluster.</figcaption></figure><p>After a short time, you should have a k8s cluster running — you can get the kubectl credentials right out of the Rancher web UI.</p><p>Whilst you’re in the Rancher web UI beholding your glory, you may as well go ahead and click the ‘Enable Monitoring’ button. You’ll get some ‘free’ metrics for your cluster and some nice Grafana dashboards setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eZQ1xeV2QUR43V3WxhA9Dg.png" /><figcaption>It’s free so it must be good…</figcaption></figure><p><strong>Err… what about storage?</strong></p><p>So as part of the OS install, we’ve already chosen to Software RAID 1 our HDDs. Next, we want to aggregate that storage across the 3 servers. To do that, we’re going to use rook — <a href="https://rook.io/">https://rook.io/</a></p><p>Rook is a k8s native way to install &amp; manage Ceph clusters. In this initial case, I only need to use a Ceph file system — you can think of this a bit like AWS EKS — though it’s not using NFS.</p><p><strong>We’re going to use Helm to install Rook and also later some other components. Let’s get Helm ready…</strong></p><pre># Create a ServiceAccount for Tiller in the `kube-system` namespace<br>kubectl --namespace kube-system create sa tiller</pre><pre># Create a ClusterRoleBinding for Tiller<br>kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller</pre><pre># Patch Tiller&#39;s Deployment to use the new ServiceAccount<br>kubectl --namespace kube-system patch deploy/tiller-deploy -p &#39;{&quot;spec&quot;: {&quot;template&quot;: {&quot;spec&quot;: {&quot;serviceAccountName&quot;: &quot;tiller&quot;}}}}&#39;</pre><pre># Wait for tiller Running<br>helm init<br>kubectl --namespace kube-system patch deploy/tiller-deploy -p &#39;{&quot;spec&quot;: {&quot;template&quot;: {&quot;spec&quot;: {&quot;serviceAccountName&quot;: &quot;tiller&quot;}}}}&#39;</pre><pre># Setup rook helm repo<br>helm repo add rook-release <a href="https://charts.rook.io/release">https://charts.rook.io/release</a></pre><pre># Install rook...<br>helm install --namespace rook-ceph --name rook-ceph rook-release/rook-ceph --set &#39;agent.flexVolumeDirPath=/var/lib/kubelet/volumeplugins&#39;</pre><p><strong>Let’s get the Ceph cluster going…</strong></p><p>The first step is to get a ‘CephCluster’ going — give it a good 10minutes after running this to make sure everything is cool…</p><pre>cat &lt;&lt;EOF | kubectl apply -f -<br>apiVersion: ceph.rook.io/v1<br>kind: CephCluster<br>metadata:<br>  name: rook-ceph<br>  namespace: rook-ceph<br>spec:<br>  cephVersion:<br>    # For the latest ceph images, see <a href="https://hub.docker.com/r/ceph/ceph/tags">https://hub.docker.com/r/ceph/ceph/tags</a><br>    image: ceph/ceph:v14.2.1-20190430<br>  dataDirHostPath: /data/rook<br>  mon:<br>    count: 3<br>  dashboard:<br>    enabled: true<br>  storage:<br>    useAllNodes: true<br>    useAllDevices: false<br>    directories:<br>    - path: /data/rook<br>EOF</pre><p><em>Disclaimer: You shouldn’t use directories in a production environment. Having said that, I’ve been doing exactly that (successfully!) with a variety of use-cases including some SQL DBs for the last 10months and had no issues.</em></p><p>Next, we’re going to set up a ‘CephFilesystem’ (<em>NB it’s only one per k8s cluster at the moment!)</em></p><pre>cat &lt;&lt;EOF | kubectl apply -f -<br>apiVersion: ceph.rook.io/v1<br>kind: CephFilesystem<br>metadata:<br>  name: myfs<br>  namespace: rook-ceph<br>spec:<br>  metadataPool:<br>    replicated:<br>      size: 3<br>  dataPools:<br>    - replicated:<br>        size: 3<br>  metadataServer:<br>    activeCount: 1<br>    activeStandby: true<br>EOF</pre><p>As with before, go grab a coffee after you run this to let it settle down. Whilst we’re at it, we’re going to expose the Rook dashboard so we can poke around…</p><pre># Expose the dashboard on port 10443<br>cat &lt;&lt;EOF | kubectl apply -f -<br>apiVersion: v1<br>kind: Service<br>metadata:<br>  labels:<br>    app: rook-ceph-mgr<br>    rook_cluster: rook-ceph<br>  name: rook-ceph-mgr-dashboard-external<br>  namespace: rook-ceph<br>spec:<br>  ports:<br>  - name: https-dashboard<br>    nodePort: 10443<br>    port: 8443<br>    protocol: TCP<br>    targetPort: 8443<br>  selector:<br>    app: rook-ceph-mgr<br>    rook_cluster: rook-ceph<br>  sessionAffinity: None<br>  type: NodePort<br>EOF</pre><pre># Get the randomly generated password<br>kubectl -n rook-ceph get secret rook-ceph-dashboard-password -o jsonpath=&quot;{[&#39;data&#39;][&#39;password&#39;]}&quot; | base64 --decode &amp;&amp; echo</pre><p>This will put the dashboard at <em>https://&lt;any.of.your.server.ips&gt;:10443/</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NceBK7QFH5-wgLeywdFdUg.png" /><figcaption>Here’s one I made earlier. Spot the node I use to dump test files on?</figcaption></figure><p>Now you have a clustered file-system you can mount in your pods. For example, if you have static assets stored there then all your HTTP server pods could access them.</p><p>To give you an idea of how to mount the file-system in a pod, it looks like the below example. As you’re currently restricted to a single CephFilesystem per k8s cluster, I’d recommend always using a sub-path even if you think you’ll only ever share one massive filesystem…</p><pre># If you want to poke around the CephFilesystem...<br>cat &lt;&lt;EOF | kubectl apply -f -<br>apiVersion: v1<br>kind: Pod<br>metadata:<br>  name: data-axs<br>  namespace: default<br>spec:<br>  containers:<br>  - image: alpine<br>    command: [ &quot;/bin/sh&quot;, &quot;-c&quot;, &quot;--&quot; ]<br>    args: [ &quot;while true; do sleep 30; done;&quot; ]<br>    name: data-axs<br>    volumeMounts:<br>    - mountPath: /ceph<br>      name: ceph<br>  volumes:<br>  - flexVolume:<br>      driver: ceph.rook.io/rook<br>      fsType: ceph<br>      options:<br>        clusterNamespace: rook-ceph<br>        fsName: myfs<br>        path: /my-use-case-sub-path<br>    name: ceph<br>EOF</pre><p>I have a (small) client who insists on using MS SQL server. This is hosted on the platform using MS SQL Linux edition via docker and the MDF/LDF files are hosted on the CephFilesystem with backups on a separate mount (and also pushed locally to a mount on the host node file-system just for paranoia’s sake!).</p><p><strong>Get me some traffic…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*A4_IQAJkoiFy2-YeBLFKWw.png" /></figure><p>In my case, the most important data is web traffic. I serve this using Cloudflare’s Argo tunnel. I’ve used this in a variety of earlier versions but the below details are based on an update I did in June 2019…</p><pre># Get the cloudflared binary<br># Latest download URLs are available here: <a href="https://developers.cloudflare.com/argo-tunnel/downloads/">https://developers.cloudflare.com/argo-tunnel/downloads/</a><br>TEMP_DEB=&quot;$(mktemp)&quot; &amp;&amp; \<br>wget -O &quot;$TEMP_DEB&quot; &#39;<a href="https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.deb&#39;">https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.deb&#39;</a> &amp;&amp; \<br>sudo dpkg -i &quot;$TEMP_DEB&quot;<br>rm -f &quot;$TEMP_DEB&quot;</pre><pre># Login on the server<br>cloudflared login</pre><pre># Add the Helm repo for Cloudflare<br>helm repo add cloudflare <a href="https://cloudflare.github.io/helm-charts">https://cloudflare.github.io/helm-charts</a><br>helm repo update</pre><pre># Install argo-tunnel<br>helm install --name anydomain --namespace default \<br>    --set rbac.create=true \<br>    --set controller.ingressClass=argo-tunnel \<br>    --set controller.logLevel=6 \<br>    cloudflare/argo-tunnel</pre><pre># Setup a secret for the domain<br>kubectl create secret generic mydomain.com --from-file=&quot;$HOME/.cloudflared/cert.pem&quot;</pre><pre># Add Ingress rule...<br>cat &lt;&lt;EOF | kubectl apply -f -<br>apiVersion: extensions/v1beta1<br>kind: Ingress<br>metadata:<br>  annotations:<br>    kubernetes.io/ingress.class: argo-tunnel<br>  labels:<br>    ingress: argo-tunnel<br>  name: echo<br>spec:<br>  tls:<br>  - hosts:<br>    - <a href="http://www.mydomain.com/">www.mydomain.com</a><br>    secretName: mydomain.com<br>  rules:<br>  - host: <a href="http://www.mydomain.com/">www.mydomain.com</a><br>    http:<br>      paths:<br>      - backend:<br>          serviceName: webserver<br>          servicePort: web<br>EOF</pre><p>The above setup lets you use standard k8s Ingress rules to control the flow of web traffic into your web server k8s service via Cloudflare Argo tunnel.</p><p>There’s a small fee to pay of around $10/month for the service but it enhances the reliability &amp; performance keeping the platform truly HA.</p><p>With this setup, I successfully run several secure, low-latency business websites &amp; SaaS systems. Additionally, the cluster hosts Alexa skill backends, home automation utilities, and several personal development projects — with plenty of capacity for many more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r22wjzFjfcKXvC_Ey_xLeQ.jpeg" /><figcaption>You’re done!</figcaption></figure><p>Well, you’re done and hopefully, at this point have an awesome platform and are reaping the rewards. Below are just a few extra bits you might find helpful.</p><p><strong>Some things you might find useful…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6VeUj2bPh0anYIlM" /><figcaption>Me so nice</figcaption></figure><p>Just a few commands you might find useful if you’ve followed along.</p><pre># Check RAID status<br>cat /proc/mdstat</pre><pre># Query scaling_governor<br>cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor</pre><pre># View and compare current frequency to the min and max scaling<br>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq<br>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq<br>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq</pre><pre># Startup a rook toolbox pod - to help you if you&#39;ve got Ceph issues<br>cat &lt;&lt;EOF | kubectl apply -f -<br>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  name: rook-ceph-tools<br>  namespace: rook-ceph<br>  labels:<br>    app: rook-ceph-tools<br>spec:<br>  replicas: 1<br>  selector:<br>    matchLabels:<br>      app: rook-ceph-tools<br>  template:<br>    metadata:<br>      labels:<br>        app: rook-ceph-tools<br>    spec:<br>      dnsPolicy: ClusterFirstWithHostNet<br>      containers:<br>      - name: rook-ceph-tools<br>        image: rook/ceph:v1.0.2<br>        command: [&quot;/tini&quot;]<br>        args: [&quot;-g&quot;, &quot;--&quot;, &quot;/usr/local/bin/toolbox.sh&quot;]<br>        imagePullPolicy: IfNotPresent<br>        env:<br>          - name: ROOK_ADMIN_SECRET<br>            valueFrom:<br>              secretKeyRef:<br>                name: rook-ceph-mon<br>                key: admin-secret<br>        securityContext:<br>          privileged: true<br>        volumeMounts:<br>          - mountPath: /dev<br>            name: dev<br>          - mountPath: /sys/bus<br>            name: sysbus<br>          - mountPath: /lib/modules<br>            name: libmodules<br>          - name: mon-endpoint-volume<br>            mountPath: /etc/rook<br>      # if hostNetwork: false, the &quot;rbd map&quot; command hangs, see <a href="https://github.com/rook/rook/issues/2021">https://github.com/rook/rook/issues/2021</a><br>      hostNetwork: true<br>      volumes:<br>        - name: dev<br>          hostPath:<br>            path: /dev<br>        - name: sysbus<br>          hostPath:<br>            path: /sys/bus<br>        - name: libmodules<br>          hostPath:<br>            path: /lib/modules<br>        - name: mon-endpoint-volume<br>          configMap:<br>            name: rook-ceph-mon-endpoints<br>            items:<br>            - key: data<br>              path: mon-endpoints<br>EOF</pre><p><strong>Oh crap! Start again…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JWhJ5ySe9Hw1sJ3J" /><figcaption>Don’t run these unless you’re expecting to wipe all your entire k8s platform!</figcaption></figure><p>These commands will pretty much get the machine back to its post-OS install status so you can begin the Kubernetes install process fresh (i.e. you haven’t damaged the OS, but want a fresh run at k8s).</p><pre># Clean-up the node...<br>docker rm -f $(docker ps -qa)<br>docker rmi -f $(docker images -q)<br>docker volume rm $(docker volume ls -q)</pre><pre>for mount in $(mount | grep tmpfs | grep &#39;/var/lib/kubelet&#39; | awk &#39;{ print $3 }&#39;) /var/lib/kubelet /var/lib/rancher; do umount $mount; done</pre><pre>rm -rf /etc/ceph \<br>       /etc/cni \<br>       /etc/kubernetes \<br>       /opt/cni \<br>       /opt/rke \<br>       /run/secrets/kubernetes.io \<br>       /run/calico \<br>       /run/flannel \<br>       /var/lib/calico \<br>       /var/lib/etcd \<br>       /var/lib/cni \<br>       /var/lib/kubelet \<br>       /var/lib/rancher/rke/log \<br>       /var/log/containers \<br>       /var/log/pods \<br>       /var/run/calico \<br>       /var/lib/rook \<br>       /data/rook \<br>       /usr/libexec/kubernetes/kubelet-plugins/volume/exec/* \<br>       /var/lib/kubelet/volumeplugins/*</pre><pre>ip link delete flannel.1</pre><pre>iptables -P INPUT ACCEPT<br>iptables -P FORWARD ACCEPT<br>iptables -P OUTPUT ACCEPT<br>iptables -t nat -F<br>iptables -t mangle -F<br>iptables -F<br>iptables -X</pre><pre>service docker restart</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7b8f8e6cc66" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>