Commit Graph

544 Commits

Author SHA1 Message Date
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
Qiang Huang 0f25f18b9b Clarify backwards compatibility for major version 0
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-11-18 18:55:41 +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
ChengTiesheng 153f13c9ef runtime-config-linux: clarify oom_score_adj
Signed-off-by: ChengTiesheng <chengtiesheng@huawei.com>
2015-10-29 11:36:03 +08: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
Vincent Batts 3298396296 lifecycle: no hypens
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-21 17:33:01 -04:00
Mrunal Patel 0936a9c36e Merge pull request #223 from vishh/maintainer
Adding Vishnu Kannan as a Maintainer.
2015-10-13 13:01:27 -07:00
Vishnu kannan edfdb182ad Adding Vishnu Kannan as a Maintainer.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-10-12 17:40:32 -07:00
Vishnu kannan 3829131e91
Add oom_score_adj to the runtime Spec.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-10-12 12:40:22 -07:00
Alexander Morozov f81d0250c9 Merge pull request #195 from wking/tooling-links
implementations: Add links to kunalkushwaha/octool and mrunalp/ocitools
2015-10-12 11:26:49 -07:00
Mrunal Patel cfa992b220 Merge pull request #221 from lizf-os/readme-fix-some-headers
README: Fix some headers
2015-10-08 09:29:05 -07:00
Vincent Batts 4e3c1c31f5 Merge pull request #220 from mrunalp/fix_extra_space
Remove extra space from VersionMinor
2015-10-08 10:08:33 -04:00
Zefan Li 3d789d74a8 README: Fix some headers
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-10-08 15:33:09 +08:00
Mrunal Patel 346a898ba8 Fix an extra space in VersionMinor
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-10-07 16:39:50 -04:00
Mrunal Patel cf8dd12093 Merge pull request #210 from duglin/modBundle
Cleanup bundle.md
2015-10-07 12:13:42 -07:00
Vincent Batts 663ba5286b Merge pull request #209 from duglin/modPrinciples
Cleanup principles
2015-10-07 15:04:15 -04:00
Doug Davis 106ec2daa0 Cleanup bundle.md
Mainly just moved stuff around, but also tried to add some clarity around
what is required w.r.t. naming and location of files/dirs.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-07 10:22:39 -07:00
Doug Davis 4dfd127f04 Cleanup principles
I didn't really change much, just moved somes stuff around and expanded
a little more in number 5.

I moved all of the physical shipping container stuff to just the into
because while its a cute analogy, repeating it over and over just got
in the way of the real point - and by number 5 we endedup having more text
about shipping containers than our containers - which was just weird.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-07 10:11:40 -07:00
Mrunal Patel 96cfd7c4b6 Merge pull request #218 from laijs/comma
Remove trailing comma in hooks json example
2015-10-07 08:32:09 -07:00
Vincent Batts a4db8e9f4d Merge pull request #217 from mrunalp/fix_ids
Use unsigned for IDs
2015-10-07 09:53:17 -04:00
Lai Jiangshan c619553ce7 Remove trailing comma in hooks json example
see also #196

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-10-07 16:49:29 +08:00
Mrunal Patel 7352b37e54 Use unsigned for IDs
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-10-06 14:40:46 -04:00
Michael Crosby 3633d035e8 Merge pull request #215 from vbatts/move-out-commit-validation
.tools: commit validator is a separate project
2015-10-06 10:13:42 -07:00
Vincent Batts ad149f934f .tools: commit validator is a separate project
Moving this tool to https://github.com/vbatts/git-validation so that
iteration on it will not be noise for this project.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-06 10:58:14 -04:00
W. Trevor King 66a0543e10 config: Require a new UTS namespace for config.json's hostname
The UTS namespace is for hostnames and NIS domain names [1].  Without
a new namespace, the hostname entry would clobber the host
environment's hostname.

Clobbering the host's hostname or a joined-namespace's hostname might
be acceptable for folks who trust their bundles, but it's not allowed
by the "error out if the config specifies anything else related to
that namespace" language that landed in 02b456e9 (Clarify behavior
around namespaces paths, 2015-09-08, #158).

[1]: http://man7.org/linux/man-pages/man7/namespaces.7.html

Signed-off-by: W. Trevor King <wking@tremily.us>
2015-10-05 20:20:31 -07:00
Vincent Batts 98e5ff7aae Merge pull request #212 from crosbymichael/wiki
Update readme with wiki link to minutes
2015-10-05 18:12:05 -04:00