Commit Graph

1141 Commits

Author SHA1 Message Date
Lantao Liu
450eb09a68
Merge pull request #782 from Random-Liu/update-containerd
Update containerd
2018-05-23 13:26:21 -07:00
Lantao Liu
60b0d08a6f Use containerd.WithPullUnpack.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-23 12:39:14 -07:00
Lantao Liu
4f00103c99 Disable restart plugin on GCE.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-23 12:39:14 -07:00
Lantao Liu
80188e253a Update containerd to d1435e6e4d.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-23 10:16:33 -07:00
Lantao Liu
a4ff7e9946
Merge pull request #781 from Random-Liu/fix-container-runtime-monitor
Fix kube-container-runtime-monitor.
2018-05-22 14:55:21 -07:00
Lantao Liu
ebed87fa95 Fix kube-container-runtime-monitor.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-22 14:07:08 -07:00
Lantao Liu
bafc79437b
Merge pull request #758 from Random-Liu/use-crictl-in-kube-up
Use crictl installed in kube-up.sh
2018-05-22 10:04:14 -07:00
Lantao Liu
927d37401d
Merge pull request #779 from Random-Liu/logo-fix
Another logo fix.
2018-05-22 10:03:13 -07:00
Lantao Liu
b4631cf707 Use crictl installed in kube-up.sh
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-21 18:55:19 -07:00
Lantao Liu
6c7ec48daf Another logo fix.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-21 18:05:30 -07:00
Lantao Liu
8566a8962a
Merge pull request #775 from mikebrow/readme-pub-imgs
use public logos for a while vs remote github logos not in this repo
2018-05-18 16:31:10 -07:00
Mike Brown
e10a24926d use public logos for a while vs remote github logos that are not in this repo
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-05-18 13:05:53 -05:00
Lantao Liu
9f8e58123b
Merge pull request #647 from mikebrow/boiler-support-for-no-year
makes copyright year optional
2018-05-16 17:10:01 -07:00
Lantao Liu
8d60547eb2
Merge pull request #769 from raravena80/patch-1
Minor typo
2018-05-15 14:53:48 -07:00
Lantao Liu
67908190c5
Merge pull request #768 from Random-Liu/upgrade-crictl
Upgrade cri-tools to v1.0.0-beta.1
2018-05-15 11:40:25 -07:00
Ricardo Aravena
f79e0171ca
Minor typo
Signed-off-by: Ricardo Aravena <raravena80@gmail.com>
2018-05-15 09:11:48 -07:00
Lantao Liu
9763489008 Upgrade cri-tools to v1.0.0-beta.1
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-14 19:29:52 -07:00
Lantao Liu
66388aefd5
Merge pull request #766 from Random-Liu/fix-workingset-memory
Fix workingset memory calculation.
2018-05-11 15:48:13 -07:00
Lantao Liu
5d29598a6d Fix workingset memory calculation.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-11 15:17:16 -07:00
Lantao Liu
7a6369deb1
Merge pull request #763 from Random-Liu/fix-ro-sysfs
Explicitly set `rw` for privileged container.
2018-05-07 17:52:29 -07:00
Lantao Liu
a5d1332e8f Explicitly set rw for privileged container.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-07 15:13:14 -07:00
Lantao Liu
5f4035ae2f
Merge pull request #754 from kolyshkin/mount
os.Unmount: do not consult mountinfo
2018-04-30 14:41:57 -07:00
Kir Kolyshkin
daeab40b45 os.Unmount: do not consult mountinfo, drop flags
1. Currently, Unmount() call takes a burden to parse the whole nine yards
of /proc/self/mountinfo to figure out whether the given mount point is
mounted or not (and returns an error in case parsing fails somehow).

Instead, let's just call umount() and ignore EINVAL, which results
in the same behavior, but much better performance.

This also introduces a slight change: in case target does not exist,
the appropriate error (ENOENT) is returned -- document that.

2. As Unmount() is always used with MNT_DETACH flag, let's drop the
flags argument. This way, the only reason of EINVAL returned from
umount(2) can only be "target is not mounted".

3. While at it, remove the 'containerdmount' alias from the package.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-04-30 12:54:10 -07:00
Lantao Liu
6bbbec5a8a
Merge pull request #755 from Random-Liu/always-mount-sysfs-rw
Always mount sysfs as `rw` for privileged container.
2018-04-27 11:03:19 -07:00
Lantao Liu
03bac61890
Merge pull request #756 from Random-Liu/update-cri-tools
Update cri-tools to fix `crictl logs` output.
2018-04-27 01:33:38 -07:00
Lantao Liu
2f370f6f5d Update cri-tools to fix crictl logs output.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-26 19:17:45 -07:00
Lantao Liu
279fa853a6 Always mount sysfs as rw.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-26 18:58:26 -07:00
Lantao Liu
8fec0469d9
Merge pull request #751 from Random-Liu/fix-official-release
Fix tarball ownership and containerd binary path for containerd.
2018-04-24 16:04:03 -07:00
Lantao Liu
e0d7078251 Fix tarball ownership and containerd binary path for containerd.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-24 13:05:31 -07:00
Lantao Liu
825563b20c
Merge pull request #750 from Random-Liu/download-from-official-release
Download containerd binaries from official release.
2018-04-24 11:31:54 -07:00
Lantao Liu
e22ebf420f Down containerd binaries from official release.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-24 01:23:44 -07:00
Lantao Liu
906ea173e5
Merge pull request #749 from Random-Liu/update-containerd
Update containerd before release.
2018-04-23 11:18:52 -07:00
Lantao Liu
d77a0c117e Update containerd before release.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-23 10:04:53 -07:00
Lantao Liu
09ff081784
Merge pull request #748 from Random-Liu/use-full-sock-path
Add `unix://` prefix for socket addresses used by CRI remote client.
2018-04-23 09:52:07 -07:00
Lantao Liu
06f53b4838 Add unix:// prefix for socket addresses used by CRI remote client.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-20 17:36:25 -07:00
Lantao Liu
59d7112bf9
Merge pull request #747 from Random-Liu/fix-fluentd-support
Add KUBE_CONTAINER_RUNTIME_NAME to fix fluentd support.
2018-04-20 11:23:31 -07:00
Lantao Liu
b3d15cf192 Add KUBE_CONTAINER_RUNTIME_NAME to fix fluentd support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-19 18:42:10 -07:00
Lantao Liu
b5906334fb
Merge pull request #745 from Random-Liu/use-preloaded-containerd
Try using preloaded containerd if no version is specified.
2018-04-19 14:45:36 -07:00
Lantao Liu
1a430d47c3 Try using preloaded containerd if no version is specified.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-19 01:31:23 -07:00
Lantao Liu
ba9b075683
Merge pull request #740 from Random-Liu/improve-gce-bootstrap
Improve gce bootstrapping in various ways.
2018-04-18 14:12:27 -07:00
Lantao Liu
d1ba950abc Add log level support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-18 13:34:19 -07:00
Lantao Liu
72ade6c4f5 Remove 10-containerd-net.conflist from cri-containerd-cni release tarball.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-18 13:34:19 -07:00
Lantao Liu
b2ebb735e7 Improve gce bootstrapping in various ways.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-18 13:34:19 -07:00
Lantao Liu
daa9f6008c
Merge pull request #743 from Random-Liu/fix-sandbox-stop-race
Fix sandbox stop race condition.
2018-04-18 13:28:54 -07:00
Lantao Liu
856534c846 Fix sandbox stop race condition.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-18 10:12:33 -07:00
Lantao Liu
290eec8e34
Merge pull request #739 from Random-Liu/fix-hostnet-port-forward
Fix portforward for host network.
2018-04-17 21:39:17 -07:00
Lantao Liu
d970636147 Update CRI validation test to include hostnet portforward test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-17 19:19:03 -07:00
Lantao Liu
c83a55d617
Merge pull request #734 from Random-Liu/update-containerd
Update containerd.
2018-04-17 10:01:48 -07:00
Lantao Liu
5cb4744f27 Fix portforward for host network.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-17 08:24:44 +00:00
Lantao Liu
19882b8028
Merge pull request #735 from mikebrow/track-golang-point-releases
start tracking golang updates for 1.10.x
2018-04-16 22:45:25 -07:00