knative / knative/serving

Fali to create/update placeholder service when k8s open IPv4/IPv6 dual-stack feature

Open
#9,045 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area/API area/networking kind/bug lifecycle/frozen triage/accepted
Dominant language
Go
Stars
6.1k
Forks
1.2k
Avg merge
2d 7h
Merged PRs (30d)
2

Description

/area API

What version of Knative?

0.15.0

Expected Behavior

serving controller can create/update placeholder service without errors

Actual Behavior

If k8s open IPv4/IPv6 dual-stack feature. Knative will return error: "Service is invalid: spec.ipFamily: Required value"
We should a default ipFamily to prevent the error.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the placeholder service creation or update on Kubernetes with IPv4/IPv6 dual-stack enabled, using Knative Serving 0.15.0, and trace the serving controller path that produces the spec.ipFamily validation error. Done means the controller creates or updates the placeholder service without that error by supplying a default ipFamily.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.