Oliver Gould
da0330743f
Provide peer Identities via the Destination API ( #2537 )
...
This change reintroduces identity hinting to the destination service.
The Get endpoint includes identities for pods that are injected with an
identity-mode of "default" and have the same linkerd control plane.
A `serviceaccount` label is now also added to destination response
metadata so that it's accessible in prometheus and tap.
2019-03-22 09:19:14 -07:00
Andrew Seigner
25e462352d
lint: Enable goimports ( #2366 )
...
goimports checks import lines, adding missing ones and removing
unreferenced ones:
https://godoc.org/golang.org/x/tools/cmd/goimports
It also requires named imports for packages whose
import paths don't match their package names:
- https://github.com/golang/go/issues/28428
- https://go-review.googlesource.com/c/tools/+/145699/
Also standardized named imports of common Kubernetes packaages.
Part of #217
Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-02-25 15:51:10 -08:00
Kevin Lingerfelt
4845b4ec04
Restore linkerd.io/control-plane* labels ( #1411 )
...
Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
2018-08-07 13:53:29 -07:00
Kevin Lingerfelt
4b9700933a
Update prometheus labels to match k8s resource names ( #1355 )
...
Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
2018-07-23 15:45:05 -07:00
Kevin Lingerfelt
e5cce1abaf
Rename CLI from conduit to linkerd ( #1312 )
...
* Rename CLI binary
* Update integration tests for new binary name
* Rename --conduit-namespace flag, change default ns
* Rename occurrences of conduit in rest of CLI
* Rename inject and install components
* Remove conduit occurrences in docker files
* Additional miscellaneous cleanup
* Move protobuf definitions to linkerd2 package
* Rename conduit.io labels to use linkerd.io
* Rename conduit-managed segment to linkerd-managed
* Fix conduit references in web project
Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
2018-07-12 17:14:07 -07:00
Risha Mars
f6367224b9
Add a controller namespace label to the destination service endpoints ( #960 )
...
Add a the dst_conduit_io_control_plane_ns label to the destination service endpoints
2018-05-17 14:47:07 -07:00
Thomas Rampelberg
25d8b22b5c
Adding statefulsets to inject. Fixes #907 ( #910 )
2018-05-10 09:00:36 -05:00
Andrew Seigner
1e4ac8fda8
Destination service provides pod-template-hash ( #784 )
...
The Destination service does not provide ReplicaSet information to the
proxy.
The `pod-template-hash` label approximates selecting over all pods in a
ReplicaSet or ReplicationController. Modify the Destination service to
provide this label to the proxy.
Relates to #508 and #741
Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2018-04-18 14:41:27 -07:00
Kevin Lingerfelt
e1e1b6b599
Controller: add more destination labels, fix service label ( #731 )
...
* Add more destination labels, fix service label
* Update owner labels to match proxy metrics docs
Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
2018-04-11 10:44:52 -07:00