I was following those instructions to create Consul VM - kubernetes federation, where VM Consul cluster was my primary. And it worked as expected. Services between 2 Consul datacenters were able to communicate. But, I was seeing that resources were not SYNC to Consol, as expected here
Here is what I have:
kubectl get proxydefaults global -n consul
NAME SYNCED LAST SYNCED AGE
global False 9m58s
How I can SYNC this? What issue I can face because of this?
As I sad, I do have connection between 2 services from diff datacenters.
So it looks like there is already a proxy-defaults config set. It’s a global config between all datacenters so there can only be one, either in VMs or managed by one Kube cluster.
If you want to use Kubernetes then you should delete the existing proxy-defaults config: consul config delete -kind proxy-defaults -name global.