Lantao Liu
129d060e10
Update README.d and graphs.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-20 21:11:23 +00:00
Jose Carlos Venegas Munoz
ca16bd601a
runtime: Add trusted runtime option
...
Some CRI compatible runtimes may not support provileged operations.
Specifically hypervisor based runtimes (like kata-containers, cc-runtime
and runv) do not support privileged operations like:
- Provide access to the host namespaces
- Create fully privileged containers with access to host devices
Hypervisor based runtimes create container workloads within virtual machines.
When a running host privileged containers using them,
they wont provide support to requested the privileged opertations.
This commits add the new options to define two runtimes:
Trusted runtime : Used when a privileged container is requested.
Default runtime : for non-privileged workloads.
A container that belongs to a privileged pod will inherent this property
an will be created with the trusted runtime.
- Add options to define trusted runtime
- Add logic to decide if a sanbox is trusted
- Export annotation containers below to a trusted sandbox
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-03-20 13:56:49 -06:00
Lantao Liu
7f959b6dd5
Merge pull request #684 from Random-Liu/fix-kube-up-and-docs
...
Fix for kube-up.sh and update several documments.
2018-03-20 10:18:14 -07: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
013ab03a53
Merge pull request #683 from Random-Liu/rename-variables
...
Rename all variables to remove "cricontainerd".
2018-03-19 15:45:45 -07:00
Lantao Liu
387da59ee5
Rename all variables to remove "cricontainerd".
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-19 21:59:32 +00:00
Lantao Liu
9afdd1956b
Merge pull request #680 from Random-Liu/fix-containerd-test
...
Only set deploy dir.
2018-03-19 11:41:50 -07:00
Lantao Liu
bce3310d5b
Only set deploy path.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-19 17:32:13 +00:00
Lantao Liu
a612c3f107
Merge pull request #677 from Random-Liu/all-metadata-to-file
...
Write all instance metadata to files.
2018-03-17 04:50:40 -07:00
Lantao Liu
83da5a17fa
Merge pull request #678 from Random-Liu/use-pkg-errors
...
Use `github.com/pkg/errors`
2018-03-17 04:50:03 -07:00
Lantao Liu
e1fe1abff0
Use github.com/pkg/errors
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-17 02:24:38 +00:00
Lantao Liu
1cf018f39f
Write all instance metadata to files.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-17 01:49:04 +00:00
Lantao Liu
916e99d0ad
Merge pull request #675 from Random-Liu/fix-containerd-repo-test
...
Fix containerd repo test.
2018-03-16 16:43:53 -07:00
Lantao Liu
948d3132c9
Merge pull request #674 from abhi/master
...
Removing DAD config and updating plugins to v0.7.0
2018-03-16 16:32:01 -07:00
Lantao Liu
47855119ab
Merge pull request #667 from mikebrow/doc-updates-cri-move
...
docs update for cri-containerd to cri move
2018-03-16 16:24:40 -07:00
Lantao Liu
524177e3ef
Fix containerd repo test.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-16 23:06:25 +00:00
abhi
2bdf428eb7
Removing DAD config and updating plugins to v0.7.0
...
Signed-off-by: abhi <abhi@docker.com>
2018-03-16 14:46:46 -07:00
Mike Brown
0ee7614785
docs update for cri-containerd to cri move
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-03-16 15:33:17 -05:00
Lantao Liu
65b5240b29
Merge pull request #673 from Random-Liu/test-containerd-repo
...
Test containerd repo
2018-03-16 13:04:41 -07:00
Lantao Liu
a69f3555da
Add build-containerd.sh to build containerd from existing repo
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-16 17:51:29 +00:00
Lantao Liu
0b8e9060d7
Sync vendors with containerd
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-16 06:39:01 +00:00
Lantao Liu
1dcbf4f742
Merge pull request #663 from abhi/cni
...
Moving to use go-cni library from containerd
2018-03-15 17:53:50 -07:00
Lantao Liu
5e5a5f50d1
Merge pull request #671 from Random-Liu/ctrcri-to-ctr-cri
...
Ctrcri to ctr cri
2018-03-15 17:14:59 -07:00
abhi
a1f4516661
Vendoring changes
...
Signed-off-by: abhi <abhi@docker.com>
2018-03-15 17:05:36 -07:00
abhi
003bbd4292
Modifying fake cni plugin
...
Signed-off-by: abhi <abhi@docker.com>
2018-03-15 17:05:33 -07:00
Lantao Liu
1eaef9ee10
Merge pull request #669 from Random-Liu/cleanup-event-backoff
...
Cleanup event backoff.
2018-03-15 16:28:59 -07:00
Lantao Liu
45f4037d3d
Merge pull request #670 from Random-Liu/enable-promic-mode
...
Enable promisc mode because Kubernetes network model needs it.
2018-03-15 16:27:54 -07: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
62d1f13217
Update containerd to 3c1ef1a714
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-15 23:21:32 +00:00
Lantao Liu
b82ca71b61
Enable promisc mode because Kubernetes network model needs it.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-15 22:21:10 +00:00
Lantao Liu
d389af83a9
Cleanup event backoff.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-15 18:49:36 +00:00
Lantao Liu
eff311d493
Merge pull request #628 from yanxuean/nits
...
Handle containerd event reliably
2018-03-15 11:35:59 -07:00
yanxuean
c751847350
Handle containerd event reliably
...
fix #434
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-03-15 17:14:02 +08:00
yanxuean
7583bce4ab
some comments
...
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-03-15 15:55:54 +08:00
abhi
92110e1d74
Moving to use go-cni library from containerd
...
This fix aims to use the cni library form containerd.
The library avoid usage of nsenter.
Signed-off-by: abhi <abhi@docker.com>
2018-03-14 19:25:54 -07:00
Lantao Liu
0c87604068
Merge pull request #630 from Random-Liu/add-cli-package
...
Add CLI package for `ctr` to use.
2018-03-13 17:51:50 -07:00
Lantao Liu
22b1d526ce
Add CLI package for ctr
to use.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-13 23:51:45 +00:00
Lantao Liu
582975a903
Merge pull request #661 from mikebrow/rename-cri-containerd
...
renames cri-containerd to cri
2018-03-13 16:48:30 -07:00
Mike Brown
d4e7154625
move links for cri-containerd to cri
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-03-13 17:06:26 -05:00
Lantao Liu
135f667963
Merge pull request #658 from Random-Liu/direct-function-call
...
Direct function call
2018-03-13 10:26:58 -07:00
Lantao Liu
122909844e
Merge pull request #651 from miaoyq/add-doc-for-registry-config
...
Add document about registry configuration
2018-03-12 21:57:07 -07:00
Lantao Liu
f0a500a390
Use direct function call.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-13 04:51:19 +00:00
Lantao Liu
edb38dfecc
Update containerd to 3013762fc5
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-13 04:41:11 +00:00
Lantao Liu
80b2f751d3
Merge pull request #654 from stevvooe/simplify-stopch
...
pkg/store: use a sync.Once to synchronize channel close
2018-03-09 15:29:32 -08:00
Lantao Liu
e20c6eb8a8
Merge pull request #558 from Random-Liu/report-containerd-version
...
Report containerd version instead of cri-containerd version.
2018-03-09 15:25:32 -08:00
Stephen J Day
4ed26f3116
pkg/store: use a sync.Once to synchronize channel close
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2018-03-09 14:43:16 -08:00
Yanqiang Miao
4a8060f08b
Add document about registry configuration
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2018-03-08 11:02:57 +08:00
Abhinandan Prativadi
1f28f8d2fe
Merge pull request #650 from Random-Liu/fix-resolver
...
Handles 401 in resolver.
2018-03-07 10:59:43 -08:00
Lantao Liu
5b3895932f
Merge pull request #648 from Random-Liu/fix-context
...
Fix cleanup context.
2018-03-07 00:03:59 -08:00
Lantao Liu
40c8372f0e
Handles 401 in resolver.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-07 07:35:02 +00:00