Skip to content

Conversation

@ronething
Copy link
Contributor

Type of change:

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches
  • Documentation
  • Refactor
  • Chore
  • CI/CD or Tests

What this PR does / why we need it:

  1. Optimize the ingress documentation and clearly inform the reasons for relying on the 1.26+ cluster version

  2. When ingress starts and detects that the cluster version does not meet the requirements, it prints a warning log to alert the user

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Signed-off-by: Ashing Zheng <axingfly@gmail.com>
Signed-off-by: Ashing Zheng <axingfly@gmail.com>
Signed-off-by: Ashing Zheng <axingfly@gmail.com>
Signed-off-by: Ashing Zheng <axingfly@gmail.com>
Signed-off-by: Ashing Zheng <axingfly@gmail.com>
Signed-off-by: Ashing Zheng <axingfly@gmail.com>
@AlinsRan AlinsRan requested review from juzhiyuan and kayx23 and removed request for juzhiyuan January 6, 2026 08:23
}

func checkK8sVersion(mgr ctrl.Manager, logger logr.Logger) {
const minVersion = "1.26.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can pass parameters during code compilation. What do you think? Similar to version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

Signed-off-by: Ashing Zheng <axingfly@gmail.com>
@ronething
Copy link
Contributor Author

Test cases that cause errors are not within the scope of local modifications.

@ronething ronething merged commit b274316 into master Jan 7, 2026
24 of 26 checks passed
@ronething ronething deleted the chore/add_k8s_version_log branch January 7, 2026 03:34
ronething added a commit that referenced this pull request Jan 12, 2026
…irement (#2693)

Signed-off-by: Ashing Zheng <axingfly@gmail.com>
(cherry picked from commit b274316)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants