Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is consul client backward compatible with v1.0.0 ? #3211

Closed
MageshSrinivasulu opened this issue Nov 14, 2023 · 3 comments
Closed

Is consul client backward compatible with v1.0.0 ? #3211

MageshSrinivasulu opened this issue Nov 14, 2023 · 3 comments
Labels
type/question Question about product, ideally should be pointed to discuss.hashicorp.com

Comments

@MageshSrinivasulu
Copy link

MageshSrinivasulu commented Nov 14, 2023

As per the documentation, the consul clients are not enabled by default from v1.0.0.

If we enable it, will the consul client be backwards compatible? Can the pods still use the client to communicate with the consul server?

I am looking at a scenario where existing pods are still using the envoy proxy sidecar during the upgrade and my understanding is consul dataplane sidecar will only be injected if the old pods are being restarted.

So once we make the upgrade do the existing pods fail to communicate with the consul server? or else it will work as usual if we the consul client enabled

image

@MageshSrinivasulu MageshSrinivasulu added the type/question Question about product, ideally should be pointed to discuss.hashicorp.com label Nov 14, 2023
@david-yu
Copy link
Contributor

Consul clients are no longer deployed as part of Consul Service mesh when upgrading to 1.0.0.PLease read more about this here: https://developer.hashicorp.com/consul/docs/connect/dataplane. We no longer support gossip communication on the dataplane for service mesh on Kubernetes as it cause lots of deployment challenges for users and customers in the past. Let me know if that helps!

@blake
Copy link
Contributor

blake commented Nov 14, 2023

@MageshSrinivasulu, Consul clients will still be able to communicate with the servers when they are upgraded to 1.14 or later.

I am looking at a scenario where existing pods are still using the envoy proxy sidecar during the upgrade and my understanding is consul dataplane sidecar will only be injected if the old pods are being restarted.

This is correct.

once we make the upgrade do the existing pods fail to communicate with the consul server? or else it will work as usual if we the consul client enabled

The existing pods will continue to work if the Consul clients are enabled.

See https://developer.hashicorp.com/consul/docs/k8s/upgrade#upgrading-to-consul-dataplane for details on how to safely upgrade your environment to the dataplane architecture.

@david-yu
Copy link
Contributor

Will close since I believe you have answered your question. Let us know if that is not the case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Question about product, ideally should be pointed to discuss.hashicorp.com
Projects
None yet
Development

No branches or pull requests

3 participants