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.8.3. DeploymentConfig オブジェクトのプルーニング
				使用年数やステータスによりシステムで不要となった DeploymentConfig オブジェクトをプルーニングするために、管理者は以下のコマンドを実行できます。
			
oc adm prune deployments [<options>]
$ oc adm prune deployments [<options>]
| オプション | 説明 | 
|---|---|
|   
								  |   ドライランを実行する代わりにプルーニングが実行されることを示します。  | 
|   
								  |   
								  | 
|   
								  |   
								  | 
|   
								  |   
								  | 
|   
								  |   
								現在の時間との対比で   | 
プルーニング操作によって削除されるものを確認するには、以下を実行します。
oc adm prune deployments --orphans --keep-complete=5 --keep-failed=1 \
    --keep-younger-than=60m
$ oc adm prune deployments --orphans --keep-complete=5 --keep-failed=1 \
    --keep-younger-than=60m
プルーニング操作を実際に実行するには、以下を実行します。
oc adm prune deployments --orphans --keep-complete=5 --keep-failed=1 \
    --keep-younger-than=60m --confirm
$ oc adm prune deployments --orphans --keep-complete=5 --keep-failed=1 \
    --keep-younger-than=60m --confirm