Commit Graph

5526 Commits

Author SHA1 Message Date
Luca Bruno
2e7de5a6df vendor: update after glide changes 2018-04-13 16:33:04 +00:00
Luca Bruno
6483a4d3b0 glide: fix github.com/go4org/go4 entry 2018-04-13 16:33:03 +00:00
Luca Bruno
5bfe05b742 glide: bump docker2aci to 0.17.2 2018-04-13 16:04:24 +00:00
Iago López Galeiras
b84c860387 Merge pull request #3914 from budongxin/master
Documentation : Update run.md
2018-04-11 13:55:19 +02:00
Yeongju Kang
1768333a3a Update run.md
Syntax correction
2018-04-11 20:26:29 +09:00
Yeongju Kang
ef83847a91 Update run.md
more highlights on description
2018-04-08 10:31:22 +09:00
Yeongju Kang
69d24ef479 Update run.md
added highlights on options
2018-04-08 10:26:02 +09:00
budongxin
c1a1246c40 Update run.md
Grammar correction
2018-04-07 18:25:42 +09:00
budongxin
6eddd6a8ed Update run.md
updated '--dns' option related to issue #3901
2018-04-07 18:08:35 +09:00
Luca Bruno
6a38cb0cd1 Merge pull request #3913 from budongxin/master
docs: update rktnetes URL
2018-04-06 08:05:38 +00:00
budongxin
77e045d306 Update using-rkt-with-kubernetes.md
link 'rktnetes' is not valid currently. Latest I could find was v1.8.
2018-04-06 08:17:07 +09:00
Euan Kemp
66c30d3a23 Merge pull request #3907 from michas2/master
Fix NixOS install instructions
2018-03-26 18:00:01 -07:00
Euan Kemp
0a78bb81d9 Merge pull request #3910 from rufoa/auth
rkt: add AWS auth headerer support to `rkt config`
2018-03-26 17:58:14 -07:00
rufo
68e2d06667 rkt: add AWS auth headerer support to rkt config
This refactors awsAuthHeaderer to match oAuthBearerTokenHeaderer and modifies
the `config` command so awsAuthHeaderer can be marshaled to JSON (support for
this was previously missing).
2018-03-21 16:31:49 +00:00
Luca Bruno
8b64477024 Merge pull request #3904 from hwoarang/flexible-shadow-rpm-dep
scripts/build-pkgs: use RPM file dependency for shadow tools
2018-03-08 12:28:37 +00:00
Luca Bruno
5b04cadb81 Merge pull request #3902 from bgilbert/key
stage1/usr_from_coreos: add new image signing subkey 0638EB2F
2018-03-08 09:11:09 +00:00
Michael Schnupp
eb72586653 Change channel name nixos->nixpkgs
On NixOS the default channel is called "nixos".
If you use nix on a diferent OS it is called "nixpkgs".
2018-03-04 16:31:51 +01:00
Michael Schnupp
6425514d3b Fix NixOS install instructions
Using `nix-env` you have two options:
`nix-env -i rkt` or `nix-env -iA nixos.rkt`

Using `nix-env -iA rkt` will usually not work.

On NixOS however you also want general virtualization dependencies.
Therefore enabling the rkt virtualisation is the right way to
set up everything correctly.
2018-03-04 16:09:50 +01:00
Casey Callendrello
94eb5809f3 Merge pull request #3905 from sipb/master
kvm: solve certain routing issues by using the same default bridge as CNI
2018-02-21 15:13:19 +01:00
Cel A. Skeggs
4ae50784b9 kvm: solve routing issues by using the same default bridge as CNI
When the kvm stage1 and the coreos stage1 are used on the same machine with a
flannel CNI configuration (and likely other configurations) without a specified
bridge name, different bridges will be constructed by each stage1 for the same
subnet -- cni0 and kvm-cni0 -- causing traffic intended for the
later-constructed bridge to be lost, as it is routed to the earlier-constructed
bridge.

The normal workaround is to specify a bridge name in the CNI configuration, but
this fix avoids the issue altogether by making sure that cni0 is used in all
cases.
2018-02-17 14:42:15 -05:00
Markos Chandras
39c99e7a14 scripts: pkg: build-pkgs.sh: Use RPM file dependency for shadow tools
Different RPM distributions use different packages to collect the
various tools from the 'shadow' package so we could use the path
from one of these tools in order to allow the rkt package to be used
in more RPM distributions.
2018-02-12 11:37:36 +00:00
Benjamin Gilbert
810b43976c stage1/usr_from_coreos: add new image signing subkey 0638EB2F 2018-02-09 17:58:45 -08:00
Iago López Galeiras
4029349a08 Merge pull request #3889 from kinvolk/iaguis/rkt-internals
Documentation: add rkt internals inspection
2018-01-15 17:29:15 +01:00
Iago López Galeiras
2d96428425 Documentation: add rkt internals inspection
This adds documentation on inspecting rkt's execution with strace, by
querying the proc filesystem, and finding out information about the
cgroups rkt sets up.

It's by no means comprehensive but can be a good starting point for
people learning about containers.
2018-01-15 17:18:50 +01:00
Iago López Galeiras
073e40647b Merge pull request #3895 from kinvolk/iaguis/improve-selinux-docs
Documentation: improve selinux docs
2018-01-15 16:02:47 +01:00
Iago López Galeiras
cedc70ecb1 Merge pull request #3897 from zhsj/fix-pfwd
networking/portfwd: fix compare routeLocalnetValue
2018-01-15 12:27:05 +01:00
Shengjing Zhu
7f99a685f2 networking/portfwd: fix compare routeLocalnetValue
The value read from /proc contains LF, and should be trimmed

Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-01-13 02:28:35 +08:00
Iago López Galeiras
64adf85114 Merge pull request #3882 from kinvolk/iaguis/metadata-svc-example
Documentation: add mds-service example
2018-01-12 16:47:15 +01:00
Iago López Galeiras
cfdc252705 Documentation: add mds-service example
Add an example app can sign and verify files using the metadata service.

Include usage example where we send a file from one pod to another one
and we verify its integrity and authenticity using the metadata service.

Also, reorder examples directory structure.
2018-01-12 13:39:07 +01:00
Iago López Galeiras
f6fb8c92f0 Merge pull request #3891 from kinvolk/iaguis/troubleshooting
Documentation: add initial troubleshooting doc
2018-01-12 13:34:01 +01:00
Iago López Galeiras
78663fc3dc Merge pull request #3879 from kinvolk/iaguis/doc-protobuf
api: add HTML and Markdown documentation
2018-01-12 12:29:26 +01:00
Iago López Galeiras
b9da52f90d api: add HTML and Markdown documentation
It's generated in `scripts/genproto.sh` using pseudomuto/protoc-gen-doc.
2018-01-12 12:21:56 +01:00
Iago López Galeiras
6de97626d2 Merge pull request #3884 from kinvolk/iaguis/fix-integrations-doc
Documentation/integrations: update Kubernetes link to rktlet
2018-01-12 11:48:10 +01:00
Iago López Galeiras
ec5b714623 Merge pull request #3834 from glevand/for-merge-deps
scripts: Add libfdt to install deps
2018-01-11 19:03:16 +01:00
Geoff Levand
e3fa3d83cb scripts: Add libfdt to install deps
libfdt-dev is needed when building kernels for architectures that
support a device tree.

Fixes build errors like these when building kvm+lkvm flavor for
ARM64:

  Makefile: No libfdt found. Please install libfdt-dev package. Stop.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2018-01-11 09:59:24 -08:00
Krzesimir Nowak
4e91dc7b6b Merge pull request #3824 from glevand/for-merge-symlink
makelib: Fix go-find-directories symlink problem
2018-01-11 16:51:19 +01:00
Iago López Galeiras
76c821fdda Documentation: add initial troubleshooting doc
It's useful to have common problems with their solutions or workarounds
in one document.

This starts a troubleshooting document.
2018-01-11 12:44:40 +01:00
Iago López Galeiras
be1580deb8 Merge pull request #3890 from kinvolk/iaguis/non-root-caps
Documentation: explain non-root capabilities
2018-01-11 12:19:39 +01:00
Iago López Galeiras
24a168cfd9 Merge pull request #3883 from kinvolk/iaguis/debugging
Documentation: add debugging guide
2018-01-11 12:10:20 +01:00
Iago López Galeiras
0ac6ac0cd5 Documentation: add debugging guide
It includes explanations of how to debug images and rkt's stage1.

Loosely based on the presentation "Debugging in a Containerized
World"[[1]]

[1]: https://docs.google.com/presentation/d/1jUxja67wDgbGdc1kur11viLP5QXreyOnBu0inpoFfqs/edit#slide=id.gaf2bae832_0_28uu
2018-01-11 12:08:41 +01:00
Iago López Galeiras
1dc12c4185 Merge pull request #3829 from loginakhil/master
scripts: adding missing dependecies to debian dependency installer
2018-01-11 11:10:03 +01:00
Geoff Levand
b48d70ea82 makelib: Fix go-find-directories symlink problem
Use the current working directory and not MK_TOPLEVEL_ABS_SRCDIR when
processing 'go list' output in go-find-directories.

Our invocation of 'go list' in the go-find-directories function uses
paths relative to the current working directory and so the output of
that command will have file paths based on the current working
directory.  The make file variable MK_TOPLEVEL_ABS_SRCDIR is initialized
with make's abspath function.  The abspath function (GNU Make 4.1) will
resolve symlinks.  This difference in resolved and unresolved symlinks
causes problems in the go-find-directories function output when building
from a path that includes a symlink.

Fixes 'make unit-check' errors like these when building in a directory
that has a symlink in its path:

  stat ./_/home/runner/workspace/src/github.com/.../builds/build-rkt-none/api/v1: no such file or directory

Signed-off-by: Geoff Levand <geoff@infradead.org>
2018-01-10 10:49:38 -08:00
Iago López Galeiras
69489f6506 Merge pull request #3893 from kinvolk/iaguis/host-pod-interaction
Documentation: security: unexpected host-pod communication channels
2018-01-10 18:54:35 +01:00
Iago López Galeiras
d806464736 Documentation/integrations: fix typo 2018-01-10 18:31:45 +01:00
Iago López Galeiras
0a5621eea0 Documentation: explain non-root capabilities 2018-01-10 18:30:31 +01:00
Iago López Galeiras
2401fd846a Merge pull request #3885 from kinvolk/iaguis/pod-manifest-walkthrough
Documentation: add pod manifest walkthrough
2018-01-10 17:30:28 +01:00
Iago López Galeiras
136b3c0382 Documentation: add pod manifest walkthrough
This guide explain how to generate a pod manifest and points to the
relevant resources in the appc spec repo.
2018-01-10 17:30:01 +01:00
Iago López Galeiras
6d32c3ffd6 Merge pull request #3857 from sch00lb0y/ipshow
list: add ip of non-running pods to status output
2018-01-10 17:25:30 +01:00
Iago López Galeiras
caefa48176 Documentation: improve selinux docs
Give an example on constraints you can apply to a context and link to
documentation.
2018-01-10 15:24:24 +01:00
Iago López Galeiras
4eca1b53d8 Merge pull request #3625 from jwieringa/aws-ecr-docs
docs: add AWS ECR link to examples of Docker registries
2018-01-10 12:29:42 +01:00