Uploaded image for project: 'OpenShift Hosted Control Plane'
  1. OpenShift Hosted Control Plane
  2. HOSTEDCP-2222

Implement automated machine approval for karpenter instances

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Implement automated machine approval for karpenter instances
    • Product / Portfolio Work
    • OCPSTRAT-943[Dev Preview] AutoNode (Native Karpenter) with HCP
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • None
    • None
    • None
    • 0

      Goal

      • Instances created by karpenter can automatically become Nodes

      Why is this important?

      • Reduce operational burden.

      Scenarios

      For CAPI/MAPI driven machine management the cluster-machine-approver uses the machine.status.ips to match the CSRs. In karpenter there's no Machine resources

      We'll need to implement something similar. Some ideas:

      • Explore using the nodeClaim resource info like status.providerID to match the CSRs
      • Store the requesting IP when the ec2 instances query ignition and follow similar comparison criteria than machine approver to match CSRs
      • Query AWS to get info and compare info to match CSRs
      1. ...

      Acceptance Criteria

      • Dev - Has a valid enhancement if necessary
      • CI - MUST be running successfully with tests automated
      • QE - covered in Polarion test plan and tests implemented
      • Release Technical Enablement - Must have TE slides
      • ...

      Dependencies (internal and external)

      1. ...

      Previous Work (Optional):

      Open questions:

      Done Checklist

      • CI - CI is running, tests are automated and merged.
      • Release Technical Enablement <link to Feature Enablement Presentation>
      • DEV - Upstream documentation merged: <link to meaningful PR or GitHub Issue>
      • DEV - Enhancement merged: <link to meaningful PR or GitHub Issue>
      • QE - Test plans in Polarion: <link or reference to Polarion>
      • QE - Automated tests merged: <link or reference to automated tests>
      • DOC - Downstream documentation merged: <link to meaningful PR>

              rh-ee-mraee Mulham Raee
              agarcial@redhat.com Alberto Garcia Lamela
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: