<?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 Avi Amsalem on Medium]]></title>
        <description><![CDATA[Stories by Avi Amsalem on Medium]]></description>
        <link>https://medium.com/@avi.amsalem?source=rss-7f771e6cf420------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dk6438KJoHd0_i9vttS1Ig@2x.jpeg</url>
            <title>Stories by Avi Amsalem on Medium</title>
            <link>https://medium.com/@avi.amsalem?source=rss-7f771e6cf420------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 20:06:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@avi.amsalem/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[AI-Native DevOps: How to Use AI Without Losing Control of Production]]></title>
            <link>https://medium.com/@avi.amsalem/ai-native-devops-how-to-use-ai-without-losing-control-of-production-ff9d7051a0c7?source=rss-7f771e6cf420------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff9d7051a0c7</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[site-reliability-engineer]]></category>
            <dc:creator><![CDATA[Avi Amsalem]]></dc:creator>
            <pubDate>Wed, 14 Oct 2026 20:38:06 GMT</pubDate>
            <atom:updated>2026-10-14T21:29:29.840Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>A practical guide to Kubernetes, IaC, incident response, security, and measurable AI adoption</strong></p><p>By Avi Amsalem · October 2026</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*quY1FcaTBZDeshy-OFYSdA@2x.jpeg" /></figure><p><strong>intro</strong></p><p>The fastest way to introduce AI into DevOps is to give an assistant access to a repository and ask it to fix things. The fastest way to regret that decision is to let the same assistant change production without boundaries.</p><p>AI is useful in infrastructure engineering precisely because DevOps work is context-heavy: a failing deployment can involve application code, Kubernetes scheduling, IAM, networking, dependencies, and observability. Models can connect these signals quickly. But plausible explanations are not evidence, and generated infrastructure code is not automatically safe.</p><p>The right mental model is not “an autonomous SRE.” It is a constrained engineering assistant that collects evidence, produces reviewable artifacts, and earns progressively more authority through evaluation.</p><ol><li><strong>Start with a measurable problem, not an agent</strong></li></ol><p>Choose a narrow workflow with a clear baseline: triage a noisy class of alerts, summarize CI failures, review Terraform plans, or draft incident timelines. Measure time to first useful hypothesis, engineer review time, false-positive rate, change failure rate, and MTTR where applicable. Avoid promising a universal percentage improvement; measure against your own environment.</p><p>A good first use case is a read-only deployment failure investigator: given a pipeline ID and service name, it retrieves job logs, the relevant commit, rollout events, and recent alerts, then returns an evidence-linked diagnosis. It does not restart pods or modify manifests.</p><p>2. <strong>Build a context layer, not a bigger prompt</strong></p><p>A model cannot reason reliably about infrastructure it cannot see. Give it narrowly scoped access to source control, deployment manifests, runbooks, Kubernetes events, and time-bounded telemetry. Prefer explicit tools over copying huge log dumps into a prompt.</p><p>A useful context envelope includes environment, cluster, namespace, service, deployment SHA, observation window, change history, and links to source evidence. Filter tenant data and secrets before retrieval. Apply RBAC at the tool layer: the model should never be able to bypass the caller’s permissions.</p><p>Treat retrieved logs, repository comments, and tickets as untrusted input. They may contain prompt-injection instructions. Tool responses are evidence, not instructions to override your policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*_3uYhVZLap7-WbUyL27NgA@2x.jpeg" /></figure><p>3. <strong>Separate reasoning from execution</strong></p><p>The most important architectural boundary is between a model suggesting a change and an authorized system performing it. The assistant can draft a pull request, explain a Terraform plan, or recommend a rollback. Deterministic systems should run tests, evaluate policy, verify approvals, and execute changes.</p><p>For production writes, prefer pull-request workflows with protected branches, CI checks, signed or attributable commits, and GitOps reconciliation. Do not hand the model unrestricted kubectl, cloud administrator credentials, or shell access to production. Where automated remediation is justified, expose narrowly parameterized operations with limits, idempotency, timeouts, and rollback plans.</p><p>4. <strong>Treat AI-generated IaC as untrusted code</strong></p><p>Terraform, Helm, and Kubernetes YAML can look correct while violating security or availability requirements. A generated change should pass format and syntax validation, policy-as-code, static analysis, and a plan or dry run. Review the actual diff and blast radius, not merely the model’s explanation.</p><p>For Terraform, a typical gate includes terraform fmt -check, terraform validate, terraform plan, and policy checks. For Kubernetes, use schema validation, admission policies, resource limits, network policy checks, and environment-specific rollout safeguards. Run these checks with the same discipline as for human-authored changes.</p><pre># Illustrative CI validation gates — adapt to your environment<br>terraform fmt -check -recursive<br>terraform init -backend=false<br>terraform validate<br>terraform plan -out=tfplan<br># Then run your organization&#39;s IaC policy checks and review the plan.</pre><p>5. <strong>Use AI in incident response without inventing a root cause</strong></p><p>Incident copilots are valuable at compressing investigation time: they can correlate a deployment with error-rate changes, summarize logs, construct a timeline, and compare the symptoms to previous incidents. Their output must distinguish observations, hypotheses, and proposed actions.</p><p>Require every causal claim to point to a timestamped signal. “CPU spiked after the rollout” is an observation; “the rollout caused the outage” is a hypothesis until supported. During an active incident, prefer reversible mitigations and an incident commander’s approval over speculative autonomous repairs. Capture what the model suggested, what humans chose, and the actual outcome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*_G8yJSLZIY4gFAWKS045Eg@2x.jpeg" /></figure><p>6. <strong>Design for security and data boundaries</strong></p><p>Production telemetry can expose tokens, customer identifiers, stack traces, internal hostnames, and proprietary code. Before using external models, define which data classes may leave your environment, the provider’s retention and training settings, regional requirements, and approved model endpoints.</p><p>Enforce least-privilege tool credentials, short-lived authentication, secret redaction, egress controls, per-tool authorization, audit logs, and prompt-injection defenses. Sensitive actions should require human approval regardless of how confident the model sounds. Never rely on a prompt such as “do not reveal secrets” as your primary security control.</p><p>7. <strong>Evaluate agents like any other production component</strong></p><p>Build a test suite from real, sanitized incidents and deployment failures. Each case should contain a fixed evidence snapshot, expected diagnosis or acceptable alternatives, prohibited actions, and grading criteria. Score factual grounding, tool-use correctness, security policy compliance, useful recommendations, latency, and cost.</p><p>Start offline, then use shadow mode against live operational events without granting write access. Compare the assistant’s suggestions with human outcomes. Only expand privileges after demonstrating reliability on the specific task, and keep an immediate kill switch. Model upgrades, prompt changes, tool changes, and retrieval changes should all trigger regression evaluation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*47ojL6bzdOteuXeHc7VrWA@2x.jpeg" /></figure><p>8. <strong>Control cost, latency, and reliability</strong></p><p>Do not route every event to the largest model. Use deterministic filters first, aggregate duplicate alerts, cache stable context, and reserve expensive reasoning for ambiguous cases. Apply token budgets, timeouts, concurrency caps, rate limits, circuit breakers, and graceful degradation when model APIs fail.</p><p>Instrument the assistant itself: request volume, tokens, spend per workflow, tool errors, latency percentiles, acceptance rate, and incident impact. If the AI service is unavailable, your deployment and incident-response processes must still work.</p><p>9. <strong>A practical 30-day adoption plan</strong></p><p>Week 1: select one read-only use case, define the baseline, and inventory data permissions. Week 2: implement scoped retrieval tools and structured outputs with evidence references. Week 3: create a golden evaluation set and run the assistant in shadow mode. Week 4: pilot with engineers, review failure modes, and decide whether the workflow deserves deeper integration.</p><p>The goal of the first month is not autonomy. It is a repeatable demonstration that the assistant saves meaningful engineering time without weakening operational controls.</p><p><strong>The engineering principle that matters</strong></p><p>AI should make DevOps engineers faster at understanding systems and safer at changing them. That requires strong context, constrained tools, deterministic gates, measurable evaluations, and an audit trail.</p><p>The best AI-native DevOps platform is not the one that gives a model the most permissions. It is the one that can prove, step by step, why a recommendation is grounded, why a change is safe, and who authorized it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff9d7051a0c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why you should Hire an Open Source Developer in Your Team]]></title>
            <link>https://medium.com/@avi.amsalem/why-you-should-hire-an-open-source-developer-in-your-team-ddead7c08870?source=rss-7f771e6cf420------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddead7c08870</guid>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Avi Amsalem]]></dc:creator>
            <pubDate>Sat, 11 Jun 2022 19:06:50 GMT</pubDate>
            <atom:updated>2022-06-11T19:06:50.042Z</atom:updated>
            <content:encoded><![CDATA[<p>Open Source has become a very internal part of several levels of IT in recent years. Many companies are using open-source software now more than ever. But when it comes to hiring open source developers,</p><p>most of them tend to stay away from the process.</p><p>This might be because most companies don’t really put any value to open source applications. Eventually, no real value is placed on the people who code open-source applications.</p><p>When hiring an open-source developer, there are a few important considerations to take into account. I will cover some of the reasons why hiring open-source coders can actually prove rewarding to your company.</p><ol><li><strong>Availability and Expertise</strong></li></ol><p>Open-source software is always on their toes as they might need to mend the often broken programs. Companies like Microsoft continuously upgrade their programs ( e.g Windows) and so if you have a project built for these programs, you have to continuously update too to keep up with these updates.</p><p>With this comes to experience. You can always count on an open-source developer to code in the latest standards.</p><p><strong>2. Passion…Because, why not?</strong></p><p>Open-source developers are generally passionate about their work. Therefore, hiring them would be hiring a passionate employee who is efficient and has the drive to work and go the extra mile too.</p><p><strong>3. Support from the community</strong></p><p>It is needless to say that having an open-source developer on your team will enable you to enjoy the benefits of the open-source community as well. With a diverse pool of coders behind your project, success is almost guaranteed …</p><p>4. <strong>Open-source developers go beyond resumes</strong></p><p>Developing open-source software means that your work is readily available for free for the world to see. Since the applications the candidates work on are open, you can easily gauge their skill sets and level of proficiency ( Like CodeSpread :-) do it for you ), based on their past work. Forget resumes- they are highly overrated. In programming, all you should care about is whether your interviewee can really write code.</p><p>Again, going open source also means that you are open to getting honest critics of your work.</p><p>A candidate with open source work will almost always be confident with their skills and open to corrections.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddead7c08870" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>