mirror of https://github.com/knative/client.git
1.5 KiB
1.5 KiB
kn revision list
List available revisions.
Synopsis
List revisions for a given service.
kn revision list [flags]
Examples
# List all revisions
kn revision list
# List revisions for a service 'svc1' in namespace 'myapp'
kn revision list -s svc1 -n myapp
Options
--all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
-h, --help help for list
-n, --namespace string List the requested object(s) in given namespace.
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
-s, --service string Service name
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
Options inherited from parent commands
--config string config file (default is $HOME/.kn/config.yaml)
--kubeconfig string kubectl config file (default is $HOME/.kube/config)
SEE ALSO
- kn revision - Revision command group