DEV Community

Discussion on: Scaling Websockets in the Cloud (Part 2). Introducing Traefik: the all-in-one solution for Docker Stacks and Kubernetes clusters

Collapse
 
pptavozl profile image
Gustavo Zimbrón • Edited

Hi, I can't run repo k8s example, im getting problem at this part:

kubectl create -f crd.yaml
kubectl create -f rbac.yaml,traefik.yaml,ingress.yaml
Enter fullscreen mode Exit fullscreen mode

i changed crd.yaml to doc.traefik.io/traefik/reference/d... content

and finally pass this step, but when i run:

node websockets-scaling-master/stack/client_socket.js
Enter fullscreen mode Exit fullscreen mode

It only print:

Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Sending repeated message
Enter fullscreen mode Exit fullscreen mode
Collapse
 
sw360cab profile image
Sergio Matone

I think the CRD I used was the one from official Doc. Supposing they did't changed.
Check that Traefik is really up and running and paths is reachable. I encountered this issue form time to time.