|
...
|
...
|
@@ -672,14 +672,14 @@ The options are:
|
|
672
|
672
|
|:----------------------|:-------------------------------------------------|
|
|
673
|
673
|
|`-f` *filename* | Write to *filename* instead of standard output. |
|
|
674
|
674
|
|`--as-template` *name* | Output in template format with name *name*. |
|
|
675
|
|
-|`--all` | Select all objects with given *resource-type*. |
|
|
|
675
|
+|`--all-namespace` | If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace. |
|
|
676
|
676
|
|`--exact` | Preserve fields that may be cluster specific, such as service `portalIP`s or generated names. |
|
|
677
|
677
|
|`--raw` | Do not alter the resources in any way after they are loaded. |
|
|
678
|
678
|
|
|
679
|
679
|
The following example exports all services to a template with name `test`.
|
|
680
|
680
|
|
|
681
|
681
|
```bash
|
|
682
|
|
-$ oc export service --all --as-template=test
|
|
|
682
|
+$ oc export service --as-template=test
|
|
683
|
683
|
```
|
|
684
|
684
|
|
|
685
|
685
|
## Settings Commands
|