-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels