Unable to expose nginx to the internet after creating Talos cluster on Hetzner Cloud #9344
-
I'm new to Talos and just set up a cluster on Hetzner Cloud, following the website's documentation. I deployed the official nginx container to the cluster, to test connectivity from the internet, but it doesn't look like the HTTP endpoint is reachable. Reading around the discussions forum, I got the impression that this is related to kubernetes not knowing that my nodes have an external ip address. For instance, here's the output of
Have you seen something like this before? I'm wondering how I can fix it, but don't know where to get started. More context for debuggingI deployed nginx using the following yaml: ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
spec:
replicas: 2
selector:
matchLabels:
app: hello-world
template:
metadata:
labels:
app: hello-world
spec:
containers:
- name: hello-world
image: nginx:latest
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /
port: 80
livenessProbe:
httpGet:
path: /
port: 80 I'm able to access the deployed nginx through port-forwarding:
Exposing it to the internet doesn't get us an external IP (not a surprise, given the nodes themselves don't have an external ip):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This has nothing to do with Talos itself, external IP is managed by the Kubernetes component called 'cloud controller manager', for Hetzner it should be https://github.com/hetznercloud/hcloud-cloud-controller-manager |
Beta Was this translation helpful? Give feedback.
This has nothing to do with Talos itself, external IP is managed by the Kubernetes component called 'cloud controller manager', for Hetzner it should be https://github.com/hetznercloud/hcloud-cloud-controller-manager