Commit Graph

49 Commits

Author SHA1 Message Date
Lantao Liu
bb4260cecb Set default "" to extra runtime handler.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-14 13:10:15 -07:00
Lantao Liu
9c9bf1d7a1
Merge pull request #1069 from tallclair/runtimehandler-setup
Expose environment variables for configuring an additional runtime handler
2019-03-14 00:22:42 -07:00
Tim Allclair
d7c5b246c6 Expose vars to configure an additional runtime handler
Expose environment variables in the GCE containerd configuration
script for configuring an additional runtime handler. This unblocks
E2E testing of custom runtime handlers.

Signed-off-by: Tim Allclair <tallclair@google.com>
2019-03-12 14:44:20 -07:00
Lantao Liu
ade85e643e Support docker 18.09 in the test script.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-11 00:55:08 -07:00
Lantao Liu
cfa8e06aee Remove the unused health-monitor.sh.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-13 11:21:51 -08:00
Lantao Liu
d1dcacf9ef Support netd in GCE bootstrap.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-07-30 23:37:00 -07:00
Lantao Liu
b3d6f16383 Serve streaming on localhost by default to match k8s 1.11 default.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-07-21 01:10:45 +00:00
Lantao Liu
bc99f7a7e8
Merge pull request #832 from Random-Liu/remove-crictl-on-gce
Remove crictl on GCE for all cases.
2018-06-26 18:39:46 -07:00
Lantao Liu
f580374825 Remove crictl on GCE for all cases.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-06-26 22:37:23 +00:00
Lantao Liu
f6ab733f9e Set stream server to serve on localhost on GCE.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-06-26 07:13:00 +00:00
Lantao Liu
b5d053f327 Make max container log line size configurable through cloud init.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-06-20 01:25:02 +00:00
Lantao Liu
0a5c05bcd4
Merge pull request #776 from Random-Liu/disable-streaming
Disable TLS streaming to work with new kubelet streaming proxy.
2018-06-01 00:48:44 -07:00
Bingshen Wang
7bd86a2252 Update cni.template
Format the cni.template, use `space` instead of some `tab`. Avoid indent issue in text editor.

Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com>
2018-05-28 16:04:44 +08: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
ebed87fa95 Fix kube-container-runtime-monitor.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-22 14:07:08 -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
6f43d493f9 Disable TLS streaming to work with new kubelet streaming proxy.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-05-18 19:02:03 -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
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
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
d1ba950abc Add log level support.
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
b2099c2061 Add cni config template support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-07 06:34:45 +00:00
Lantao Liu
ad7bffc093 Enable TLS streaming in all the setup.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-03 00:17:26 +00:00
Lantao Liu
ddda05211b Use systemd service cgroup and oom score adj.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-28 00:30:59 +00:00
Lantao Liu
904938fa9d Fix for kube-up.sh and update several documments.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-20 09:24:15 +00:00
Lantao Liu
7e67d96b9b Replace ctrcri with ctr cri.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-15 23:22:00 +00:00
Lantao Liu
936dcceb5a Update GCE cluster bootstrapping and e2e test
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-06 00:05:02 +00:00
Lantao Liu
ae7303dfbf Enable container log rotation.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-27 10:44:32 +00:00
Lantao Liu
460eed77ef
Merge pull request #611 from Random-Liu/fix-shutdown
Do not block on stream server close.
2018-02-14 14:09:56 -08:00
Lantao Liu
9b2d2a203c Add initial wait for health-monitor and use pkill -x.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-14 18:51:22 +00:00
Lantao Liu
6d538ccbf6 Do not block on stream server close.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-14 08:41:29 +00:00
Lantao Liu
a904f47c76 The ENV is finalized as KUBE_KUBELET_EXTRA_ARGS.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-08 18:48:46 +00:00
Lantao Liu
047df7aca6
Merge pull request #602 from mikebrow/critools-install-minor-update
update critools
2018-02-07 18:44:37 -08:00
Mike Brown
edb2b2379d change crictl sandboxes to pods; other references to sandboxes
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-02-07 17:23:59 -06:00
Lantao Liu
caf2bdb04a Update ocicni to main stream.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-07 19:39:06 +00:00
Lantao Liu
34dd28ab32
Merge pull request #586 from Random-Liu/add-ctrcri
Add a separate CLI for cri-containerd `ctrcri`.
2018-02-02 10:43:15 -08:00
Lantao Liu
3d94077144 Use registry-1.docker.io as backup
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-02 07:52:05 +00:00
Lantao Liu
1f1e03e001 Add a separate CLI for cri-containerd ctrcri.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-02 02:54:05 +00:00
Lantao Liu
59816f840f
Merge pull request #583 from Random-Liu/version-in-metadata
Put version into metadata so that version won't be changed across reboot.
2018-02-01 16:09:45 -08:00
Lantao Liu
fb8d1edb5c Put version into metadata so that version won't be changed across
restart.

Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-01 23:14:10 +00:00
Lantao Liu
ead704ddd3 Set registry mirror.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-01 18:49:09 +00:00
Lantao Liu
15bba777aa Configure container runtime cgroups for cgroup.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-30 02:56:03 +00:00
Lantao Liu
e7f2a74a84 Add runtime cgroup and fix a cli panic.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-25 22:32:57 +00:00
Lantao Liu
144ff3989b Update all glog flags to log-level.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-17 21:57:31 +00:00
Lantao Liu
282e906b5c Update containerd to 6c7abf7c76c1973d4fb4b0bad51691de84869a51.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-15 19:51:02 +00:00
Lantao Liu
7c8df861cc Add document for kube-up.sh
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-14 19:19:10 +00:00
Lantao Liu
ec975b2e7a Add OS and arch in release tarball.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-13 23:03:03 +00:00
Lantao Liu
3f008a9353 Add cluster directory and health-monitor.sh.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-12 08:38:52 +00:00