Comments (5)
hey @Shige99011
In the above case, the IP that the service is registered with Consul has to be the NodeIP (using node ports) and not the cluster IP. That is because there is no way currently for Consul to route traffic to the service. Mesh Gateways currently only work on a Consul federation (in which case you have multiple Consul Servers in different datacenters that are federated together).
I think the above deployment pattern might be unsupported otherwise. 😞
from consul-helm.
Thanks @thisisnotashwin for the info.
So without any routing, I tried to directly access from the service on Node A to the service on Node B via sidecar proxy but it didn't work. Is this expected too?
In this case, it needs to specify the IP of Node B and port(NodePort) to access to the service on Node B, correct? That has worked, I confirmed btw.
on the other hand,
If both nodes have datacenter and run as consul server, the direct access via sidecar proxy works with mesh gateway, right? I saw the feature in the document.
Thanks for your help.
from consul-helm.
In this case, it needs to specify the IP of Node B and port(NodePort) to access to the service on Node B, correct? That has worked, I confirmed btw.
Exactly!! it would need to communicate with the other service with it's public IP
If both nodes have datacenter and run as consul server, the direct access via sidecar proxy works with mesh gateway, right? I saw the feature in the document.
bingo!! you can federate those consul clusters and use the mesh gateways to communicate using them!!
from consul-helm.
Ok, I confirmed it works with the federation and mesh gateway instead of my first deployment pattern. The communication works via sidecar proxy between the nodes!
However I would like to confirm that my first deployment pattern is really not supported.
No problems if it is not supported of course but I just want reliable information because:
On Consul UI of Node A, I could see Node B and the service on Node B. Also the topology from the service on Node A to the service on Node B seemed to be indicated correctly. So I concern that there is just any lack of my configuration for my first deployment pattern.
Thanks for any help.
from consul-helm.
Anyway, I confirmed that the cluster consist of multi nodes works to communicate via sidecar proxy beyond the node without mesh gateway and federation.
To make it, I just configured a kubernetes cluster by multi nodes before Consul configuration. For the my first case, I didn't it. And deployed each pod with node specific by using nodeSelector. That's it.
from consul-helm.
Related Issues (20)
- Variable Interpolation within Helm chart HOT 7
- [ERROR] Unable to get Agent services: error="Unexpected response code: 403 (ACL not found)" HOT 9
- GKE Ingress requires pathType to be ImplementationSpecific
- flag provided but not defined: -log-json HOT 6
- Mesh-Gateway k8s: Error initializing configuration HOT 6
- Chart v0.32.+ : invalid config key "TransparentProxy" for proxy-defaults.yaml HOT 2
- Could not resolve host: static-server HOT 9
- test issue migration
- consul-consul-webhook-cert-manager flag provided but not defined: -log-json HOT 2
- 0.32.1/1.10.0 WAN Federation consul-server-acl-init job failing to execute resulting in failed helm installation HOT 8
- Kubernetes, ConsulCatalog and Traefik - Changing default Sync Rule between K8s and ConsulCatalog? HOT 2
- Consul connect injected sidecars not permitted by Pod Security Policies HOT 2
- Allow specifying a default policy / role for namespace mirroring HOT 2
- Consul ingress gateways not starting after chart upgrade HOT 6
- Which directory consul kv data is stored HOT 4
- consul connect: 503 after scaling in or pod restarts HOT 15
- feat: Add `-recursor` flag
- Failed helm upgrade leaves behind a job that prevents future upgrades? HOT 7
- Allow Consul client daemonset connectivity via nodePort (instead of only hostPort) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consul-helm.