Commit Graph

4961 Commits

Author SHA1 Message Date
Archana Shinde
f2d9632bc0 network: Always bind back physical interfaces
In case of physical network interfaces, we explicitly
pass through them to the VM. We need to bind them back to
the host driver when the sandbox is stopped, irrespective if
the network namespace has been created by virtcontainers or not.

Fixes #384

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2018-06-16 22:55:15 -07:00
Graham Whaley
9858c98a69
Merge pull request #54 from Weichen81/master
configs: Add arm64 kernel config file for kata kvm guest
2018-06-15 18:06:48 +01:00
Wei Chen
a9be035f9e configs: Add arm64 kernel config file for kata kvm guest
As the Developer-Guide[1] mentioned, the progress of installing
guest kernel images need a default kernel config file. But for
Arm64 architecture, this config file is missing.
In this patch, we provide a default Arm64 kernel config file for
Linux kernel 4.14.x.

Notes:
[1] https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md

Signed-off-by: Wei Chen <Wei.Chen@arm.com>
2018-06-15 15:57:56 +00:00
Graham Whaley
bf68be0c05
Merge pull request #159 from nitkon/patch-1
developer-guide: use the correct kernel config file name
2018-06-15 13:53:19 +01:00
James O. D. Hunt
971fa5a900
Merge pull request #58 from nitkon/master
kernel: Rename x86 config and add kernel config for ppc64le
2018-06-15 12:02:10 +01:00
James O. D. Hunt
0de5e4741c
Merge pull request #153 from GabyCT/topic/addrhel
docs: Add RHEL installation guide.
2018-06-15 08:41:48 +01:00
Jose Carlos Venegas Munoz
439f6ad524
Merge pull request #63 from raravena80/master
pkg: Add bash completion
2018-06-14 22:09:11 -05:00
Nitesh Konkar
d7527c4f0e pkg: kernel: Get kernel config name from a script
Get kernel config name from tests/.ci/kata-arch.sh
script.

Fixes: #70

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-14 21:48:19 +05:30
nitkon
90c4d75c6c
developer-guide: use the correct kernel config file name
kernel_arch was being set to amd64 instead of x86_64
on intel. The kernel config file name starts with
x86_64 and hence this needs to be fixed.

Fixes:  #158

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-14 20:30:22 +05:30
James O. D. Hunt
cc42623c0a
Merge pull request #69 from jcvenegas/skip-test-pkgs
ci: Skip non working test.
2018-06-14 15:49:00 +01:00
Gabriela Cervantes
8bc69ec8cf docs: Add RHEL installation guide.
This will add the RHEL installation guide for the OBS packages for
kata runtime.

Fixes #86

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2018-06-14 05:40:11 -05:00
Jose Carlos Venegas Munoz
38a20d49a8 ci: Skip non working test.
Skip non working tests.

Fixes: #68

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-06-13 17:35:18 -05:00
Jose Carlos Venegas Munoz
72dca93263
Merge pull request #112 from Pennyzct/centos-rootfs
Support building centos-rootfs on Arm64
2018-06-13 09:48:11 -05:00
James O. D. Hunt
42821b7c0a
Merge pull request #378 from raravena80/master
subsystem: cli
2018-06-13 15:30:06 +01:00
Nitesh Konkar
50faaf7e78 kernel: add config file for ppc64le
Add config file for ppc64le.

Fixes: #60

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-13 19:30:01 +05:30
James O. D. Hunt
3f31643452
Merge pull request #395 from WeiZhang555/fix-url
docs: fix invalid urls
2018-06-13 14:10:28 +01:00
Zhang Wei
45d0816623 docs: fix invalid urls
Fixes: #391

Replace invalid urls with new legal ones.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2018-06-13 20:35:30 +08:00
James O. D. Hunt
a0a0a7b4ac
Merge pull request #145 from jodh-intel/install-guides-move-docker
docs: Split docker install into separate docs
2018-06-13 10:50:29 +01:00
James O. D. Hunt
ce077f0b96 docs: Split docker install into separate docs
The install guides assumed that users wanted to install Docker. Since
there are other container managers, split the Docker-specific
instructions into separate documents (with backlinks) and allow the
user to choose between Docker or Kubernetes from the install guides.

Fixes #144.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-06-13 10:47:30 +01:00
James O. D. Hunt
967f03aa01 docs: Properly format distro names
Ensure the first mention of all the distro names in the install guides:

- Have the required asterisk after the name.
- Have a link to the website.

Also folded the overly long lines.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-06-13 10:47:30 +01:00
James O. D. Hunt
26b67468dd
Merge pull request #152 from nitkon/master
docs: Make "Install guest kernel images" arch-sensitive
2018-06-13 09:20:37 +01:00
Penny Zheng
0451db9f4e rootfs-builder: Support building centos-rootfs on Arm64
For now, mirrorlist doesn't support non-x86_64 arch, so we need
create baseurl for arm64. Furthermore, we also need to offer
arm64-specific gpg keys along with the regular key.

Fixes: #111

Signed-off-by: Penny Zheng <penny.zheng@arm.com>
2018-06-13 07:21:17 +00:00
Ricardo Aravena
8f2a3d5a17
pkg: Add bash completion
Fixes #59

Signed-off-by: Ricardo Aravena <raravena@branch.io>
2018-06-12 09:37:49 -07:00
Nitesh Konkar
a47e243e10 docs: Make "Install guest kernel images" arch-sensitive
Make "Install guest kernel images" in Developer-Guide
arch specific.

Fixes: #140

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-12 16:15:09 +05:30
James O. D. Hunt
b71e2f389d
Merge pull request #147 from grahamwhaley/20180806_move_zun
Zun: Move to subdir and add to README
2018-06-12 10:57:16 +01:00
Graham Whaley
5d413bc5ac limitations: update URL for CPU constraints
We have new CPU constraints docs, now in this repo. Update the
Limitations document to reflect that.

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2018-06-12 10:38:47 +01:00
Graham Whaley
e600be9646 Zun: Move to subdir and add to README
Move all the Zun docs into their own subdir, and add a
Zun reference and link to the top level README index.

Fixes: #131

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2018-06-12 10:36:45 +01:00
Graham Whaley
8120500b0c
Merge pull request #64 from devimc/doc/cpu
constraints: document CPU constraints
2018-06-12 10:36:15 +01:00
James O. D. Hunt
3375e736c9
Merge pull request #117 from Pennyzct/rm
rootfs: add '-rm' to delete intermediate container
2018-06-12 09:55:59 +01:00
Penny Zheng
e86380aab7 rootfs: add '-rm' to delete intermediate container
If we set env USE_DOCKER true, we will use container as development
environment. After docker run command, this temporary container
would be no use. we could add -rm flag to automatically delete
intermediate container.

Fixes: #115

Signed-off-by: Penny Zheng <penny.zheng@arm.com>
2018-06-12 08:16:56 +00:00
Ricardo Aravena
706904524a
subsystem: cli
Add kata command line bash completion

Fixes #110

Signed-off-by: Ricardo Aravena <raravena@branch.io>
2018-06-11 18:29:30 -07:00
Archana Shinde
bcc282b4a1
Merge pull request #148 from grahamwhaley/20180806_arch_index
README: Update documentation indexes
2018-06-11 17:58:10 -07:00
Eric Ernst
ca9f7abba9
Merge pull request #357 from amshinde/handle-shared-shm
shm: Create shared /dev/shm
2018-06-11 16:12:58 -07:00
Eric Ernst
1aff702a38
Merge pull request #377 from jodh-intel/fix-doc-urls
docs: Fix invalid URLs
2018-06-11 10:13:42 -07:00
Eric Ernst
46947cb4e2
Merge pull request #150 from jodh-intel/fix-doc-urls
docs: Fix invalid URLs
2018-06-11 09:32:31 -07:00
James O. D. Hunt
2ac74ae8b5
Merge pull request #367 from nitkon/travis
CI: Enable Travis-CI for linux-ppc64le
2018-06-11 11:30:15 +01:00
Nitesh Konkar
c2397a0981 CI: Enable Travis-CI for x86 linux and linux-ppc64le
Fixes: #365

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-11 14:26:24 +05:30
Graham Whaley
ec16627eb5
Merge pull request #381 from nitkon/golint
Fix golint ppc64le issues and eventually Travis-CI
2018-06-11 09:53:05 +01:00
Nitesh Konkar
d6b956a1aa cli: Add kata-check_ppc64le_test file
Fixes: #380

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-11 02:51:43 +05:30
Nitesh Konkar
4824669a8d cli: Fix TestCheckCLIFunctionFail failure on ppc64le
Fixes: #380

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-11 02:40:43 +05:30
Nitesh Konkar
bb0488e70a virtcontainers: Fix comment causing golint issue
Fixes: #380

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-11 01:29:05 +05:30
Archana Shinde
4d470e513b shm: Create shared /dev/shm
This commit checks the size of "/dev/shm" for the sandbox container
which is then used to create the shared memory inside the guest.
kata agent then uses this size to set up a sandbox level ephemeral
storage for shm. The containers then simply bind mount this sandbox level
shm.

With this, we will now be able to support docker --shm-size option
as well have a shared shm within containers in a pod, since they are
supposed to be in the same IPC namespace.

Fixes #356

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2018-06-10 01:54:51 -07:00
Eric Ernst
3fc23640d1
Merge pull request #151 from annabellebertooch/add-hardware-reqs-to-install-guide
docs: Adds hardware requirements to Install Guide
2018-06-08 15:52:46 -07:00
Anne Bertucio
9515de77ae docs: Adds hardware requirements to Install Guide
Puts the nested virt/bare metal requirement in the top line
of the Install Guide and references the Kata hardware
check.

Signed-off-by: Anne Bertucio <anne@openstack.org>
2018-06-08 15:27:06 -07:00
James O. D. Hunt
640e4e6eb4 docs: Fix invalid URLs
Correct invalid document URLs.

Fixes #149.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-06-08 17:02:39 +01:00
James O. D. Hunt
92470fbf31 docs: Fix invalid URLs
Correct the document URLs which have gone stale.

The virtcontainers build status links have been moved to the top-level
README.

Fixes #376.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-06-08 16:02:14 +01:00
Graham Whaley
86b33afb7c design: Update the index and add some links
The design subdir README index was a little slim and
potentially out of date, and was missing hotlinks to
some documents that did exist.

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2018-06-08 11:43:33 +01:00
Graham Whaley
1dd26540bc README: Add all docs to the index
The top level README.md index for the repository was a bit
slim on entries.
Add all the other docs in this repo to the index, and sort them
alphabetically by symbolic name (which may be slightly different
from the filename itself).

Fixes: #146

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2018-06-08 11:34:26 +01:00
Nitesh Konkar
2a8d5017f3 kernel: Rename x86 config to match arch from tests/.ci/kata-arch script
Fixes: #57

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-08 15:33:11 +05:30
Jose Carlos Venegas Munoz
bdb776d073
Merge pull request #109 from nitkon/patch-1
Update README: Fix a minor space issue
2018-06-07 14:22:14 -05:00