mirror of https://github.com/linkerd/linkerd2.git
When the service mirror controller attempts to mirror a remote service in a namespace that does not exist in the local cluster, it skips mirroring that service since there is no local namespace to put the service in. We make this behavior configurable by adding a link value called `enableNamespaceCreation`. When set to true, the service mirror controller will create namespaces as necessary to mirror services if those namespaces don't already exist locally. When set to false (which is the default), the current behavior is preserved where mirroring of the service will be skipped if the local namespace does not already exist. Namespace creation can be enabled as so: ``` linkerd --context east multicluster link --cluster-name=east --set enableNamespaceCreation=true | kubectl --context=west apply -f - ``` Signed-off-by: Alex Leong <alex@buoyant.io> |
||
---|---|---|
.. | ||
main.go |