Feb 21, 2024: Announcing Linkerd 2.15 with support for VM workloads, native sidecars, and SPIFFE! Read more »


profile

Output service profile config for Kubernetes.

Check out the service profile documentation for more details on what this command does and what you can do with service profiles.

Examples

# Output a basic template to apply after modification.
linkerd profile -n emojivoto --template web-svc

# Generate a profile from an OpenAPI specification.
linkerd profile -n emojivoto --open-api web-svc.swagger web-svc

# Generate a profile from a protobuf definition.
linkerd profile -n emojivoto --proto Voting.proto vote-svc

Flags

Flag Usage
--ignore-cluster Output a service profile through offline generation
--namespace
-n
Namespace of the service
--open-api Output a service profile based on the given OpenAPI spec file
--proto Output a service profile based on the given Protobuf spec file
--template Output a service profile template