This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.10.7.9. 既存オブジェクトからのテンプレートの作成
テンプレートをゼロから作成するのではなく、プロジェクトから既存のオブジェクトをテンプレート形式でエクスポートして、パラメーターおよび他のカスタマイズを追加して、テンプレート形式を変更することができます。プロジェクトのオブジェクトをテンプレート形式でエクスポートするには、以下を実行します。
oc export all --as-template=<template_name> > <template_filename>
$ oc export all --as-template=<template_name> > <template_filename>
					all ではなく、特定のリソースタイプや複数のリソースを置き換えることも可能です。他の例については、oc export -h を実行します。
				
					以下は、oc export all に含まれるオブジェクトタイプです。
				
- BuildConfig
 - Build
 - DeploymentConfig
 - ImageStream
 - Pod
 - ReplicationController
 - Route
 - Service