Vincent Batts
d7df1b4f82
Merge pull request #263 from vbatts/printable
...
*: printable documents
2015-12-21 15:54:14 -05:00
Qiang Huang
9ffb3ef4ee
Merge pull request #277 from runcom/missing-pointer
...
runtime_config_linux.go: add missing pointer
2015-12-21 21:04:28 +08:00
Antonio Murdaca
592f7547bf
runtime_config_linux.go: add missing pointer
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-19 12:39:16 +01:00
Mrunal Patel
e298027a52
Merge pull request #233 from vishh/uint64
...
Fix cgroups value types in the spec.
2015-12-18 17:50:36 -08:00
Vishnu kannan
488f174af9
Make optional Cgroup related config params pointers along with `omitempty` json tag.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-18 17:43:27 -08:00
Michael Crosby
e79365a749
Merge pull request #268 from wking/lifecycle-runtime.json
...
lifecycle: Mention runtime.json
2015-12-17 10:58:22 -08:00
Mrunal Patel
72ba8bf82e
Merge pull request #272 from vbatts/roadmap-link
...
roadmap: update links and add wiki reference
2015-12-17 09:40:21 -08:00
Vincent Batts
b7a4db3146
roadmap: update links and add wiki reference
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-12-16 16:37:50 -05:00
W. Trevor King
0a55d5ca5a
lifecycle: Mention runtime.json
...
As discussed earlier [1,2]. I'm in favor of rolling it back into
config.json [3], but we aren't there yet [4].
[1]: https://github.com/opencontainers/specs/pull/231#discussion_r43262848
[2]: https://github.com/opencontainers/specs/pull/231/files#r46735828
[3]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/0QbyJDM9fWY
Subject: Single, unified config file (i.e. rolling back specs#88)
Date: Wed, 4 Nov 2015 09:53:20 -0800
Message-ID: <20151104175320.GC24652@odin.tremily.us>
[4]: 4a63e81a80/bundle.md (container-format)
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-12-16 09:41:45 -08:00
Qiang Huang
7c17452142
Merge pull request #269 from wking/lifecycle-state-path
...
lifecycle: Don't require /run/opencontainer/<runtime>/containers
2015-12-15 16:41:06 +08:00
Vish Kannan
56b88759a6
Merge pull request #235 from yangdongsheng/kmem_tcp
...
cgroup: Add support for memory.kmem.tcp.limit_in_bytes
2015-12-14 21:39:53 -08:00
W. Trevor King
f89cb852ae
lifecycle: Don't require /run/opencontainer/<runtime>/containers
...
We already require it for Linux/Unix-based systems [1], so we don't
have to repeat it here. And other systems will use different paths,
which we haven't specified yet. When I asked why we didn't specify a
path for Windows [2], Vincent said we were waiting on help from PoC
implementations [3]. So this commit punts the location to the "State"
section, and lets the "Lifecycle" section just focus on when the
write-to-filesystem happens.
There's also discussion about removing the filesystem state registry
completely [4], in which case we'd want to remove the whole line from
the lifecycle.
[1]: 7713efc1be (diff-b84a8d65d8ed53f4794cd2db7e8ea731L7)
[2]: https://github.com/opencontainers/specs/pull/211#discussion_r41066673
[3]: https://github.com/opencontainers/specs/pull/211#discussion_r41067134
[4]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/q6TYqVZOcX8
Subject: removal of /run/opencontainer/containers
Date: Wed, 25 Nov 2015 14:29:35 +0000
Message-ID: <CAD2oYtNipt3i_C6=J4Bc-jwauo5YAvKXUqTROnPNP3vZ9+C5Vw@mail.gmail.com>
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-12-14 10:46:21 -08:00
Vincent Batts
772f073960
Merge pull request #255 from hqhq/hq_clarify_hooks
...
Clarify the meaning of hook elements
2015-12-09 13:32:59 -05:00
Vincent Batts
4ee036fcd2
*: printable documents
...
I do not like having this build step of printable documentation
depending on pulling a container, but the pandoc+latex combo is a big
bundle. This is the minimal and cleanest approach for using these tools,
for now.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-12-09 13:23:03 -05:00
Vincent Batts
82cfe56140
Merge pull request #231 from mrunalp/lifecycle
...
Add lifecycle for containers
2015-12-09 13:03:29 -05:00
Vincent Batts
58f6cab5ff
Merge pull request #251 from hqhq/hq_change_cgroupsPath
...
Change the behavior when cgroupsPath is absent
2015-12-08 13:46:53 -05:00
Michael Crosby
458a76410d
Merge pull request #260 from mikebrow/RFC2119
...
adds text describing the upper-case keywords used in the spec
2015-12-04 14:12:51 -08:00
Mrunal Patel
4a63e81a80
Merge pull request #144 from wking/state-version-example
...
runtime: Add 'version' to the state.json example
2015-12-04 13:12:12 -08:00
Mrunal Patel
8cbabfc616
Merge pull request #257 from nponeccop/patch-1
...
Example lists "root' but text mentions "bundlePath"
2015-12-04 12:54:58 -08:00
Mrunal Patel
6203f575db
Merge pull request #261 from coolsvap/update-typo
...
Update Typo in ROADMAP.md
2015-12-04 12:54:10 -08:00
Mrunal Patel
7713efc1be
Add lifecycle for containers
...
The lifecycle described is generic and should apply all platforms.
It provides leeway for the runtimes to be flexible in how they
implement it.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-12-04 15:52:39 -05:00
Vincent Batts
2b7ae6a3f9
Merge pull request #262 from hqhq/hq_host_specific
...
Add hyphen for host specific
2015-12-04 12:07:07 -06:00
Mike Brown
57a196a0a0
adds text describing the upper-case keywords used in the spec
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2015-12-04 09:32:23 -06:00
Swapnil Kulkarni (coolsvap)
34e7f47e17
Update Typo in ROADMAP.md
...
Signed-off-by: Swapnil Kulkarni <me@coolsvap.net>
2015-12-04 13:27:29 +05:30
Qiang Huang
f4f5c14a4e
Add hyphen for host specific
...
We have `host-specific` and `host specific` in the same doc,
add hyphen to keep consistency.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-12-04 14:39:34 +08:00
nponeccop
c19a920a9c
Example lists "root' but text mentions "bundlePath"
...
Signed-off-by: Andrii Melnykov <andy.melnikov@gmail.com>
2015-12-02 11:33:41 +02:00
W. Trevor King
889f775dcf
runtime: Add 'version' to the state.json example
...
The version field was added while 180df9d
(Add runtime state
configuration and structs, 2015-07-29, #87 ) was in-flight [1], and it
missed getting documented in the example.
[1]: https://github.com/opencontainers/specs/pull/87#issuecomment-135117343
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-12-01 14:54:45 -08:00
Qiang Huang
48049d2341
Clarify the semantics of hook elements
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-11-25 08:02:32 +08:00
Vincent Batts
8d66fdd863
Merge pull request #254 from hqhq/hq_fix_golint
...
Fix golint warnings
2015-11-19 19:29:20 +01:00
Qiang Huang
d663a5b022
Change the behavior when cgroupsPath is absent
...
The former definition was join "/" when `cgroupsPath` is absent, it's
not clear whether to join the root cgroup or create a sub cgroup under "/".
Join root cgroup would be a bad idea cause that's not what a container
should do. And craete a sub cgroup would be missing definition about what
the cgroup name should that be.
So I think we should leave this to implementations what the default
cgroup path should be.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-11-19 08:52:49 +08:00
Qiang Huang
f4db3f1b8e
Fix golint warnings
...
Codes in specs should be decent, first of all should make
golint happy.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-11-18 19:31:57 +08:00
Alexander Morozov
4066d59d29
Merge pull request #214 from wking/hostname-uts-namespace
...
config: Require a new UTS namespace for config.json's hostname
2015-11-17 16:08:38 -08:00
Mrunal Patel
169b3d874e
Merge pull request #252 from laijs/cpus-mems
...
runtime-config-linux.md: fix the type of cpus and mems
2015-11-17 16:00:40 -08:00
Mrunal Patel
6a0c370e2d
Merge pull request #249 from laijs/tail-spaces
...
ROADMAP.md: remove the tail spaces
2015-11-17 12:45:32 -08:00
Lai Jiangshan
a4d23949f6
runtime-config-linux.md: fix the type of cpus and mems
...
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-11-17 22:01:30 +08:00
Lai Jiangshan
b513f7954f
ROADMAP.md: remove the tail spaces
...
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-11-17 20:27:39 +08:00
Mrunal Patel
8faa71eb64
Merge pull request #240 from liangchenye/master
...
add testing framework to ROADMAP
2015-11-16 11:34:27 -08:00
Michael Crosby
80c7648843
Merge pull request #239 from crosbymichael/hqhq-maintainers
...
Add @hqhq as maintainer
2015-11-16 10:37:32 -08:00
Liang Chenye
4ebe55f4dd
add testing framework to ROADMAP
...
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-11-11 12:12:09 -08:00
Michael Crosby
46d949ea81
Merge pull request #230 from crosbymichael/roadmap
...
Add initial roadmap
2015-11-09 14:34:08 -08:00
Michael Crosby
4859f6da27
Add initial roadmap
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-09 14:32:13 -08:00
Michael Crosby
0563439d4c
Add @hqhq as maintainer
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-06 10:26:01 -08:00
Vincent Batts
2d8c7bcb95
Merge pull request #238 from duglin/ClarifyConfigs
...
Talk about host specific/independent instead of mutability
2015-11-03 09:56:52 -05:00
Michael Crosby
c979a0c7ff
Merge pull request #234 from cyphar/fix-pids-description
...
config: linux: update description of PidsLimit
2015-11-02 12:19:13 -08:00
Doug Davis
e14e82648c
Talk about host specific/independent instead of mutability
...
Cover my action item from this week's OCI call.
Also moved State json out of config.go since its not really part of
the config.json file/config.
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-30 07:34:53 -07:00
Aleksa Sarai
9b19cd2fab
config: linux: update description of PidsLimit
...
Fix a misleading comment for how PidsLimit works when given a limit of
0. In the PIDs controller, a limit of 0 is identical to a limit of 1,
since it is not possible to impose a limit on 0 processes.
As such, it makes no sense to distinguish the two values, rather the
value 0 (which is also the default value of an integer in Go) should
instead indicate no limit (which is the default for all new PIDs
controllers).
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2015-10-29 03:32:00 +11:00
Vincent Batts
ab4acc05ff
Merge pull request #199 from runcom/rework-runtime-config-linux
...
runtime: config: linux: add cgroups informations
2015-10-27 10:50:32 -04:00
Vincent Batts
f412443c41
Merge pull request #222 from vishh/oom-score
...
Add oom_score_adj to the runtime Spec.
2015-10-26 19:44:11 -04:00
Dongsheng Yang
e9a6d94848
cgroup: Add support for memory.kmem.tcp.limit_in_bytes
...
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
2015-10-26 15:25:54 -04:00
Vincent Batts
e71b6dd441
Merge pull request #227 from opencontainers/vbatts-no-hyphens
...
lifecycle: no hyphens
2015-10-21 14:39:56 -07:00