Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename UserContainer to ServingContainer #15007

Open
4 tasks
ReToCode opened this issue Mar 13, 2024 · 7 comments
Open
4 tasks

Rename UserContainer to ServingContainer #15007

ReToCode opened this issue Mar 13, 2024 · 7 comments
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/refactoring
Milestone

Comments

@ReToCode
Copy link
Member

Description

We currently name the "main" container of a KnativeService UserContainer. As all containers, including sidecars, are provided by the user this name is not ideal. We should check if it is feasible to rename it to ServingContainer without breaking our API.

Todo

  • Check if UserContainer can be renamed without breaking the API
  • If possible, rename all occurrences in pkg
  • If possible, rename all occurrences in serving
  • If possible, rename all occurrences in docs
@ReToCode ReToCode added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/refactoring labels Mar 13, 2024
@skonto
Copy link
Contributor

skonto commented Mar 13, 2024

ServingContainer sounds like that the container belongs to Serving somehow though.
I would prefer something like "AppContainer", "MainContainer", "PrimaryContainer" wdyth?

@ReToCode
Copy link
Member Author

Hm it is the container that serves the traffic, so I'm also throwing TrafficContainer in here :) Opinions?

@dprotaso @rhuss

@rhuss
Copy link
Contributor

rhuss commented Mar 13, 2024

+1 one for what @skonto says; the name should reflect its key characteristics. TrafficContainer depicts it, but without context, it sounds weird and confusing, IMO. I like MainContainer because that's what it is, the MainContainer, all others are sidecar containers. Another option, which kind of is in-between, could be TargetContainer, but I think MainContainer is clear and simple and is an established 'concept'.

@prashantrewar
Copy link

Hey @ReToCode, @rhuss, and @skonto, I want to work on this issue.

@dprotaso dprotaso added this to the Icebox milestone Apr 1, 2024
@NightFury742
Copy link

/assign

@asr2003
Copy link

asr2003 commented May 28, 2024

/assign

@dprotaso
Copy link
Member

/unassign @asr2003

the issue is already assigned to @NightFury742

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/refactoring
Projects
None yet
Development

No branches or pull requests

7 participants