linkerd2/cli/cmd
Miguel Ángel Pastor Olivar 48c5f70c39
Opaque ports check (#6192)
Closes #6177 

This change adds an additional check to the data plane category which will warn users when the `opaque-ports` annotation is misconfigured on services and pods.

As an example, the output looks like this:

```
$ linkerd check --proxy
...
× opaque ports are properly annotated
    * service/emoji-svc has the annotation config.linkerd.io/opaque-ports but pod/emoji-696d9d8f95-8p94s doesn't
    * pod/voting-67bb58c44c-dgt46 and service/voting-svc have the annotation config.linkerd.io/opaque-ports but values don't match
    see https://linkerd.io/2/checks/#linkerd-opaque-ports-definition for hints
```

Signed-off-by: Miguel Ángel Pastor Olivar <migue@github.com>
2021-06-09 15:48:43 -06:00
..
testdata cli: Remove the install-sp command (#6118) 2021-05-24 13:31:07 -07:00
alpha.go Remove SMI-Metrics charts and commands (#4843) 2020-08-24 14:35:33 -07:00
check.go Opaque ports check (#6192) 2021-06-09 15:48:43 -06:00
check_test.go Fix hint anchors for core health checks (#6023) 2021-04-13 09:56:23 -05:00
completion.go Add support for server resource aware completion (#6091) 2021-05-18 09:59:59 -04:00
completion_test.go
controller-metrics.go cli: reorganise diagnostics subcommand (#5205) 2021-02-25 12:53:47 +05:30
diagnostics.go cli: Remove the install-sp command (#6118) 2021-05-24 13:31:07 -07:00
doc.go Update proxy annotations docs (#6051) 2021-04-22 15:46:02 -05:00
endpoints.go add resource aware completion for core linkerd cmd (#6217) 2021-06-07 10:45:19 -05:00
endpoints_test.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
identity.go add resource aware completion for core linkerd cmd (#6217) 2021-06-07 10:45:19 -05:00
inject.go Spelling (#6215) 2021-06-07 15:16:59 -06:00
inject_test.go Add support for awaiting proxy readiness (#5967) 2021-04-21 17:43:23 -04:00
inject_util.go Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
install-cni-plugin.go extension: Add new jaeger binary (#5278) 2020-11-25 20:10:35 +05:30
install-cni-plugin_test.go docker: Access container images via cr.l5d.io (#5756) 2021-02-17 14:31:54 -08:00
install.go Remove the `linkerd-controller` pod (#6039) 2021-04-19 09:57:45 -05:00
install_cni_helm_test.go Removed "do-not-edit" entries from values.yaml files (#5758) 2021-02-19 09:17:45 -05:00
install_helm_test.go Schedule heartbeat 10 mins after install (#5973) 2021-03-31 07:49:36 -05:00
install_test.go Schedule heartbeat 10 mins after install (#5973) 2021-03-31 07:49:36 -05:00
main_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
metrics.go add resource aware completion for core linkerd cmd (#6217) 2021-06-07 10:45:19 -05:00
metrics_diagnostics_util.go Linkerd CLI command to get control plane diagnostics (#4050) 2020-02-24 09:09:54 -08:00
metrics_diagnostics_util_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
options.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
profile.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
profile_test.go viz: add viz profile command (#5621) 2021-02-01 19:02:46 -05:00
range_slice.go
range_slice_test.go
repair.go Spelling (#6215) 2021-06-07 15:16:59 -06:00
root.go add resource aware completion for core linkerd cmd (#6217) 2021-06-07 10:45:19 -05:00
test_helper.go Refactor upgrade tests to remove use of golden files (#4860) 2020-08-11 09:22:29 -07:00
uninject.go CLI: add `--opaque-ports` flag to `inject` (#5851) 2021-03-02 08:59:09 -08:00
uninject_test.go viz: add render golden tests (#5433) 2021-01-12 11:59:16 +05:30
uninstall.go Add support for legacy names in extension uninstall (#6226) 2021-06-08 20:18:52 +05:30
upgrade.go Spelling (#6215) 2021-06-07 15:16:59 -06:00
upgrade_legacy.go values: removal of .global field (#5699) 2021-02-11 23:38:34 +05:30
upgrade_test.go Provide CA cert as env var to identity controller. (#5690) 2021-02-22 10:30:43 -05:00
version.go Removed `Version` API from the public-api (#6000) 2021-04-16 11:23:55 -05:00