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

skip ok pod #3090

Merged
merged 2 commits into from
Jul 31, 2023
Merged

skip ok pod #3090

merged 2 commits into from
Jul 31, 2023

Conversation

bobz965
Copy link
Collaborator

@bobz965 bobz965 commented Jul 29, 2023

What type of this PR

Examples of user facing changes:

  • Features
    skip ok pod when kube-ovn-controller restart

目前认为在 kube-ovn-controller 重启后,可以选择性的跳过重复 pod handleAddOrUpdate 的逻辑

Which issue(s) this PR fixes:

A4F9C8D694D08762B4F6FC300E92B420

WHAT

🤖 Generated by Copilot at d61e5b1

Add support for routing between different subnets without ovn and improve pod logging. Modify pod.go to check pod subnet status and enqueue pod events accordingly.

🤖 Generated by Copilot at d61e5b1

We're sailing on the network of the pods
We're routing 'tween the subnets with no ovn
We're logging all the events as they come
We're heaving on the line on the count of three

HOW

🤖 Generated by Copilot at d61e5b1

  • Add support for routing between different subnets without ovn (link, link)
  • Check if pod has any not routed subnet in enqueueAddPod function (link)
  • Add new function podHasNotRoutedSubnet to controller package (link)
  • Increase log level for pod deletion events in enqueueDeletePod function (link)
  • Add log message for pod update events in enqueueUpdatePod function (link)

@bobz965 bobz965 marked this pull request as ready for review July 29, 2023 10:21
@bobz965 bobz965 requested a review from hongzhen-ma July 31, 2023 02:05
pkg/controller/pod.go Outdated Show resolved Hide resolved
@bobz965 bobz965 merged commit 5704dae into kubeovn:master Jul 31, 2023
58 checks passed
@bobz965 bobz965 deleted the 15k branch July 31, 2023 06:57
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.

2 participants