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

External-IP details are truncated in "kubectl get svc" output with Kubectl client version "v1.10.5" #179

Closed
deenav opened this issue May 8, 2019 · 1 comment · Fixed by #241
Assignees
Labels
area/documentation Issue related to documentation priority/P3 No direct impact to applications, e.g., typos in documentation or log messages version 0.3.2 This is an issue with operator version 0.3.2

Comments

@deenav
Copy link

deenav commented May 8, 2019

External-IP details shown in kubectl get svc output are truncated with Kubectl client version "v1.10.5" due to that users can not find the correct External-IP to use for Pravega-controller endpoint.
However it shows properly with latest kubectl client ("v1.12.0" and greater) versions.

kubectl get svc output with Kubectl client version "v1.10.5":-

# kubectl get svc
NAME                                    TYPE           CLUSTER-IP       EXTERNAL-IP        PORT(S)                          AGE
kubernetes                              ClusterIP      10.100.200.1     <none>             443/TCP                          6d
pravega-bookie-headless                 ClusterIP      None             <none>             3181/TCP                         6d
pravega-pravega-controller              LoadBalancer   10.100.200.11    10.240.124.15...   10080:31391/TCP,9090:30301/TCP   6d
pravega-pravega-segmentstore-0          LoadBalancer   10.100.200.59    10.240.124.15...   12345:30597/TCP                  6d
pravega-pravega-segmentstore-1          LoadBalancer   10.100.200.42    10.240.124.15...   12345:30840/TCP                  6d
pravega-pravega-segmentstore-2          LoadBalancer   10.100.200.83    10.240.124.15...   12345:31170/TCP                  6d
pravega-pravega-segmentstore-headless   ClusterIP      None             <none>             12345/TCP                        6d
pravega-zk-client                       ClusterIP      10.100.200.120   <none>             2181/TCP                         6d
pravega-zk-headless                     ClusterIP      None             <none>             2888/TCP,3888/TCP                6d
# kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:46:00Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.7", GitCommit:"6f482974b76db3f1e0f5d24605a9d1d38fad9a2b", GitTreeState:"clean", BuildDate:"2019-03-25T02:41:57Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

kubectl get svc output with Kubectl client version "v1.12.0":-

# ./kubectl get svc
NAME                                    TYPE           CLUSTER-IP       EXTERNAL-IP                     PORT(S)                          AGE
kubernetes                              ClusterIP      10.100.200.1     <none>                          443/TCP                          6d20h
pravega-bookie-headless                 ClusterIP      None             <none>                          3181/TCP                         6d3h
pravega-pravega-controller              LoadBalancer   10.100.200.11    10.240.124.155,100.64.112.185   10080:31391/TCP,9090:30301/TCP   6d3h
pravega-pravega-segmentstore-0          LoadBalancer   10.100.200.59    10.240.124.156,100.64.112.185   12345:30597/TCP                  6d3h
pravega-pravega-segmentstore-1          LoadBalancer   10.100.200.42    10.240.124.157,100.64.112.185   12345:30840/TCP                  6d3h
pravega-pravega-segmentstore-2          LoadBalancer   10.100.200.83    10.240.124.158,100.64.112.185   12345:31170/TCP                  6d3h
pravega-pravega-segmentstore-headless   ClusterIP      None             <none>                          12345/TCP                        6d3h
pravega-zk-client                       ClusterIP      10.100.200.120   <none>                          2181/TCP                         6d3h
pravega-zk-headless                     ClusterIP      None             <none>                          2888/TCP,3888/TCP                6d3h
# ./kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.0", GitCommit:"0ed33881dc4355495f623c6f22e7dd0b7632b7c0", GitTreeState:"clean", BuildDate:"2018-09-27T17:05:32Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.7", GitCommit:"6f482974b76db3f1e0f5d24605a9d1d38fad9a2b", GitTreeState:"clean", BuildDate:"2019-03-25T02:41:57Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}
[root@master ~]#

I would suggest to add this details in Troubleshooting section of our documentation.

@sumit-bm sumit-bm added the area/documentation Issue related to documentation label May 8, 2019
@sumit-bm
Copy link

sumit-bm commented May 8, 2019

We could also mention supported kubectl version as well and would mention older kubectl might show this issue in troubleshooting section

@adrianmo adrianmo added the priority/P3 No direct impact to applications, e.g., typos in documentation or log messages label May 30, 2019
@pbelgundi pbelgundi added version 0.4.0 Issue with Operator 0.4.0 version 0.3.2 This is an issue with operator version 0.3.2 and removed version 0.4.0 Issue with Operator 0.4.0 labels Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Issue related to documentation priority/P3 No direct impact to applications, e.g., typos in documentation or log messages version 0.3.2 This is an issue with operator version 0.3.2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants