How to deploy multiple ambassador daemon-set in the same namespace - kuberntes How to deploy multiple ambassador daemon-set in the same namespace - kuberntes kubernetes kubernetes

How to deploy multiple ambassador daemon-set in the same namespace - kuberntes


You can use AMBASSADOR_ID for that, like this:

getambassador.io/config: |  ---  ambassador_id: ambassador-1  apiVersion: ambassador/v0  kind: Module  name: tls  config:    server:      secret: dashboard-certs  ---  ambassador_id: ambassador-1  apiVersion: ambassador/v0  kind:  Mapping  name:  dashboard_test_mapping  host:  dashboard.example.com  service: https://dashboard.test.svc.cluster.local  prefix: /

and then specify this id in env variables of DaemonSet:

env:- name: AMBASSADOR_ID  value: ambassador-1

Refer to the documentation:https://www.getambassador.io/reference/running/#ambassador_id