Service mesh using Consul Connect-Native
Service Mesh - Connect-Native App Integration
Service Mesh - Connect Configuration
Service Mesh - Connect-Native App Integration With Go
Consul service discovery DNS
Create counting services, increments counter each time the API is called.
Run:
make run
Test API:
# Send get request to counting client
$ curl localhost:8081/
{"count":2,"hostname":"4b2a8b9fd305"}
# Query server address
$ curl localhost:8081/query
192.168.208.7:8080
Test intentions Client --x--> Server:
Test API:
# Send get request to counting client
$ curl localhost:8081/
Connect to server failed: Get "https://server.service.dc1.consul/count":
remote error: tls: bad certificate
Centralized configuration.
Go to Consul UI:
Test API:
# Send get request to counting client
$ curl localhost:8081/kv?token=wassup/bro
wassup/bro: {
"sup": "bruh"
}
$ curl localhost:8081/kv?token=not/exist
Value not found for key: not/exist
Go to Consul UI:
Test API
# Send get request to counting client
$ curl localhost:8081/
{"count":5,"hostname":"4b2a8b9fd305","language":"ENG"}
- gRPC
- Broker/Message Queue
- Service mesh using Envoy
- Service mesh in kubernetes
- API Gateway
- Monitoring