Skip to content

access the webui service through kubectl proxy from local machine #635

@eliassal

Description

@eliassal

Hi Jerome, I am following your instructions at page 741 at https://container.training/kube-selfpaced.yml.html#741, all works like a charm but one thing I am not able to understand is why you use port 8001 (which works fine) in the command

curl localhost:8001/api/v1/namespaces/yellow/services/webui/proxy/index.html

Webui does not run on 8001, I have deployed all in yellow namespace and running
kubectl get svc
I get

NAME     TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
hasher   ClusterIP   10.104.87.206   <none>        80/TCP         26h
redis    ClusterIP   10.97.58.189    <none>        6379/TCP       26h
rng      ClusterIP   10.107.13.239   <none>        80/TCP         26h
webui    NodePort    10.104.163.59   <none>        80:30517/TCP   26h

so how this port 8001 works succesfuly? I am really confused, thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions