In what area(s)?
Describe the feature:
A kn service export should export a specific Knative service in yaml/json so that it can be easily recreated. It's different to kn service describe -o yaml as it strips all runtime specific elements like the status and metadata like the namespace. The idea is that the exported description can be easily committed to a CM system and re-created with kn service import (or kubectl apply -f if direct Kubernetes access is possible).
An extension could be to allow also an export of all attached revisions (like with --history), but that would imly also to export owner references and not sure whether revisions can be created manually.
In what area(s)?
Describe the feature:
A
kn service exportshould export a specific Knative service in yaml/json so that it can be easily recreated. It's different tokn service describe -o yamlas it strips all runtime specific elements like the status and metadata like the namespace. The idea is that the exported description can be easily committed to a CM system and re-created withkn service import(orkubectl apply -fif direct Kubernetes access is possible).An extension could be to allow also an export of all attached revisions (like with
--history), but that would imly also to export owner references and not sure whether revisions can be created manually.