• GitHub
  • Slack
  • Linkerd Forum

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

FlagUsage
--ignore-clusterOutput a service profile through offline generation
--namespace
-n
Namespace of the service
--open-apiOutput a service profile based on the given OpenAPI spec file
--output
-o
Output format. One of: yaml, json
--protoOutput a service profile based on the given Protobuf spec file
--templateOutput a service profile template