Planned - Nephio: Porch PackageRevision as a CRD

Planned - Nephio: Porch PackageRevision as a CRD

Short Description

60m: @Liam Fallon

Change the Porch PackageRevision resource to be a Kubernetes CRD

Topic Overview

Today, Porch directly manages PackageRevision resources using the Kubernetes API server. This means that porch mus implement (or re-implement) much resource handling that is supported in Kubernetes for CRDs. The main reason for Porch not implementing a PackageRevision as a CRD is because the package contents of a PackageRevision (its PackageRevisionResources) can be very large, too large to post as a CR. This issue describes the problem well: https://github.com/nephio-project/nephio/issues/598

Using the kubernetes API server has issues which are causing significant problems in Porch such as the hard-coded timeout on API operations of 34 seconds. This has resulted in Porch cloning the kubernetes API server code into Porch in this PR: https://github.com/nephio-project/porch/pull/300

This session will examine Porch and see what effort is required and what steps are needed to change Porch to use a CRD.

This session is related to Planned - Nephio: Asynchronous operations in porch , in that moving the PacakgeRevision resource to a CRD will mitigate problems with asynchronous operations.

Session Type



Interactive technical presentation and/or capability demo



Pre-Recorded technical presentation and/or capability demo



Live / hands-on technical training



Community process, governance or collaboration development


x

Real-time troubleshooting, bug-scrub or similar



Other (please describe)

Slides & Recording

YouTube

Following the event session recordings may be uploaded to our YouTube Channel at the full discretion of LFN staff.

Notes From Session (as appropriate)

Action Items (as appropriate)