You are viewing docs for an older version of Linkerd.
View the latest docs.
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 |
--output -o | Output format. One of: yaml, json |
--proto | Output a service profile based on the given Protobuf spec file |
--template | Output a service profile template |