hello
i am lee
I am implementing a service-mesh between multi-eks using the consul partition function.
I always get confused when creating exported-services cr.
First, I will show you my CR full text.
apiVersion: consul.hashicorp.com/v1alpha1
kind: ExportedServices
metadata:
name: default
spec:
services:
- name: "*"
namespace: backend-api
consumers:
- partition: backend-partition
The question here is:
- metadata.name β default β partition containing the service to be advertised
- spec.services.name β * β All Service name in the namespace of the partition to be advertised
- spec.services.namespace β backend β namespace in the partition to be advertised
- spec.services.consumer.partition β second β Partition name containing the service to be advertised
Is it possible that my understanding is correct?
I would be very grateful if you could reply.