wish / katalog-sync

A reliable node-local mechanism for syncing k8s pods to consul services
MIT License
36 stars 7 forks source link

k8s deprecated read-only port #58

Open danielmotaleite opened 2 years ago

danielmotaleite commented 2 years ago

Hi

since https://github.com/kubernetes/kubeadm/issues/732, the port 10255 is deprecated and at least in aws it doesn't exist anymore: https://github.com/awslabs/amazon-eks-ami/issues/128

Addjng this seem to mostly solve this:

--kubelet-api=https://localhost:10250/pods
--kubelet-api-insecure-skip-verify

but that returns this error in the log:

level=error msg="Error fetching state from k8s: invalid character 'F' looking for beginning of value"

and doesn't look like katalog-sync is sending the services to consul