Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eveld/nomad-connect-integration-demo
This repository contains the demo used in the "Nomad 0.10: Secure Service-to-Service Traffic with Consul Connect Integration" webinar.
https://github.com/eveld/nomad-connect-integration-demo
Last synced: 20 days ago
JSON representation
This repository contains the demo used in the "Nomad 0.10: Secure Service-to-Service Traffic with Consul Connect Integration" webinar.
- Host: GitHub
- URL: https://github.com/eveld/nomad-connect-integration-demo
- Owner: eveld
- Created: 2019-11-01T06:38:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-11T05:26:38.000Z (about 5 years ago)
- Last Synced: 2024-11-05T11:36:10.063Z (2 months ago)
- Language: HCL
- Homepage:
- Size: 3.44 MB
- Stars: 10
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nomad 0.10: Secure Service-to-Service Traffic with Consul Connect Integration
## Contents
This repository contains the demo used in the "Nomad 0.10: Secure Service-to-Service Traffic with Consul Connect Integration" webinar.
To walk through the demo, use the steps outlined in the Makefile:```shell
# Set up Nomad cluster and Consul server.
make step1# Open the Consul UI.
open localhost:8500
# Open the Nomad UI.
open localhost:4646
``````shell
# Test bridge networking.
make step2# Test the application. It should not work, because it's not exposed.
curl :9090
``````shell
# Test network namespaces with a static port.
make step3# Test the application. It should now work, because we bound it to the host.
curl :9090.
``````shell
# Deploy monolithic application.
make step4curl localhost:9090
``````shell
# Deploy currency microservice.
make step5
``````shell
# Try out the currency microservice.
make step6curl localhost:9090
curl localhost:9090 -H 'group: dev'
``````shell
# Deploy new payments service.
make step7
``````shell
# Create 2 subsets for the payments service.
make step8
``````shell
# A/B test new payments service.
make step9curl localhost:9090
curl localhost:9090 -H 'group: test'
``````shell
# Send 50% of the traffic to the canary release.
make step10curl localhost:9090
``````shell
# Send 100% of the traffic to the canary release.
make step11curl localhost:9090
```## Slides
The slides for the webinar can be found in the `slides` directory.
A link to the recording of the webinar will be added to the repository once it is available.