-1

I have a 2 nodes kubernetes cluster, 1 master node and 1 worker node which I have setup using kubeadm by using 2 ubuntu-18.04 instances from AWS. I have tried to install linkerd by using the getting started guide of the official docs and installed linkerd but I was not able to access the dashboard of the application as well as the addons services.

These are the namespaces, pods and services.

Namespaces

Pods

Services

Everything is running perfectly fine. But after this when I tried to access the dashboard (web-svc) by doing port-forwarding as mentioned in the docs I am unable to access the web-svc service.

Port-forwarding

This is the output I am getting while accessing the app.

Port-output

I was using the public IP of my worker node to access the web-svc on the port 8080 on which it is forwarded but I was getting this output.

I have opened my Security groups to all as shown below.

SG-rules

After installing the linkerd-viz it was successfully installed and all the checks were passed (linkerd check) but while accessing the dashboard it was showing like below.

Dashboard

While accessing it from outside by using the port mentioned in the command and using the public-ip of the worker node It was showing like this.

output

For initializing k8s I have used flannel. If there are any more information you need to answer the question then please ask I will provide answers to the best of my ability.

Thank you in advance.

XANDER_015
  • 93
  • 2
  • 8
  • Could you add link to the manual you are using? Also, what you want right now - access to your service anyhow or access to the service from the internet? – Andrew Skorkin Mar 17 '22 at 09:44
  • https://linkerd.io/2.11/getting-started/ – XANDER_015 Mar 17 '22 at 11:59
  • I want to know that where I am going wrong because accessing is not a problem, I can change the service type from clusterIP to Nodeport and access it but what I am doing wrong that I am unable to understand. – XANDER_015 Mar 17 '22 at 12:01

1 Answers1

1

When using port-forward, this forwards a port on the local machine (the place from where you're executing port-forward) to the service in the cluster. So in the browser, you would have to access http://localhost:8080 to reach the service web-svc.

Meldorius
  • 46
  • 3