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

Possible bug in NOTES.txt #1

Open
lewismc opened this issue Feb 11, 2021 · 1 comment
Open

Possible bug in NOTES.txt #1

lewismc opened this issue Feb 11, 2021 · 1 comment

Comments

@lewismc
Copy link
Contributor

lewismc commented Feb 11, 2021

Hi @jfelten-isp, when I deploy this Chart locally in a K3D cluster I am having some issues.

% k3d cluster start
INFO[0000] Starting cluster 'k3s-default'
INFO[0000] Starting Node 'k3d-k3s-default-server-0'
INFO[0000] Starting Node 'k3d-k3s-default-serverlb'
...
% helm repo add keyporttech https://keyporttech.github.io/helm-charts/
% helm install statsd keyporttech/statsd
...
NAME: statsd
LAST DEPLOYED: Thu Feb 11 15:24:36 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=statsd,app.kubernetes.io/instance=statsd" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:8080 to use your application"
  kubectl --namespace default port-forward $POD_NAME 8080:80

If I follow the guidance

% export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=statsd,app.kubernetes.io/instance=statsd" -o jsonpath="{.items[0].metadata.name}")
% kubectl --namespace default port-forward $POD_NAME 8080:80

... then open `http://127.0.0.0:8081

Forwarding from 127.0.0.1:8080 -> 80
Forwarding from [::1]:8080 -> 80
Handling connection for 8080
E0211 15:25:54.552423   37755 portforward.go:400] an error occurred forwarding 8080 -> 80: error forwarding port 80 to pod 6d509fbcb8ede62439f23bbeae9bda7235c05f36653105fb73067a2af92ccbfa, uid : failed to execute portforward in network namespace "/var/run/netns/cni-524658da-db99-9fa7-da60-9157acb5601f": failed to dial 80: dial tcp4 127.0.0.1:80: connect: connection refused
Handling connection for 8080
E0211 15:25:54.660696   37755 portforward.go:400] an error occurred forwarding 8080 -> 80: error forwarding port 80 to pod 6d509fbcb8ede62439f23bbeae9bda7235c05f36653105fb73067a2af92ccbfa, uid : failed to execute portforward in network namespace "/var/run/netns/cni-524658da-db99-9fa7-da60-9157acb5601f": failed to dial 80: dial tcp4 127.0.0.1:80: connect: connection refused
Handling connection for 8080
E0211 15:25:54.690267   37755 portforward.go:400] an error occurred forwarding 8080 -> 80: error forwarding port 80 to pod 6d509fbcb8ede62439f23bbeae9bda7235c05f36653105fb73067a2af92ccbfa, uid : failed to execute portforward in network namespace "/var/run/netns/cni-524658da-db99-9fa7-da60-9157acb5601f": failed to dial 80: dial tcp4 127.0.0.1:80: connect: connection refused
Handling connection for 8080
E0211 15:25:54.705058   37755 portforward.go:400] an error occurred forwarding 8080 -> 80: error forwarding port 80 to pod 6d509fbcb8ede62439f23bbeae9bda7235c05f36653105fb73067a2af92ccbfa, uid : failed to execute portforward in network namespace "/var/run/netns/cni-524658da-db99-9fa7-da60-9157acb5601f": failed to dial 80: dial tcp4 127.0.0.1:80: connect: connection refused
Handling connection for 8080

Any ideas how to resolve the above? If you can clarify I would be happy to send a PR to update the documentation. Thank you

@lewismc
Copy link
Contributor Author

lewismc commented Feb 12, 2021

@jfelten any comments here? Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant