Repository navigation
[kubernetes] Update Kubevirt-CCM - #1052
Conversation
WalkthroughThe changes update the Kubernetes application's Helm chart version and version mapping, update the kubevirt-cloud-provider Dockerfile to use a new commit, and introduce significant enhancements to the kubevirtEPSController. These enhancements include cluster name label filtering, improved endpoint handling, robust error logging, and expanded test coverage for new behaviors. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Controller
participant TenantK8s
participant InfraK8s
participant DynamicClient
User->>Controller: Instantiate with clusterName
Controller->>TenantK8s: Watch Services
TenantK8s-->>Controller: Service event
Controller->>Controller: Check clusterName label
alt Label matches
Controller->>InfraK8s: Query Infra Services/EndpointSlices (filtered by clusterName)
Controller->>DynamicClient: Get VMIs for endpoints
DynamicClient-->>Controller: VMIs (skip if NodeName/IP missing)
Controller->>InfraK8s: Reconcile EndpointSlices (create/update/delete)
else Label does not match
Controller->>Controller: Ignore service
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (14)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Signed-off-by: Andrei Kvapil <[email protected]>
da147de to
10af98e
Compare
Fixes panic, upstream issue:
Summary by CodeRabbit