-
Hey! My team is evaluating Linkerd2 and I was trying out the service profile feature I found it very strange that it requires access to the k8s cluster to generate a profile from proto. From looking at the code there does not seem like there is any good reason for requiring that the user has access to the k8s cluster to generate the profile. Requiring k8s access makes it harder to generate the service profile during development or update it automatically in CI. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @purkhusid , that's a good point. In the particular cases of |
Beta Was this translation helpful? Give feedback.
Hi @purkhusid , that's a good point. In the particular cases of
--open-api
and--proto
access is required solely to extract thelinkerd-config
ConfigMap to retrieve theglobal.clusterDomain
entry that will be used to build the profile's name (e.g.foobar.default.svc.cluster.local
).I think it'd be cool to add support for a flag like
--cluster-domain
for that purpose, in which case no cluster connection would be attempted 👍(
--tap
would naturally still require cluster access so that new flag would be ignored in this case)