Closed reavessm closed 3 years ago
Hi, could you solve this problem?
I had to delete my cluster due to other reasons, but I should be able to retest this later today and report back if this issue is still needed
Thanks for your response, so you never got ExternalIPs work in 4.6? We are experiencing the same problem with a 4.6 cluster and assuming whether this was an already fixed bug or not...
Is this an OKD specific issue? If its reproducible on OCP please file a bugzilla so that we get more attention from ingress / networking developers
I never did get it working with 4.6 and my new cluster is now running 4.7 so when I get around to restesting it might not be super helpful
Well, thank you for sharing, but did you get it working with 4.7 in the end? If yes, do you also use OVNKubernetes under 4.7?
I did not get it working 4.7. The network should still be the same as before, but this was the yaml I used to test with
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-test
spec:
replicas: 1
selector:
matchLabels:
app: nginx-test
template:
metadata:
labels:
app: nginx-test
spec:
containers:
- name: test
image: openshift/hello-openshift
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: nginx-test
spec:
externalIPs:
- 192.168.0.35
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
selector:
app: nginx-test
Then I tried pinging 192.168.0.35 but to no avail
I will leave this running as its very possible I am doing something wrong
@vrutkovs @reavessm Did we determine if this problem is OKD only? Also, https://github.com/openshift/okd/issues/572
Describe the bug
Can't access service by externalIP, but I can access via route.
oc describe svc/stream:
oc descibe route/test:
NOTE: port default == 8081
Cluster Settings > Global Configuration > Network > Yaml
Version
Client Version: 4.6.6 Server Version: 4.6.0-0.okd-2020-12-12-135354 Kubernetes Version: v1.19.2-1008+70708036fc2657-dirty IPI on Ovirt
How reproducible
100%
Log bundle