kind: Local Port Mapping not working on Docker Desktop for Linux / Ubuntu
What happened:
I deployed a cluster via kind create cluster
and exposed a service with NodePort
.
According to the docs, I should be able to access the service through the nodes IP:
But I am not.
Here are some details:
What you expected to happen:
Being able to access the exposed service through the nodes IP
How to reproduce it (as minimally and precisely as possible):
- Deploy cluster
- Deploy kubernetes dashboard
- Change service type from ClusterIP to NodePort
- Try accessing the service with
<nodeIP>:<port>
- Cry
Anything else we need to know?:
Service is accessible and runs and curl’ing from the node itself
Environment:
- kind version: (use
kind version
): v0.16.0 go1.19.1 linux/amd64 - Kubernetes version: (use
kubectl version
): v1.25.2 - Docker version: (use
docker info
): Engine: 20.10.18 Docker Desktop: 4.12.0 - OS (e.g. from
/etc/os-release
): Ubuntu 22.04.1 LTS
cheers flash ⚡
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (15 by maintainers)
Can be closed afer #2950
Clearly will need to clarify the docs on our end to address all docker desktop app installs on all platforms.