Mrunal Patel
c58bcc4ccf
docs: Document pids limit for crio
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-07-11 19:17:41 -07:00
Mrunal Patel
e49dd34657
Add support for container pids limit
...
We add a daemon level setting and will add a container
override once it is supported in CRI.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-07-11 14:59:52 -07:00
Mrunal Patel
e949508b17
Merge pull request #644 from umohnani8/man
...
Man pages were being created empty
2017-07-10 16:01:36 -07:00
Antonio Murdaca
6f75a27d96
Merge pull request #637 from mrunalp/image_volumes
...
Image volumes
2017-07-10 23:40:00 +02:00
umohnani8
26126085eb
Man pages were being created empty
...
This patch causes the man pages to be created with the correct content.
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-07-10 17:20:42 -04:00
Mrunal Patel
c85be90e1b
docs: Document image volumes option in man pages
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-07-10 13:46:14 -07:00
Mrunal Patel
de1cb64ee8
test: Add a test for image volume ignore
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-07-10 13:46:14 -07:00
Mrunal Patel
d40883d88c
container: Use ImageVolumes setting at container creation
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-07-10 13:46:14 -07:00
Mrunal Patel
dc55fd2f14
config: Add ImageVolumes configuration setting
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-07-10 13:46:14 -07:00
Mrunal Patel
59646cc520
Merge pull request #646 from mrunalp/fix_lint
...
lint: Use a fixed commit for gometalinter
2017-07-10 13:36:12 -07:00
Mrunal Patel
762f508d9c
lint: Use a fixed commit for gometalinter
...
Pulling latest code breaks our lint when unstable code is merged
into gometalinter.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-07-10 13:06:57 -07:00
Mrunal Patel
e1c0508fec
Merge pull request #633 from 14rcole/kpod-tag
...
Add `kpod tag` command
2017-07-06 12:16:13 -07:00
Ryan Cole
b84f064976
Add kpod tag
command
...
Add one or more tags to an image
Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
2017-07-06 10:10:51 -04:00
Antonio Murdaca
ea7045dfa8
Merge pull request #640 from mrunalp/test_with_cgroupfs
...
test: Use cgroupfs for tests
2017-07-06 16:06:42 +02:00
Mrunal Patel
0d0f651828
test: Use cgroupfs for tests
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-07-05 17:29:32 -07:00
Mrunal Patel
844c78ad81
Merge pull request #639 from apilloud/rlimit
...
server: containers inherit rlimits from server
2017-07-05 12:03:15 -07:00
Andrew Pilloud
1a01ca7251
server: inherit rlimits from server
...
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
2017-07-03 14:49:34 -07:00
Mrunal Patel
b9c1d58b36
Merge pull request #607 from umohnani8/master
...
Add version command to kpod
2017-06-30 13:38:20 -07:00
Mrunal Patel
39a5203a1d
Merge pull request #634 from alexlarsson/conmon-no-numstdio-fds
...
conmon: Change how we detect container exit
2017-06-30 12:08:31 -07:00
Alexander Larsson
3cf86e25a8
fixup! conmon: Change how we detect container exit
...
Signed-off-by: Alexander Larsson <alexl@redhat.com>
2017-06-29 23:20:12 +02:00
Alexander Larsson
c00f0dd848
conmon: Change how we detect container exit
...
Instead of waiting until stderr/out is closed and then waiting for
the container to exit we wait for the container to exit in the
gmainloop, in addition to everything else, exiting only when
the child dies.
We then drain any output in stderr/out after the child has exited.
Signed-off-by: Alexander Larsson <alexl@redhat.com>
2017-06-29 12:19:34 +02:00
umohnani8
9595d7900e
Add kpod version
...
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-06-27 16:48:24 -04:00
Mrunal Patel
91977d3989
Merge pull request #632 from tklauser/rm-prctl
...
utils: remove unused Prctl wrapper
2017-06-27 07:22:01 -07:00
Tobias Klauser
5523e7d99d
utils: remove unused Prctl wrapper
...
Remove the Prctl wrapper function which has been unused since commit
d2f6a4c0e2
. If a prctl wrapper would be needed in the future,
golang.org/x/sys provides unix.Prctl which could be used instead.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-06-27 09:48:25 +02:00
Antonio Murdaca
f3f8b67b76
Merge pull request #626 from mrunalp/pod_infra_oom
...
sandbox: Adjust OOM score of infra container to a low value
2017-06-26 18:38:50 +02:00
Antonio Murdaca
d1850d9993
Merge pull request #629 from mrunalp/oci_id
...
oci: Use container ID as ID instead of container name
2017-06-25 13:14:26 +02:00
Mrunal Patel
510d7d97d4
Merge pull request #605 from apilloud/hostport
...
server: Add support for hostPorts
2017-06-24 10:28:28 -07:00
Mrunal Patel
67504a02d5
oci: Use container ID as ID instead of container name
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-06-24 08:31:41 -07:00
Mrunal Patel
328e50fb50
Merge pull request #630 from runcom/fix-insecure-reg-flag
...
cmd/crio: fix reading insecure-registry flags
2017-06-24 08:23:25 -07:00
Antonio Murdaca
78e2fd3d5e
cmd/crio: fix reading insecure-registry flags
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-06-24 13:16:45 +02:00
Antonio Murdaca
efb71ae74e
Merge pull request #627 from mrunalp/crio_oom_score
...
contrib: Set the OOM Score Adjust of cri-o service to be low
2017-06-24 10:44:08 +02:00
Antonio Murdaca
da7ecdc7f8
Merge pull request #628 from mrunalp/annotation_id
...
container: Add containerID to annotations for the container
2017-06-24 10:43:03 +02:00
Antonio Murdaca
f88e5e677d
Merge pull request #623 from sboeuf/fix_bats
...
test: Make sure to have a running container before calling into "exec"
2017-06-24 10:42:33 +02:00
Sebastien Boeuf
c66081eafa
test: Make sure to have a running container before calling into "exec"
...
The test "ctr execsync std{out,err}" from ctr.bats works with runc,
but the semantics behind is wrong.
We should not be able to execute a new process on a container which
has not been previously started. That's why this patch adds a call
to start the container.
Moreover, we don't want to be able to execute a new process on a
container that has already returned because its workload is done.
For that reason, we need to force the container workload to be a
"sleep 10" to ensure it is still running when the call to "exec"
is issued.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2017-06-23 14:08:33 -07:00
Mrunal Patel
975347b874
container: Add containerID to annotations for the container
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-06-23 09:31:13 -07:00
Mrunal Patel
cb4c566fac
sandbox: Adjust OOM score of infra container to a low value
...
This matches the current kube behavior. This will probably
be provided over the CRI at which point we won't have to
define a constant in cri-o code.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-06-23 09:24:53 -07:00
Mrunal Patel
c7dd594604
contrib: Set the OOM Score Adjust of cri-o service to be low
...
We don't want cri-o to be OOM killed easily.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-06-23 09:04:27 -07:00
Antonio Murdaca
033f6885c1
Merge pull request #625 from tklauser/patch-1
...
tutorial: fix Kubernetes CRI interface link
2017-06-23 17:02:04 +02:00
Tobias Klauser
0a5cc41663
tutorial: fix Kubernetes CRI interface link
...
The Kubernetes Container Runtime Interface document was moved to https://github.com/kubernetes/community/blob/master/contributors/design-proposals/container-runtime-interface-v1.md . Adjust the URL in tutorial.md accordingly.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-06-23 09:06:03 +02:00
Mrunal Patel
4d46ae6e1e
Merge pull request #624 from rhatdan/vendor1
...
Vendor in latest opencontainers/runtime-tools
2017-06-22 17:00:45 -07:00
Andrew Pilloud
e4e982d78a
test: hostport network test
...
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
2017-06-22 15:46:15 -07:00
Dan Walsh
a9a1b04510
Vendor in latest opencontainers/runtime-tools
...
Signed-off-by: Dan Walsh <dwalsh@redhat.com>
2017-06-22 13:32:30 -04:00
Mrunal Patel
7cb47aeb21
Merge pull request #622 from alexlarsson/conmon-cleanup
...
Conmon cleanup
2017-06-22 10:05:35 -07:00
Mrunal Patel
59820df8e1
Merge pull request #619 from mrunalp/tty_logging_check
...
test: Tighten the grep for logging with tty
2017-06-22 10:02:54 -07:00
Andrew Pilloud
afc731d3a6
testdata: Remove hostport from sandbox_config
...
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
2017-06-22 08:51:50 -07:00
Andrew Pilloud
17359e34a6
server: init iptables without kube
...
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
2017-06-22 08:51:50 -07:00
Andrew Pilloud
a0e15abf5e
vendor: add hostport and deps
...
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
2017-06-22 08:51:50 -07:00
Andrew Pilloud
28cd8bde49
server: Hookup kubelet hostport
...
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
2017-06-22 08:51:50 -07:00
Mrunal Patel
91ea67a8ff
Merge pull request #618 from runcom/standard-names
...
server: standardize on naming
2017-06-22 07:16:39 -07:00
Alexander Larsson
c39868ad55
conmon: Add fds to mainloop where they are created
...
Signed-off-by: Alexander Larsson <alexl@redhat.com>
2017-06-22 16:09:27 +02:00