2017-08-28 20:56:49 |
chhandak |
description |
In Openshift cluster while creating Service Type loadbanacer it is not showing the IP in oc/kubectl output. In contrail FLoating IP is getting created properly and asscoited with Service VMI. But Openshift client is not showing the IP
[root@5b7s18 ~]# oc get svc --all-namespaces
NAMESPACE NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ctest-namespace-74229152 ctest-nginx-svc-88443061 10.109.121.151 <none> 80/TCP 1d
ctest-namespace-92464843 ctest-nginx-svc-22735245 10.100.49.246 <pending> 80:32385/TCP 1h
default docker-registry 10.98.148.57 <none> 5000/TCP 6d
default kubernetes 10.96.0.1 <none> 443/TCP,53/UDP,53/TCP 6d
default registry-console 10.100.151.191 <none> 9000/TCP 6d
default router 10.101.6.87 <none> 80/TCP,443/TCP,1936/TCP 6d
juniper frontend 10.111.127.190 <pending> 80:31063/TCP 2h
[root@5b7s18 ~]#
[root@5b7s18 ~]#
[root@5b7s18 ~]# kubectl describe service ctest-nginx-svc-22735245 -n ctest-namespace-92464843
Name: ctest-nginx-svc-22735245
Namespace: ctest-namespace-92464843
Labels: <none>
Annotations: <none>
Selector: app=http_test
Type: LoadBalancer
IP: 10.100.49.246
Port: <unset> 80/TCP
NodePort: <unset> 32385/TCP
Endpoints: <none>
Session Affinity: None
Events: <none> |
In Openshift cluster while creating Service Type loadbanacer it is not showing the IP in oc/kubectl output. In contrail FLoating IP is getting created properly and asscoited with Service VMI. But Openshift client is not showing the IP
[root@5b7s18 ~]# oc get svc --all-namespaces
NAMESPACE NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ctest-namespace-74229152 ctest-nginx-svc-88443061 10.109.121.151 <none> 80/TCP 1d
ctest-namespace-92464843 ctest-nginx-svc-22735245 10.100.49.246 <pending> 80:32385/TCP 1h
default docker-registry 10.98.148.57 <none> 5000/TCP 6d
default kubernetes 10.96.0.1 <none> 443/TCP,53/UDP,53/TCP 6d
default registry-console 10.100.151.191 <none> 9000/TCP 6d
default router 10.101.6.87 <none> 80/TCP,443/TCP,1936/TCP 6d
juniper frontend 10.111.127.190 <pending> 80:31063/TCP 2h
[root@5b7s18 ~]#
[root@5b7s18 ~]#
[root@5b7s18 ~]# kubectl describe service ctest-nginx-svc-22735245 -n ctest-namespace-92464843
Name: ctest-nginx-svc-22735245
Namespace: ctest-namespace-92464843
Labels: <none>
Annotations: <none>
Selector: app=http_test
Type: LoadBalancer
IP: 10.100.49.246
Port: <unset> 80/TCP
NodePort: <unset> 32385/TCP
Endpoints: <none>
Session Affinity: None
Events: <none>
Service Type is not Loadbalancer it is working fine
[root@5b7s18 ~]# oc get svc --all-namespaces
NAMESPACE NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ctest-namespace-62207692 ctest-nginx-svc-69404119 10.105.68.163 10.87.117.252 80/TCP 3m
ctest-namespace-74229152 ctest-nginx-svc-88443061 10.109.121.151 <none> 80/TCP 1d
default docker-registry 10.98.148.57 <none> 5000/TCP 6d
default kubernetes 10.96.0.1 <none> 443/TCP,53/UDP,53/TCP 6d
default registry-console 10.100.151.191 <none> 9000/TCP 6d
default router 10.101.6.87 <none> 80/TCP,443/TCP,1936/TCP 6d
juniper frontend 10.111.127.190 <pending> 80:31063/TCP 2h
[root@5b7s18 ~]# kubectl describe service ctest-nginx-svc-69404119 -n ctest-namespace-62207692
Name: ctest-nginx-svc-69404119
Namespace: ctest-namespace-62207692
Labels: <none>
Annotations: <none>
Selector: app=http_test
Type: ClusterIP
IP: 10.105.68.163
External IPs: 10.87.117.252
Port: <unset> 80/TCP
Endpoints: 10.47.255.238:80,10.47.255.239:80
Session Affinity: None
Events: <none>
[root@5b7s18 ~]# |
|