Skip to content

[release-1.23] cluster: migrate registry from host container to in-cluster deployment - #3984

Open
gauron99 wants to merge 2 commits into
knative:mainfrom
gauron99:push-xmoqtsqltnnl
Open

[release-1.23] cluster: migrate registry from host container to in-cluster deployment #3984
gauron99 wants to merge 2 commits into
knative:mainfrom
gauron99:push-xmoqtsqltnnl

Conversation

@gauron99

Copy link
Copy Markdown
Contributor

No description provided.

Migrates func cluster create to an in-cluster registry (Deployment +
Service + Contour Ingress + local-registry-hosting), matching hack/cluster.sh
(knative#3718). Host trust uses registry.localtest.me; containerd mirrors hostPort
:5000.

Also:
- Typed k8s objects for registry manifests (sigs.k8s.io/yaml)
- Wait for registry HTTP readiness on 127.0.0.1:5000/v2/
- Delete help + empty-list cleanup (fold #63 CLI path; no host-container teardown)
- Promote sigs.k8s.io/yaml to a direct require

Rebased onto current main (resolves merge conflict).

Functions#43 / knative#3856
C1: restore main's dependency floor (knative#3978); only intentional go.mod delta
is promoting sigs.k8s.io/yaml to a direct require (typed registry manifests).

S1: remove waitForRegistryHTTP on 127.0.0.1:5000 — Kind does not map host
port 5000 (hostPort is node-local for containerd). Rely on kubectl wait
--for=condition=Available like hack/cluster.sh.

Functions#43 / knative#3856
@knative-prow

knative-prow Bot commented Jul 31, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gauron99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow Bot added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label Jul 31, 2026
@knative-prow
knative-prow Bot requested review from dsimansk and jrangelramos July 31, 2026 14:33
@knative-prow knative-prow Bot added the size/L 🤖 PR changes 100-499 lines, ignoring generated files. label Jul 31, 2026
@gauron99 gauron99 changed the title [release-1.23] Backport func cluster feature [release-1.23] cluster: migrate registry from host container to in-cluster deployment Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. size/L 🤖 PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants