mirror of
https://github.com/clearlinux/rkt.git
synced 2026-11-22 03:53:23 +00:00
Merge pull request #868 from techtonik/patch-1
commands.md Fix link to pod lifecycle docs
This commit is contained in:
@@ -321,7 +321,7 @@ Work in progress. Please contribute!
|
||||
|
||||
rkt has a built-in garbage collection command that is designed to be run periodically from a timer or cron job. Stopped pods are moved to the garbage and cleaned up during a subsequent garbage collection pass. Each `gc` pass removes any pods remaining in the garbage past the grace period. [Read more about the pod lifecycle][gc-docs].
|
||||
|
||||
[gc-docs]: pod-lifecycle.md#garbage-collection
|
||||
[gc-docs]: devel/pod-lifecycle.md#garbage-collection
|
||||
|
||||
```
|
||||
$ rkt gc --grace-period=30m0s
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ import (
|
||||
"github.com/coreos/rkt/pkg/sys"
|
||||
)
|
||||
|
||||
// see Documentation/pod-lifecycle.md for some explanation
|
||||
// see Documentation/devel/pod-lifecycle.md for some explanation
|
||||
|
||||
type pod struct {
|
||||
*lock.FileLock
|
||||
|
||||
Reference in New Issue
Block a user