7imbrook / consul-service-container

Deploy a helm chart with a consul agent and side car running inside the container for service mesh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helm Publish

Consul Service Container

Deploy a helm chart with a consul agent and side car running inside the container for service mesh

basic example

# values.yaml

image:
    repository: nginx

Release web service

helm install web -f ./values.yaml
# values-prerelease.yaml

image:
    repository: nginx
serviceNameOverride: web
additionalServiceTags:
    - prerelease

Release web service

helm install web-prerelease -f ./values-prerelease.yaml

you now have a single service web in consul, but a a prereleased tagged version deployed via help.

You can now use traffic splitting and such for testing/release

TODO

  • [] Add acl binding-rules needed to make this work
  • [] Add role needed for binding as well as server example
  • [] make these things code somewhere else

About

Deploy a helm chart with a consul agent and side car running inside the container for service mesh


Languages

Language:Smarty 93.7%Language:Shell 6.3%