Eric Ernst
471415b245
kata-deploy: updates for Dockerfile
...
Additional packages are necessary and/or were removed from the base
image.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-01-31 21:12:40 -08:00
Eric Ernst
5db1ba5710
kata-deploy: add support for runtime class, firecracker
...
Simplify the yaml and combine the prior scripts. The resulting script,
kata-deploy.sh, is used for install and configuration and
removal for CRI-O and containerd. While this could be used standalone
outside of daemonsets, today it will sleep infinity after processing the
request, since it is assumed to be called by a daemon.
By checking the CRI runtime within the script itself, we no longer need
to support many daemonsets for deploy - just a single. Still requires a
seperate cleanup daemonset (for restarting the CRI runtime), and an
RBAC.
Verified with CRI-O -- containerd testing WIP
Throwing this up now for feedback since I do not bash good.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
2019-01-31 21:12:40 -08:00
Julio Montes
e12442bc65
snap: release 1.5.0
...
release kata containers 1.5.0
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 21:12:40 -08:00
Julio Montes
7e312f833b
snap: use new GOPATH to build image
...
Use a new GOPATH to build image in order to avoid clashes with user's GOPATH,
otherwise user's kata agent will be used causing problem if that repository is
not up to date.
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 21:12:40 -08:00
Julio Montes
51f5c22409
snap: remove commands used for debugging
...
remove set and env commands that were used for debugging
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 21:12:40 -08:00
Julio Montes
70876b3343
snap: apply patch in runtime to fix config paths
...
This is a hotfix to fix https://github.com/kata-containers/runtime/issues/1185
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 21:12:40 -08:00
Julio Montes
2145fc1112
snap: apply patch in runtime to fix DESTDIR
...
This is a hotfix to fix https://github.com/kata-containers/runtime/pull/1162
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 21:12:40 -08:00
Julio Montes
e7ff7e1c44
snap: fix qemu command name
...
set qemu-system instead of qemu-lite as default qemu command
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 21:12:40 -08:00
Julio Montes
d901b625c9
snap: get sources from git repositories
...
get source from git repositories to show the right commit
version of each component.
fixes #317
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 21:12:40 -08:00
GabyCT
bbc3ce9edb
Merge pull request #370 from devimc/topic/snap-installation
...
snap: add snap store banner
2019-01-31 08:52:59 -06:00
Julio Montes
5f1ca16402
Merge pull request #1178 from yyyeerbo/wip
...
kata-env: kata-env error out when there is no VERSION_ID.
2019-01-31 08:36:22 -06:00
Julio Montes
7722faf104
snap: add snap store banner
...
add snap store banner
fixes #369
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-31 08:32:25 -06:00
James O. D. Hunt
530360d515
Merge pull request #1186 from nitkon/Hotplug
...
ppc64le: Fix hotplug issue
2019-01-31 09:26:25 +00:00
James O. D. Hunt
a6b5d7e5e4
Merge pull request #294 from jcvenegas/release-fixes-1.4.1
...
release: 1.5.0 fixes
2019-01-31 08:52:39 +00:00
Frank Cao
7cf81c47af
Merge pull request #368 from grahamwhaley/20190130_fc_link
...
docs: firecracker: add top level link off to fc wiki page
2019-01-31 14:15:16 +08:00
Yang Bo
4f51687550
kata-env: kata-env error out when there is no VERSION_ID.
...
For example, under debian buster/sid. Those information should be
provide with best effort instead of error out. Set name and version
to "<<unknown>>" if they are not defined.
Fixes : #1177
Signed-off-by: Yang Bo <bo@hyper.sh>
2019-01-31 14:05:51 +08:00
Eric Ernst
29dae85ad5
Merge pull request #1181 from sameo/topic/network-interface
...
Network interface removal and decoupling
2019-01-30 19:59:50 -08:00
Jose Carlos Venegas Munoz
784f14b4f7
release: docs: update installation notes.
...
Documentation is not forked today.
Fixes : #320
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-30 13:51:08 -06:00
Jose Carlos Venegas Munoz
d1f8846adb
releaes: static: add wrapper for firecracker config.
...
https://github.com/kata-containers/documentation/wiki/Initial-release-of-Kata-Containers-with-Firecracker-support
The wiki says that a wrapper is part of the release tarball, `make install`
from runtime is not doing it, add workaround until this is added as an official wrapper.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-30 13:51:08 -06:00
Jose Carlos Venegas Munoz
ed39937a2c
static: release: add correct symlink until is fixed
...
dest dir is broken and symlink is created on the host not the tarbal.
See:
https://github.com/kata-containers/runtime/issues/1161
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-30 13:51:08 -06:00
Jose Carlos Venegas Munoz
0a889b540b
release: static: add firecracker to tarball.
...
The firecracker binary was not added to release tarball.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-30 13:51:08 -06:00
Graham Whaley
87d9ebc14c
docs: firecracker: add top level link off to fc wiki page
...
We have some initial Firecracker/Kata documentaiton, but for now
it lives in the wiki. Link off to it from the top level docs
README to make it more obvious and easier to find.
Fixes : #367
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-01-30 17:45:08 +00:00
Jose Carlos Venegas Munoz
4f02627d30
pkgs: runtime: spec fix qemu path
...
QEMUCMD is used to identify the defauly hypervisor on kata.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-30 08:49:34 -06:00
Jose Carlos Venegas Munoz
6e2677c456
pkgs: Fix spec file.
...
- Remove not needed require
- call %autosetup before apply patches.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-30 08:49:34 -06:00
James O. D. Hunt
91c454da09
Merge pull request #1168 from bryteise/hypervisor-cmd-defaults
...
Makefile: Provide default hypervisor CMD settings
2019-01-30 11:36:32 +00:00
James O. D. Hunt
eb92f49811
Merge pull request #1193 from grahamwhaley/20190129_CODEOWNERS
...
ci: Add a CODEOWNERS file for github ack checks
2019-01-30 11:28:08 +00:00
Graham Whaley
a48e614ce2
ci: Add a CODEOWNERS file for github ack checks
...
Add a CODEOWNERS file so we can get github to automatically
request reviews. In this instance, specifically the docs team
for markdown documents.
Fixes : #1192
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-01-30 11:23:25 +00:00
Xu Wang
7cb2f31c8d
Merge pull request #1173 from lifupan/criconfig
...
shimv2: use the runtime config file passed from containerd/cri
2019-01-30 19:01:38 +08:00
James O. D. Hunt
4ba2802632
Merge pull request #359 from qzivli/master
...
docs: Fix typo
2019-01-29 17:58:10 +00:00
James O. D. Hunt
4092eba600
Merge pull request #1187 from devimc/topic/fix1185
...
cli: set config options before showing config paths
2019-01-29 17:23:11 +00:00
James O. D. Hunt
a9edac83a2
Merge pull request #364 from jodh-intel/fully-non-interactive-debian-install
...
install: Make Debian install fully non-interactive
2019-01-29 09:11:55 +00:00
Jose Carlos Venegas Munoz
6b11ed27a3
pkg: spec: add all files that match as config file.
...
New hypervisor configs could be added in the future, add
any possible new config file.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-28 14:32:19 -06:00
Jose Carlos Venegas Munoz
d8fcb58d02
deploy: release: Fix config paths
...
Now there are 2 config paths lets update both to not use
initrd by default.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-28 14:32:19 -06:00
Jose Carlos Venegas Munoz
c9ac12d58b
pkgs: Update version for kata 1.5.0
...
Update versions file as part of release process.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-28 14:32:19 -06:00
Jose Carlos Venegas Munoz
8693ba7513
pkgs: debian: fix kernel build.
...
Dont use -j all, it may lead the builder workers run out of memory.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-01-28 14:32:19 -06:00
Jose Carlos Venegas Munoz
8db26ee1d4
Merge pull request #318 from devimc/topic/snapFixVersions
...
snap: release 1.5.0
2019-01-28 14:09:06 -06:00
Nitesh Konkar
b1c666730e
vendor: Update govmm vendoring
...
Shortlog:
78d079d
Merge pull request #84 from nitkon/master
4692f6b
qmp: Conditionally pass threadID and socketID when CPU device add
b9c8f76
Merge pull request #85 from markdryan/fix-travis
1f51b43
Update the versions of Go used to build GoVMM
ad310f9
Fix staticcheck S1023
932fdc7
Fix staticcheck S1023
cb2ce93
Fix staticcheck S1008
f0172cd
Fix staticcheck (S1002)
5f2e630
Fix staticcheck (S1025)
4beea51
Fix staticcheck (ST1005) errors
Fixes : #1155
Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-01-28 23:42:50 +05:30
Nitesh Konkar
b0986a5f7f
ppc64le: Fix vCPU hotplug issue
...
ppc64le qemu does not need threadID and
socketID parameters when hotplugging.
Fixes : #1155
Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-01-28 23:42:20 +05:30
Julio Montes
86fca4564e
snap: release 1.5.0
...
release kata containers 1.5.0
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-28 09:37:05 -06:00
Julio Montes
7684c8e29a
snap: use new GOPATH to build image
...
Use a new GOPATH to build image in order to avoid clashes with user's GOPATH,
otherwise user's kata agent will be used causing problem if that repository is
not up to date.
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-28 09:37:05 -06:00
Julio Montes
e5940ce66d
snap: remove commands used for debugging
...
remove set and env commands that were used for debugging
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-28 09:21:46 -06:00
Julio Montes
7d77ae9ca8
snap: apply patch in runtime to fix config paths
...
This is a hotfix to fix https://github.com/kata-containers/runtime/issues/1185
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-28 09:21:46 -06:00
Julio Montes
7c25b606ba
snap: apply patch in runtime to fix DESTDIR
...
This is a hotfix to fix https://github.com/kata-containers/runtime/pull/1162
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-28 09:19:24 -06:00
Julio Montes
68043b5ca6
cli: set config options before showing config paths
...
Config paths are set correctly but they must be set before handleShowConfig
fixes #1185
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-01-28 08:29:29 -06:00
James O. D. Hunt
c3184c30e7
install: Make Debian install fully non-interactive
...
Although the installation instructions specify `apt-get -y ...`, the
installation blocks when trying to install the Kata pages with a message
like this:
```
...
Restart services during package upgrades without asking?
<Yes> <No>
```
Setting `DEBIAN_FRONTEND=noninteractive` avoids this.
Fixes #363 .
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-01-28 14:06:12 +00:00
James O. D. Hunt
726df9dad8
Merge pull request #1162 from jcvenegas/fix-1161
...
makefile: honor DESDIR on install
2019-01-28 11:42:18 +00:00
Fupan Li
f1a12ce04c
shimv2: use the runtime config file passed from containerd/cri
...
containerd/cri's different runtime handlers can pass different
config files to shimv2 by a generic runtime options, by this kata
can launch the pods using different VMM for different runtime handlers.
Fixes:#1082
Signed-off-by: Fupan Li <lifupan@gmail.com>
2019-01-28 17:31:09 +08:00
Q. Ziv Li
ed7ec36325
docs: Fix typo
...
Fix typo: librdbd1 -> librbd1
Fixes : #359
Signed-off-by: Q. Ziv Li <qzivli@hotmail.com>
2019-01-26 17:19:50 +08:00
Archana Shinde
fe90fe053f
Merge pull request #361 from grahamwhaley/20190125_snap_docs
...
install: snap: add link out to config and integrate instrs
2019-01-25 15:19:24 -08:00
Archana Shinde
767ac47a15
Merge pull request #312 from jongwu/memory_hotplug
...
kernel: Add memory hotplug(add) support for arm64
2019-01-25 14:37:52 -08:00