Comments (7)
@IvanProdaiko94 Have you tried this step in the latest version of Cilium? I seem unable to reproduce this issue in the latest version.
from cilium.
Thanks for this issue @IvanProdaiko94, this is most likely associated with either the code that handles L2 announcements (and so handles Loadbalancer services) or the Ingress and Gateway code being aggressive in trimming ownerReferences
. I've marked it for someone to take a look at.
from cilium.
but bgp is not assigning the IP for LoadBalancer. I assume, that if only the bgp tried to assign the IP, it will do a removal as well
I will try to reproduce it locally.
from cilium.
@chaunceyjiang it seems you're right
from cilium.
@chaunceyjiang @youngnick So, folks.
I checked 1.13.3, 1.14.10, 1.15.4 and all of them remove ownerReferences
. With 1.16.0-pre.2
running on cluster ownerReferences
are not removed, but bgp is not assigning the IP for LoadBalancer. I assume, that if only the bgp tried to assign the IP, it will do a removal as well
from cilium.
I checked 1.13.3, 1.14.10, 1.15.4 and all of them remove ownerReferences.
It seems like I also can't reproduce it.
root@node1:~/cilium# kubectl get svc nginx-loadbalancer-service -oyaml
apiVersion: v1
kind: Service
metadata:
creationTimestamp: "2024-05-30T08:12:13Z"
labels:
a: b
name: nginx-loadbalancer-service
namespace: default
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: Pod
name: gpu-brun-695c587cdc-klq86
uid: c45f48df-66b6-4300-b3f5-eda0c2a2e1a3
resourceVersion: "51694462"
uid: 21cde266-2c0a-4389-9641-bf34c2eed822
spec:
allocateLoadBalancerNodePorts: true
clusterIP: 10.96.144.66
clusterIPs:
- 10.96.144.66
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: http
nodePort: 31767
port: 80
protocol: TCP
targetPort: 8080
selector:
app: nginx
sessionAffinity: None
type: LoadBalancer
status:
conditions:
- lastTransitionTime: "2024-05-30T08:32:19Z"
message: ""
reason: satisfied
status: "True"
type: cilium.io/IPAMRequestSatisfied
loadBalancer:
ingress:
- ip: 172.30.126.134
from cilium.
The MetalLB-based BGP implementation (deprecated) seems to always remove the ownerReferences. The new Cilium go-bgp-based BGP Control Plance doesn't. Solution/workaround: Use the new BGP Control Plane.
IMO, this issue could be closed.
from cilium.
Related Issues (20)
- Intermittent 403 Errors After Cilium Upgrade
- CrashLoopBackoff for operator pods on v1.15.5 HOT 5
- SIGSEGV segmentation violation on startup - cmd.coalesceCIDRs HOT 2
- Cilium Gateway ignores Addresses HOT 2
- BGP control plane missing PodCIDR advertisements on some nodes. HOT 3
- Broken connectivity of pod to remote nodeport when IPsec is used with L7 ingress policy
- Broken connectivity of pod to remote nodeport when Wireguard is used with L7 ingress policy HOT 4
- CI: Conformance Runtime - TestUpdateExistingIPSecEndpoint HOT 1
- CI: TestControlPlane/CNPStatusNodesGC timed out HOT 1
- Fatal error in cilium-agent on 1.16.0-pre.3 with bandwidthManager + BBR HOT 2
- CI: Conformance Ginko: Timeout while waiting for Cilium to become ready HOT 2
- CI: K8sDatapathConfig Iptables [It] Skip conntrack for pod traffic HOT 1
- CI: Integration tests - Test_meshEndpointSlice_Reconcile HOT 4
- CI: Conformance Runtime - TestUpsertIPSecEndpoint and TestUpsertIPSecKeyMissing HOT 2
- CI: e2e integration for netkit
- Excessive memory usage from cilium agents HOT 2
- Secret "hubble-relay-client-certs" prevents proper Helm chart upgrades
- cilium: big tcp setting not effective on latest kernel
- CI: NAT46x64 HOT 3
- BPF policymap incorrectly applied for host firewall
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cilium.