Commit Graph

263 Commits (f9e00f41953baa2c401c9be2a5e2395f0fe0a49e)

Author SHA1 Message Date
ijl b977f274db buildroot 2017.11 2017-12-07 15:02:19 -06:00
dlorenc f46b2fdde4 Add go to the minikube-iso build. 2017-11-06 09:40:01 -08:00
Matt Rickard c7f03444b5 Merge branch 'master' into docker-17.05 2017-10-19 07:23:11 -07:00
Vincent Batts 50570f6133
buildroot: output flags for crio
This adds an environment variable file for crio.service to source.
And a step for the buildroot provisioner to write flags, initially just
insecure-registry.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-10-17 13:39:06 -04:00
Vincent Batts 4cc246eae7 crio: update to their v1.0.0 release
https://github.com/kubernetes-incubator/cri-o/releases/tag/v1.0.0

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-10-17 08:46:24 -07:00
Vincent Batts 2788714cc5
minikube-iso: add cri-o runtime
https://github.com/kubernetes-incubator/cri-o

Updated the runc version to its latest master commit.
Got crio into the automounter to get off the tmpfs

This feature bubbles up to the minikube command by reusing the
`--container-runtime=` flag, by enabling the value of "`crio`"
(`minikube start --container-runtime=crio`), while the flags/config
passed to localkube are more like k8s (`--container-runtime=remote
--remote-runtime-endpoint=/var/run/crio.sock`)

This is mostly ready for review. It is still lacking having
--insecure-registry plumbed through, but for now the policy.json is
open.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-09-27 09:12:15 -04:00
Praveen Kumar ee49cebaf7 Update minishift directory structure to automout script 2017-09-21 15:47:01 +05:30
Praveen Kumar 35bba7a4ac Use bind mount instead symlink
- Removed extra (prefix/sufix)spaces
2017-09-18 10:17:31 +05:30
Aaron Prindle f4b916e3da added restart to kvp daemon 2017-09-13 11:10:08 -07:00
Matt Rickard 2fd858844b Add additional modules for IPVS
Fixes #1894
2017-08-28 11:02:11 -07:00
Matt Rickard bb50f5df36 Add minikube motd for ssh login 2017-08-25 13:29:44 -07:00
Matt Rickard 946d406650 Add sshd_config to minikube iso
Overwrite the default configuration and enable

PrintMotd
PermitTunnel yes
MaxSessions 1000

So that we can run multiplex more ssh connections and do things in
parallel.
2017-08-25 13:28:18 -07:00
Matt Rickard 0db44af93c Rewrite configureAuth
The current implementation assumes that we already have docker running.
 This switches it to not remove any previous docker configuration
(since there isn't any), and uses our native file transfer utils
instead of the printf commands.
2017-08-20 22:44:19 -07:00
Matt Rickard 56e250e979 Delete docker default systemd unit from ISO
The docker daemon initially starts up in the ISO, only to be stopped
and replaced by minikube's custom configuration.  This removes the
initial unit, so that docker doesn't automatically start up until
minikube restarts it with its configuration.
2017-08-20 11:04:24 -07:00
Matt Rickard 65af725bef Add kernel module for MacVTap 2017-08-19 12:06:27 -07:00
Mark Snelling e99987a0eb Added CIFS support to kernel 2017-08-17 09:23:47 +01:00
Erik Stidham 437fe66b92 Add kernel modules needed by Calico
- Enable ipset module CONFIG_IP_SET_HASH_NET
- Enable ipip module CONFIG_NET_IPIP
2017-08-12 07:32:35 -07:00
dlorenc a26d41399c Automount fixes. 2017-07-31 16:02:10 -07:00
Bryan Larsen 1a8c8453dc doesn't like trailing slash 2017-07-31 10:59:10 -04:00
Bryan Larsen 5d9206b465 Merge remote-tracking branch 'upstream/master' into docker-17.05 2017-07-31 10:44:03 -04:00
Bryan Larsen 3cb5332a3d upgrade to docker-17.06 2017-07-31 10:39:33 -04:00
Matt Rickard 41fdd53e1a Update cni-bin to v0.6.0-rc1
Also adds the cni-plugins-bin package, since they have been split out
into their own repo as of v0.6.0-rc1.
2017-07-26 17:50:05 -07:00
Matt Rickard 8175c17a00 Use kubenet, add ebtables support
Fixes #1568
2017-07-18 14:43:56 -07:00
Marc CARRE 74c09aa9c1 Enable ipset (hash:ip and list:set).
Weave Net, a container networking solution, requires the `xt_set` module in order to function properly.
Minikube's Linux image currently does not have it, making Weave Net fail with errors like:

- `modprobe: FATAL: Module xt_set not found in directory /lib/modules/4.9.13`
- `FATA: ipset [create weave-local-pods hash:ip] failed: ipset v6.29: Kernel error received: set type not supported: exit status 1`

This changes addresses such issues.
2017-07-14 13:38:54 +01:00
Matt Rickard c0e1559a1b Add kernel configs for support vsocks 2017-07-12 11:04:36 -07:00
Steve Leon d90a5a233a Adding cephfs kernel module 2017-06-30 14:03:02 -07:00
Jakub Gocławski 4c624c284a Upgrade Docker to 1.12.6. 2017-06-29 11:58:14 -07:00
dlorenc 1b3f06f8ed Enable IP_VS and MACVLAN and VXLAN. 2017-06-16 13:03:16 -07:00
Bryan Larsen 2969bcda5c install docker-proxy 2017-05-31 13:54:43 -04:00
Bryan Larsen efc0c7d310 ugly insecure hack to work around https://github.com/kubernetes/kubernetes/issues/40182 2017-05-31 13:48:54 -04:00
Bryan Larsen 0019625444 Upgrade to Docker 17.05-ce
This is an attempt to address #1518.   It does actually fix #1518, but breaks much of Kubernetes.   :)   Don't merge this, I'm just creating a PR that people can play with if they're interested in taking it further.
2017-05-31 09:12:09 -04:00
Andreas Kohn 0f7c4df672 Fix the URL to the minikube_iso.md file 2017-05-17 16:25:24 +02:00
Aaron Prindle 287c568c68 Revert "Ensure that data block device is ready before formatting"
This reverts commit c769ef46ed.
2017-05-08 14:59:38 -07:00
Dale Hamel c769ef46ed Ensure that data block device is ready before formatting 2017-05-03 18:28:19 -04:00
Matt Rickard 971b72d0bc Refactor docs
Summary of changes (#1364)

* README.md split up into specific tutorials in ./docs
* brew as preferred installation on macOS
* installation guide on README
* minikube iso changelog merged with minikube changelog
* developer guides moved to ./docs/contributors
* no relative links on main README, so that we can port this over to kubernetes.io
* ISO developer readme moved to ./docs/contributors
2017-05-03 14:54:26 -07:00
Bryan Larsen eb16a5b66a Increase number of inodes
fixes #1443
2017-05-03 13:10:20 -04:00
Thomas Graf 23660cb1bb minikube-iso: Use buildroot branch 2017-02 (#1412)
This rebases minikube-iso to the release 2017-02.

A change in buildroot required the introduction of a `external.desc` as
multiple external trees are supported in modern buildroot versions. This
required change is described here [0].

[0] https://buildroot.org/downloads/manual/manual.html#br2-external-converting

The existing isolinux.cfg was not included in the config and thus
ignored, include it.

The 4.9.13 kernel included in buildroot 2017-02 is not compatible with
VBox guest additions 5.1.6, thus bump guest additions to 5.1.18.

The defconfig of 4.9.13 has been cleaned up.

systemd 232 included in buildroot 2017-02 is incompatible with docker <
17.03 without boot parameter systemd.legacy_systemd_cgroup_controller=yes

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2017-05-03 08:25:01 -07:00
Dale Hamel 57d7fb58a9 Add NOTRACK as an xtables target 2017-04-09 22:06:09 -04:00
Matt Rickard 06e3c7b762 Merge pull request #1354 from dalehamel/master
Enable netfilter raw tables as module
2017-04-09 16:16:44 -07:00
Dale Hamel 4f7edd9681 Enable netfilter raw tables as module 2017-04-09 16:28:08 -04:00
Matt Rickard 0aefb48f5c Cut 0.18.0 release 2017-04-06 16:00:47 -07:00
Giovanni Tirloni 916cbfa6a3 Add TZ database 2017-04-04 11:03:24 -03:00
Steve Leon f3524f7927 Installing jq and coreutils packages and adding RBD kernel module
Coreutils package is needed for base64

Fixes #1315
2017-04-01 00:58:19 -07:00
Maxime Vidori dc3e2c1043 Add documentation for iso testing 2017-03-29 10:35:33 +02:00
Maxime Vidori eacc326765 Dockerized build:
$ make buildroot-image
	$ make out/minikube.iso

- Add en entry in the Makefile for building the container: buildroot-image
- Modify the minikube-iso target to out/minikube.iso to comply with the way
makefiles work.
- Also force the use of a docker container. If not needed
just run IN_DOCKER=1 make out/minikube.iso to avoid the invokation of a docker
container.
- Add some doc.
- The tag added to the generated image will allow to bypass the build of the
image as soon as the container is pushed to the minikube registry.
2017-03-24 13:41:02 +01:00
Maxime Vidori 8dd1141e10 Improve package requirement list for minikube-iso 2017-03-19 19:31:01 +01:00
Matt Rickard a928194d7d Add kernel option for NFS_V4_2 2017-03-17 09:57:27 -07:00
Matt Rickard 161d61fc91 Merge pull request #1198 from r2d4/cifs
Add CIFS-utils to minikube iso
2017-03-15 10:28:10 -07:00
dlorenc 8010715e27 CoreOS has a new signing key. 2017-03-14 10:06:03 -07:00
Matt Rickard ad1bc443a0 Merge pull request #1207 from r2d4/iso-v1.0.7
Bump minikube iso to v1.0.7
2017-03-02 14:28:15 -08:00
Matt Rickard 830f1283f6 Bump minikube iso to v1.0.7 2017-03-02 13:49:46 -08:00
dlorenc cebea5ffbd Persist the new hostpath location. 2017-03-02 09:03:49 -08:00
Matt Rickard d9715fabcc Add CIFS-utils to minikube iso 2017-02-28 11:17:18 -08:00
Aaron Prindle 00d212229e Merge pull request #1185 from r2d4/ethtool
Add ethtool to minikube-iso
2017-02-25 12:25:20 -08:00
Matt Rickard 4e5b2df2bf Add ethtool to minikube-iso 2017-02-25 09:54:52 -08:00
Matt Rickard 2b7adb5535 Add bootlocal script as custom startup script 2017-02-24 15:57:51 -08:00
Matt Rickard 15294b3a16 Remove b2d from deploy and Makefile
We are no longer releasing any boot2docker based minikube ISOs.
2017-02-16 15:24:15 -08:00
Dongsu Park 91e023a83b rkt: bump to 1.24.0
As rkt 1.24.0 supports an experimental attach command, minikube iso
image should also contain the new version.

See also https://github.com/coreos/rkt/pull/3396#issuecomment-275119304
/cc @s-urbaniak
2017-02-14 13:04:08 +01:00
dlorenc 072ccdc29e Merge pull request #1125 from tvon/persist-hostpath_pv
Persist /tmp/hostpath_pv
2017-02-13 18:38:06 -08:00
Matt Rickard cfa70addd7 Merge pull request #1123 from tvon/enable-user-namespace
Enable user namespace in kernel
2017-02-13 10:33:13 -08:00
Tom von Schwerdtner e4d62f1028 Persist /tmp/hostpath_pv 2017-02-13 12:32:46 -05:00
Tom von Schwerdtner d66a4203a7 Enable CONFIG_USER_NS 2017-02-12 13:43:47 -05:00
Tom von Schwerdtner 521dba6ec8 Re-generate unchnaged kernel config
To make future changes clearer
2017-02-12 13:43:22 -05:00
Tom von Schwerdtner ef8a134495 Use backticks inline instead of $(shell ...)
On the initial build run on a new system, the $(shell ...) variant fails
to provide any output for inline substitution and you end up with the
error:

```
gpg: `--verify-files' is not a valid long keyID
```

Using backticks will provide the desired output on the first run on a
system.
2017-02-10 14:10:18 -05:00
Matt Rickard d9355d89e7 Merge pull request #1074 from r2d4/release-iso
Add release-iso Makefile rule
2017-02-08 18:40:59 -08:00
Ghe Rivero 198ebe7bf1 Ignore dns settings for docker-machines network 2017-02-07 00:46:08 +01:00
Matt Rickard a080737eff Add release-iso Makefile rule
This also tracks the ISO version in the makefile and passes it with
ldflags to automatically bump the default version in the minikube
binary.
2017-02-03 12:01:32 -08:00
Stefan Sauer 118b5b845a Mention prerequisites for building the iso images.
Add the tools that I had missing. Also describe minimal gpg2 setup.
2017-02-03 12:17:24 +01:00
Matt Rickard f941e0669d Cut 0.16 Release 2017-02-02 15:02:07 -08:00
Matt Rickard 6617911826 Merge pull request #1065 from dlorenc/packages
Add git, curl and rsync.
2017-02-02 11:02:21 -08:00
Matt Rickard 4746cdbc88 Merge pull request #1073 from ensonic/master
Enable CONFIG_TUN.
2017-02-02 08:49:27 -08:00
dlorenc 2e86f0f3c5 Add git, curl and rsync. 2017-02-01 14:56:58 -08:00
Aaron Prindle 30c7ddc7d0 Merge pull request #1052 from aaron-prindle/add-nfs-to-buildroot
Added NFS to buildroot
2017-01-31 15:15:51 -08:00
Stefan Sauer bc89349d9d Enable CONFIG_TUN.
This fixes running e.g. openvpn inside pods. See #1056.
2017-01-31 16:53:05 +01:00
Aaron Prindle 350829683c Added NFS to buildroot 2017-01-30 14:16:03 -08:00
dlorenc 80fdb4020b Move the swapon instructions to run on every boot. 2017-01-30 10:36:28 -08:00
Sergiusz Urbaniak 6979179c50
cni: bump to v0.4.0 2017-01-26 19:48:22 +01:00
Sergiusz Urbaniak 8291813807
rkt: bump to v1.23.0
Fixes #1042
2017-01-26 17:26:42 +01:00
Matt Rickard b84c5ed683 Merge pull request #1034 from r2d4/toolbox
Add toolbox script for debugging in VM
2017-01-23 10:00:58 -08:00
Matt Rickard 1a4131ef02 Add toolbox script for debugging in VM
Usage `minikube ssh toolbox` will put you inside a rkt container with
debugging tools.
2017-01-20 14:30:07 -08:00
Aaron Prindle e0605fbef3 Fixed mount permissions with new iso 2017-01-19 17:27:34 -08:00
Aaron Prindle df17303855 Fixed hv_kvp_daemon.mk to fix minikube for windows hyperv 2017-01-13 15:00:21 -08:00
Matt Rickard b01a97c549 Add back persistent /data directory in ISO 2017-01-12 09:54:47 -08:00
Matt Rickard 604b80f183 Revert "Disable some kernel_config options"
This reverts commit 2a2905aca7.
2017-01-11 11:05:19 -08:00
Matt Rickard 32aa78754d Add CONFIG_IP_SET for CNI
Calico and other CNI plugins need the ipset kernel syscall enabled
2017-01-06 15:39:29 -08:00
Matt Rickard 22a331288b Merge pull request #905 from praveenkumar/patch-1
Update dockerfile to accommodate latest b2d changes.
2016-12-23 09:27:16 -08:00
Matt Rickard 427bde79ca Change default ISO to minikube-iso v1.0.1 (buildroot) 2016-12-20 15:34:07 -08:00
dlorenc 8e372ebdce Switch systemd journald logging to volatile. 2016-12-20 14:20:21 -08:00
Matt Rickard 1564399a38 Merge pull request #929 from r2d4/kernel_config
Disable some kernel_config options
2016-12-17 11:12:20 -08:00
Matt Rickard 2a2905aca7 Disable some kernel_config options
I made sure to only disable debugging level ones or ones that were
clearly not applicable.  The ones I disabled were also disabled in the
tinycore linux that b2d is based off.
2016-12-15 21:54:58 -08:00
Matt Rickard 18bbdb1726 Fix logs Integration test
Journalctl has not been logging properly in the minikube-iso because of
the absence of /var/log on startup.  This is an issue now that we are
using systemd for localkube.  This commit links and persists the directory
/var/log like we do for other folders.
2016-12-15 21:13:32 -08:00
Matt Rickard b3849a2841 Use GNU findutils instead of BusyBox find
Fixes #923
2016-12-15 16:00:36 -08:00
Praveen Kumar 60d391871b Update dockerfile to accommodate latest b2d changes.
2d5e77def8 recently merged and it will break current b2d iso creation.
2016-12-12 14:40:35 +05:30
dlorenc 22d13e74a5 Add an empty /etc/docker directory to the ISO. 2016-11-17 10:09:17 -08:00
Dan Lorenc e7b013c8db Add a buildroot package for hv_kvp_daemon. 2016-11-09 16:14:16 -08:00
Aaron Prindle be21ff3e43 Added hyperv configuration to minikube-iso 2016-11-08 16:36:29 -08:00
Matt Rickard bb9bd00e41 Update minikube-alpha.iso to v0.0.6, update readmes 2016-10-28 16:49:20 -07:00
Matt Rickard fa215b7d70 Merge pull request #709 from r2d4/addon-mgr
Move addon-manager to deploy/addons, upgrade v5.1
2016-10-18 16:41:53 -07:00
Matt Rickard 0e7ff379d4 Move addon-manager to deploy/addons, upgrade v5.1 2016-10-18 12:09:03 -07:00
Sergiusz Urbaniak c1783ca733
boot2docker: move build files into separate directory 2016-10-13 20:02:42 +02:00
Sergiusz Urbaniak 6fe5d99644
minikube-iso: remove project files from old repository 2016-10-13 20:02:34 +02:00
Sergiusz Urbaniak 182bcc63e9
Merge branch 'minikube-iso' 2016-10-13 20:00:47 +02:00
Sergiusz Urbaniak ec5d707a59
minikube-iso: move to deploy/iso/minikube-iso 2016-10-13 19:59:25 +02:00
dlorenc ddb1374704 Add /var/lib/kubelet to the persisted volume. 2016-09-01 14:23:16 -07:00
dlorenc 8c6ae71eb6 Add ISO checksum validation. 2016-08-20 17:33:50 -07:00
dlorenc c2b00e4fd5 Configure /data as a persisted directory. 2016-08-04 12:20:18 -07:00
dlorenc 1a8621a4d4 Make the /var/lib/localkube directory persistent. 2016-06-28 14:04:45 -07:00
dlorenc ac14eff554 Move the addon-manager and dashboard configuration from the iso to minikube.
Minikube now copies these into the VM, just like it copies in localkube.
New ISOs will not contain these files, but this is compatible with the existing ISO
because minikube will overwrite existing files.
2016-06-09 15:35:09 -07:00
aprindle eee920bae4 Updated Dockerfile to get docker version 1.11.1 for the iso file
Updated README for iso testing
Updated DefaultIsoUrl to minikube-0.3
2016-06-04 17:22:31 -07:00
dlorenc e241f915e4 Build conntrack as part of the iso. 2016-06-02 14:04:32 -07:00
Dan Lorenc 4cd9e5610d Fix hostPort bug in dashboard-svc.yaml. hostPort is invalid in a service. 2016-05-29 11:13:05 -07:00
Dan Lorenc 7fb536ec38 Add the addon manager and dashboard to the iso. 2016-05-28 11:33:01 -07:00
Lucas Käldström b43bb57303 Move ./iso/ to ./deploy/iso/ 2016-05-28 00:10:20 +03:00