-
Notifications
You must be signed in to change notification settings - Fork 209
feat: a new pod naming rule for instanceset #9292
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
Open
cjc7373
wants to merge
26
commits into
main
Choose a base branch
from
feature/new-pod-naming-rule
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
781814c
wip
cjc7373 9e0f0c4
fix some tests
cjc7373 082d494
cleanup
cjc7373 ed16b25
fix more tests
cjc7373 0ecdae1
fix
cjc7373 d3b85f7
fix more tests
cjc7373 d00c241
loose ordinal constriant
cjc7373 74fac46
rebase main, resolve conflicts
cjc7373 41c2834
use map for InstanceStatus
cjc7373 71d2fae
use instanceStatus
cjc7373 3738055
set InstanceStatus for name builder
cjc7373 0a9a59b
passthrough podNamingRule from cluster cr
cjc7373 66a5c48
add a test
cjc7373 d6eaf8e
make linter happy
cjc7373 539518a
allow allow ordinal list not equal to replicas
cjc7373 8675be1
review comment
cjc7373 0dff006
make linter happy
cjc7373 01a70dd
review comments
cjc7373 413188c
wip
cjc7373 8331cf0
new implementation for GenerateTemplateName2OrdinalMap
cjc7373 48e243e
fix
cjc7373 33ef8b6
fix panic
cjc7373 28dcba7
delete currentOrdinalSet in availableOrdinalSet
cjc7373 d6c7600
don't delete ordinals in globalUsedOrdinalSet
cjc7373 b07dc22
fix test
cjc7373 02bead5
Merge remote-tracking branch 'origin/main' into feature/new-pod-namin…
cjc7373 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this field defined outside the instance template?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then how does a user test the new naming rule? Use a feature gate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The question is why not defined it within the instance template?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The naming rule applies to the whole instanceset, not just one instance template.