← Back to Pull requests

✨ Add support for AMD SEV-SNP instances #5605

Closed
unknown closed this pull request without merging on Sep 19, 2025 02:08 UTC
View on GitHub
unknown unknown commented on Aug 01, 2025 03:46 UTC
Author

This is another version of https://github.com/kubernetes-sigs/cluster-api-provider-aws/pull/5598
Differences:

  • This pr doesn't validate the instance type for the specific confidential compute technology

  • This pr uses enum type ConfidentialCompute with value AMDEncryptedVirtualizationNestedPaging,Disabled(and TDX in the future) to represent the confidential computing technology.
  • <!-- Thanks for this PR! If this is your first PR please read the [contributing guide](../CONTRIBUTING.md) -->
    <!-- If this PR is still work-in-progress and is being open for visibility please prefix the title with WIP: -->

    What type of PR is this?
    /kind feature
    <!--
    Add one of the following kinds:
    /kind feature
    /kind bug
    /kind api-change
    /kind cleanup
    /kind deprecation
    /kind design
    /kind documentation
    /kind failing-test
    /kind flake
    /kind regression
    /kind support
    -->

    What this PR does / why we need it:

    <!-- This PR adds support for AMD SEV-SNP instances. -->

    Special notes for your reviewer:

    Checklist:
    <!-- Put an "X" character inside the brackets of each completed task. Some may be optional depending on the PR in which case these can be deleted

    Please add an icon to the title of this PR, the icon will be either ⚠️ (:warning:, major or breaking changes), ✨ (:sparkles:, feature additions), 🐛 (:bug:, patch and bugfixes), 📖 (:book:, documentation or proposals), or 🌱 (:seedling:, minor or other)
    -->

  • [X] squashed commits

  • [X] includes documentation

  • [X] includes emoji in title

  • [X] adds unit tests
  • Release note:
    <!-- Write your release note:
    1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
    2. If no release note is required, just write "NONE".
    -->

    Add support for AMD SEV-SNP instances
    

    Diff: 238 lines (+178 / -60) across 2 files Reviewer: fangge1212 Review duration: 70461m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 238 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.328
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #5605"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 37.2% (MEDIUM) · Higher = larger blast radius
    37.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.1% · Safe to merge
    16.1%