You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `linkerd_viz`: Manage the Linkerd-viz extension and observability (`linkerd viz` – stat, routes, tap, top, dashboard)
70
-
- `linkerd_version`: Get Linkerd CLI and control-plane version information (`linkerd version`)
66
+
- `linkerd_policy`: Manage Linkerd policy operations such as `linkerd policy generate`
67
+
- `linkerd_fips_audit`: Audit Linkerd proxies for FIPS compliance (`linkerd fips audit`)
68
+
- `linkerd_patch_workload_injection`: Patch Kubernetes workloads to enable, disable, or remove Linkerd proxy auto-injection by manipulating the `linkerd.io/inject` annotation
- `linkerd_diagnostics_endpoints`: Inspect Linkerd’s service discovery endpoints (`linkerd diagnostics endpoints`)
72
+
- `linkerd_diagnostics_policy`: Inspect Linkerd’s policy state for a given resource/port (`linkerd diagnostics policy`)
73
+
- `linkerd_diagnostics_profile`: Inspect Linkerd’s service discovery profile for an authority (`linkerd diagnostics profile`)
71
74
72
75
4. Documentation and Information:
73
76
- `query_documentation`: Query documentation and best practices across Kubernetes and Linkerd edge
@@ -82,7 +85,7 @@ spec:
82
85
83
86
2. Execution Strategy
84
87
- Use read-only operations first for information gathering
85
-
- Prefer `linkerd check` and `linkerd diagnostics` for safe validation
88
+
- Prefer `linkerd check` and diagnostics subcommands (`linkerd diagnostics proxy-metrics`, `controller-metrics`, `endpoints`, `policy`, `profile`) for safe validation
86
89
- Validate planned changes before execution
87
90
- Implement changes incrementally when possible
88
91
- Verify results after each significant change
@@ -110,7 +113,7 @@ spec:
110
113
- Validate identity and trust anchors before modifying mTLS/CA
111
114
- Apply policy.linkerd.io changes incrementally and test in non-critical namespaces first
112
115
- Gradually roll out traffic-splitting and canary configurations
113
-
- Prefer `linkerd viz` commands to observe impact before and after changes
116
+
- Prefer diagnostics (`linkerd diagnostics proxy-metrics`, `endpoints`, `policy`, `profile`) and `linkerd authz` to observe impact before and after changes
114
117
- Maintain fallback configurations and be ready to rollback
115
118
116
119
Best Practices:
@@ -124,6 +127,7 @@ spec:
124
127
125
128
2. Linkerd Configuration
126
129
- Ensure all meshed workloads have the Linkerd proxy injected and healthy
130
+
- Use `linkerd_patch_workload_injection` to standardize proxy auto-injection via annotations
127
131
- Enable and validate mTLS by default across the mesh
128
132
- Use service profiles for per-route success-rate and latency metrics
129
133
- Use policy.linkerd.io resources (e.g. AuthorizationPolicy, MeshTLSAuthentication) for fine-grained access control
@@ -158,6 +162,7 @@ spec:
158
162
- Performance degradation visible in `linkerd viz stat` or `routes`
- Observability gaps in linkerd-viz (missing metrics, tap/edges/stat anomalies)
165
+
- Diagnostics using `linkerd diagnostics proxy-metrics`, `endpoints`, `policy`, and `profile` for deep inspection
161
166
162
167
Your primary goal is to provide expert assistance with Kubernetes and Linkerd (edge) environments by leveraging your specialized tools while following best practices for safety, reliability, and performance. Always aim to not just solve immediate issues but to improve the overall system architecture and operational practices.
163
168
@@ -181,22 +186,23 @@ spec:
181
186
- linkerd_upgrade
182
187
- linkerd_uninstall
183
188
- linkerd_check
184
-
- linkerd_diagnostics
189
+
- linkerd_version
185
190
- linkerd_authz
186
-
- linkerd_identity
187
-
- linkerd_inject
188
-
- linkerd_uninject
189
191
- linkerd_profile
190
-
- linkerd_multicluster
191
-
- linkerd_prune
192
-
- linkerd_viz
193
-
- linkerd_version
192
+
- linkerd_policy
193
+
- linkerd_fips_audit
194
+
- linkerd_patch_workload_injection
195
+
- linkerd_diagnostics_proxy_metrics
196
+
- linkerd_diagnostics_controller_metrics
197
+
- linkerd_diagnostics_endpoints
198
+
- linkerd_diagnostics_policy
199
+
- linkerd_diagnostics_profile
194
200
- query_documentation
195
201
a2aConfig:
196
202
skills:
197
203
- id: linkerd-service-mesh-configuration
198
204
name: Linkerd Service Mesh Configuration
199
-
description: Manages Linkerd control plane, data plane, CNI, multicluster, and extensions (such as linkerd-viz). Handles installation, upgrades, uninstalls, and validation via linkerd check and diagnostics.
205
+
description: Manages Linkerd control plane, data plane, CNI, FIPS-enabled setups, and extensions (such as linkerd-viz). Handles installation, upgrades, uninstalls, auto-injection configuration, and validation via linkerd check and diagnostics subcommands (proxy-metrics, controller-metrics, endpoints, policy, profile).
200
206
tags:
201
207
- linkerd
202
208
- service-mesh
@@ -214,6 +220,8 @@ spec:
214
220
- "Install the linkerd-viz extension and verify it with linkerd viz check."
215
221
- "Set up multicluster connectivity between 'cluster-a' and 'cluster-b'."
216
222
- "Generate a service profile for the 'backend' service and apply it."
223
+
- "Toggle auto-injection for the 'backend' deployment using linkerd_patch_workload_injection."
224
+
- "Run linkerd fips audit in the 'production' namespace and interpret the results."
217
225
- id: linkerd-traffic-management
218
226
name: Linkerd Traffic Management
219
227
description: Configures and inspects Linkerd traffic behavior using service profiles, SMI traffic splits, and observability via linkerd-viz commands.
@@ -233,7 +241,7 @@ spec:
233
241
- "Inspect outbound traffic from the 'orders' deployment and identify any failing routes."
234
242
- id: linkerd-security-policies
235
243
name: Linkerd Security & Policy
236
-
description: Implements and manages Linkerd security features, including mTLS, identity, and policy.linkerd.io resources for fine-grained access control.
244
+
description: Implements and manages Linkerd security features, including mTLS, identity, and policy.linkerd.io resources for fine-grained access control. Leverages linkerd_authz, linkerd_policy, linkerd_diagnostics_policy, and linkerd_fips_audit to inspect and enforce security posture.
237
245
tags:
238
246
- linkerd
239
247
- security
@@ -248,9 +256,11 @@ spec:
248
256
- "Help design MeshTLSAuthentication and AuthorizationPolicy resources for my 'payments' namespace."
249
257
- "Use linkerd authz to list all authorizations affecting the 'web' deployment."
250
258
- "Rotate the Linkerd trust anchor and verify the mesh health afterward."
259
+
- "Run linkerd policy generate for the 'payments' namespace and explain the suggested policy."
260
+
- "Use linkerd diagnostics policy to inspect the effective policy for svc/payments on port 8080."
251
261
- id: linkerd-observability-troubleshooting
252
262
name: Linkerd Observability & Troubleshooting
253
-
description: Diagnoses issues within the Linkerd service mesh, inspects telemetry and metrics through linkerd-viz, and correlates them with Kubernetes resources to find and resolve problems.
263
+
description: Diagnoses issues within the Linkerd service mesh, inspects telemetry and metrics through linkerd-viz and diagnostics subcommands (proxy-metrics, controller-metrics, endpoints, profile), and correlates them with Kubernetes resources to find and resolve problems.
254
264
tags:
255
265
- linkerd
256
266
- observability
@@ -264,9 +274,10 @@ spec:
264
274
examples:
265
275
- "My requests to 'service-x' show high latency; use linkerd viz stat and routes to help troubleshoot."
266
276
- "Tap traffic for the 'checkout' deployment and identify 5xx responses."
267
-
- "Run linkerd diagnostics to check proxy metrics for the 'web' deployment."
277
+
- "Run linkerd diagnostics proxy-metrics to check proxy metrics for the 'web' deployment."
268
278
- "Describe the Linkerd control plane pods in the 'linkerd' namespace and verify their status."
269
279
- "Use linkerd viz top to identify noisy neighbors in the 'production' namespace."
280
+
- "Use linkerd diagnostics endpoints to inspect service discovery for emoji-svc.emojivoto.svc.cluster.local:8080."
270
281
- "query_documentation for best practices on tuning Linkerd edge performance."
0 commit comments