Commit Graph

436 Commits (hwdef/master)

Author SHA1 Message Date
Anders F Björklund 4f2b2e006f Upgrade conmon to 2.0.17
This is used by both crio and podman, one bin for each

But we try to use the same version, unless we have to...
2020-06-07 19:30:30 +02:00
Anders F Björklund 48436ddbb7 Upgrade podman to 1.9.3 2020-06-07 17:32:17 +02:00
Anders F Björklund f19ca1597c Upgrade crio.conf to version v1.18.1 2020-06-07 17:18:15 +02:00
Anders F Björklund de7ea0b270 Upgrade crio to 1.18.1 2020-06-07 17:17:53 +02:00
Anders F Björklund 5064fe8949 Upgrade Docker, from 19.03.8 to 19.03.11 2020-06-07 15:50:37 +02:00
Anders F Björklund de5a1fae02 Improve version output of the runc command
Currently it is showing the "dirty" status of buildroot,
due the build script picking the wrong git repository...

runc version 1.0.0-rc10
commit: dc9208a3303feef5b3839f4323d9beb36df0a9dd-dirty
2020-05-19 07:36:05 +02:00
Anders F Björklund 661feaca3f The config flag for go packages were both changed
This caused the go-depending packages to be skipped
2020-05-17 19:55:46 +02:00
Anders F Björklund e957a2ca0c Upgrade VirtualBox version for Linux 5.4 support
Need to have DRM_TTM support in the kernel as well
2020-05-17 14:01:30 +02:00
Anders F Björklund e525118976 Create missing target directory before installing 2020-05-17 13:19:56 +02:00
Anders F Björklund b53518d74f Upgrade Buildroot to 2019.02 LTS and Linux to 5.4
With binutils 2.32 and gcc 9 as per newer defaults

Systemd requires SSP, and some legacy options gone
2020-05-17 10:41:21 +02:00
Medya Gh 214bf4308c address review comments 2020-04-22 14:41:14 -07:00
Medya Gh 679e4ca1cb remove extra line 2020-04-22 13:04:08 -07:00
Medya Gh 27e5690c80 moviong containerd and kublet pods to presistant mount 2020-04-22 13:03:23 -07:00
Anders F Björklund 896d8b382c Add missing source directory for podman cni config
For some reason this got lost with previous commit
2020-04-22 15:32:01 +02:00
Anders Björklund a44d9a105f
Merge pull request #7754 from afbjorklund/podman-cni
Add default CNI network for running wth podman
2020-04-19 23:34:17 +02:00
Anshul Sirur 270756e93d Bind mount /var/tmp for Podman
When the CRI-O container storage backend is used, loading images using
`podman load` creates temporary files in /var/tmp. As /var/tmp is
mounted as tmpfs, these temporary files rapidly consume the available memory
and cause processes on the minikube VM to be OOM-killed.

Instead, bind mount /var/tmp like we do with /var/log, which will write
temporary files to disk instead of memory.
2020-04-17 09:53:04 +02:00
Anders F Björklund 1fdc544343 Upgrade falco-probe module to version 0.21.0 2020-04-05 10:53:49 +02:00
Priya Wadhwa 3c37556627 update vm podman to same version 2020-03-23 18:06:53 -07:00
Anders F Björklund 426b776809 Upgrade crio to 1.17.1 2020-03-18 20:48:31 +01:00
Anders F Björklund 94083d85e2 Upgrade Docker, from 19.03.7 to 19.03.8 2020-03-13 23:30:46 +01:00
Anders Björklund 1e484b9539
Merge pull request #6939 from afbjorklund/docker-19.03.7
Upgrade Docker, from 19.03.6 to 19.03.7
2020-03-13 23:30:09 +01:00
Anders F Björklund cc3e1dcce4 Upgrade varlink to 19, drop included patch 2020-03-07 16:14:04 +01:00
Anders F Björklund afc0cabbbf Upgrade Docker, from 19.03.6 to 19.03.7
containerd v1.2.13
2020-03-07 14:51:36 +01:00
Anders F Björklund c33a5ccc19 Upgrade cni and cni-plugins to spec 0.4.0 2020-02-24 22:49:46 +01:00
Anders Björklund 41b4f35302
Merge pull request #6669 from afbjorklund/cni-source
Build cni and cni-plugins from source instead
2020-02-24 22:31:06 +01:00
Anders F Björklund fc3a565645 Upgrade falco-probe to fixed version 0.20.0
No changes to the actual driver, though...
2020-02-24 18:34:46 +01:00
Anders Björklund 5ee57d4059
Merge pull request #6651 from afbjorklund/cgroup-systemd
Change cgroup driver from cgroupfs to systemd
2020-02-23 20:46:57 +01:00
Medya Ghazizadeh 4ca33ff6a2
Merge pull request #6665 from afbjorklund/conmon-release
Rename conmon package to reflect release version
2020-02-22 08:17:04 -08:00
Medya Ghazizadeh b49d446426
Merge pull request #6560 from afbjorklund/falco-probe
Add packaging of the falco_probe kernel module
2020-02-22 08:16:03 -08:00
Anders F Björklund 95622e516d Need to use host python3 from path for varlink 2020-02-18 18:56:17 +01:00
Anders F Björklund 505c54db33 Build cni and cni-plugins from source instead
And make sure to install cnitool, not noop (!)
2020-02-17 22:39:34 +01:00
Anders F Björklund 0872a0d068 Update crictl to v1.17.0 2020-02-17 20:54:59 +01:00
Anders F Björklund 5ec9ea18ba Rename conmon package to reflect release version 2020-02-17 20:38:34 +01:00
Anders F Björklund 46df921da7 Add default CNI network for running wth podman 2020-02-17 19:37:07 +01:00
Anders F Björklund 5bd5e1e1eb Rename local sysdig version with a pkg prefix
Not to be confused with sysdig package (0.23.1)
2020-02-15 18:02:51 +01:00
Anders F Björklund a68112b9ec Use variable instead of duplicating download dir 2020-02-15 17:57:26 +01:00
Anders F Björklund d9f9ea95f4 Add default configuration for containerd
Generated with `containerd config default`
2020-02-15 13:04:08 +01:00
Anders F Björklund 3398013249 Change cgroup driver from cgroupfs to systemd
The minikube iso is using systemd, so change the container runtime
to use the same cgroup manager instead of the default (cgroupfs).

Avoids kubeadm init message:
    [WARNING IsDockerSystemdCheck]:
        detected "cgroupfs" as the Docker cgroup driver.
        The recommended driver is "systemd".

Also change the configuration for the containerd and cri-o runtimes.
2020-02-15 12:47:51 +01:00
Anders F Björklund c117a35fad The pinns binary was added to cri-o 2020-02-14 21:14:31 +01:00
Anders Björklund 84f4a42ad9
Merge pull request #6621 from afbjorklund/buildroot-2019.02.9
Upgrade buildroot minor version
2020-02-14 18:24:16 +01:00
Anders Björklund 201533bf47
Merge pull request #6638 from afbjorklund/podman-1.6.5-hash
Fix wrong hash for podman-1.6.5 tarball
2020-02-14 17:33:44 +01:00
Anders F Björklund 97288ccede Fix wrong hash for podman-1.6.5 tarball
Apparently my amend failed, had exact same hash as podman-1.6.4
2020-02-14 17:08:43 +01:00
Anders F Björklund 0a63e1522b The pause binary was deleted from cri-o 2020-02-14 17:03:46 +01:00
Anders Björklund c977faf22e
Upgrade Docker, from 19.03.5 to 19.03.6 (#6618)
runc v1.0.0-rc10

    containerd v1.2.12
2020-02-13 15:44:14 -07:00
Anders Björklund f37a894035
Upgrade crio to 1.17.0 (#6624)
* Upgrade crio to 1.17.0

* Upgrade crio.conf to version v1.17.0
2020-02-13 15:43:28 -07:00
Anders Björklund 40bae89f63
Upgrade conmon version for podman (#6622) 2020-02-13 15:42:57 -07:00
Anders Björklund e87e2f1cc5
Upgrade podman to 1.6.5 (#6623) 2020-02-13 15:42:24 -07:00
Anders F Björklund 3a05950764 Upgrade buildroot minor version 2020-02-13 22:52:01 +01:00
Anders F Björklund 078fc0fc3f Add packaging of the falco_probe kernel module
See also https://falco.org/docs/installation/
2020-02-09 10:32:19 +01:00
Thomas Strömberg 42239f522e
Merge pull request #6285 from afbjorklund/mbr-gpt
Switch from MBR to GPT for the ISO partitioning
2020-01-24 15:59:01 -08:00
Anders F Björklund 45272d4f8e Add varlink program for using with podman-remote
Using podman-remote requires "varlink bridge"
2020-01-19 17:56:31 +01:00
Anders F Björklund e6c684e19e Switch from MBR to GPT for the ISO partitioning 2020-01-12 15:02:15 +01:00
Medya Ghazizadeh b1789b82f8
Merge pull request #6210 from afbjorklund/crio-v1.16.1
Upgrade crio to 1.16.1
2020-01-07 14:53:30 -08:00
Medya Ghazizadeh 4dd8498ff1
Merge pull request #6209 from afbjorklund/runc-version
Fix the version number output of runc
2020-01-07 13:28:58 -08:00
Anders F Björklund c8b30a566d Fix the version number output of runc
And make the build more standardized, use the make target
2020-01-04 15:55:27 +01:00
Anders F Björklund aaca78e249 Upgrade crio to 1.16.1 2020-01-04 15:06:14 +01:00
Anders F Björklund a8d8147477 Upgrade podman to 1.6.4 2020-01-04 13:51:19 +01:00
Anders F Björklund 9e990f6b87 Upgrade buildroot minor version 2020-01-02 12:52:23 +01:00
Medya Ghazizadeh 5a6d14c2de
Merge pull request #5970 from afbjorklund/crio-v1.16.0
cri-o v1.16.0
2019-11-25 23:05:19 -08:00
Medya Ghazizadeh 18fc74232e
Merge pull request #5972 from afbjorklund/crictl-1.16
Update crictl to v1.16.1
2019-11-25 15:59:49 -08:00
Medya Ghazizadeh 8431207d92
Merge pull request #5914 from harsimranmaan/update_docker
Update docker to v19.03.5
2019-11-25 15:03:49 -08:00
Medya Ghazizadeh 284e33a354
Merge pull request #5971 from afbjorklund/podman-1.6
Upgrade podman to 1.6.3
2019-11-25 14:19:33 -08:00
Anders F Björklund 13844d6852 Update crictl to v1.16.1 2019-11-25 18:30:19 +01:00
Anders F Björklund d648d1bd92 Upgrade podman to 1.6.3 2019-11-25 18:16:34 +01:00
Anders F Björklund 876e32eb69 Include the crio-wipe.service with crio 2019-11-25 18:10:50 +01:00
Anders F Björklund 6ed19fcd5d Upgrade crio.conf to version v1.16.0 2019-11-25 18:08:48 +01:00
Anders F Björklund c8a8a38712 Upgrade crio and conmon to version 1.16
Crio no longer includes a conmon binary
2019-11-25 18:06:58 +01:00
Anders F Björklund 3ef253526e Upgrade buildroot minor version 2019-11-24 19:39:41 +01:00
Harsimran Singh Maan f486f96711
Update runc hash 2019-11-20 13:17:18 -08:00
Harsimran Singh Maan 63ab594adf
Use same containerd as docker 2019-11-15 11:09:25 -08:00
Harsimran Singh Maan cdc0a38102
Update containerd and runc 2019-11-15 10:16:06 -08:00
Harsimran Singh Maan 7f77af5ba4
Update docker to v19.03.5 2019-11-14 12:05:54 -08:00
tstromberg 1f6e72427f Remove trailing slash 2019-10-16 16:18:28 -07:00
tstromberg 5c1647f6e7 Use more stable gluster mirror? 2019-10-16 16:00:13 -07:00
Thomas Strömberg 47f63a488d
Merge pull request #5607 from afbjorklund/docker-init
Add docker-init binary to package, bundled tini
2019-10-16 13:24:37 -07:00
Thomas Strömberg 1cfe6f4d50
Merge pull request #5608 from afbjorklund/containerd-gomod
Disable go modules for containerd, for newer go
2019-10-14 13:36:42 -07:00
Anders F Björklund 2e20dddc4a Upgrade Buildroot to 2019.02 and VirtualBox to 5.2
New major version of Buildroot, with new Linux kernel.
Both are LTS versions, and are supported until 2020.

Buildroot is upgraded from 2018.05 to 2019.02 LTS,
and Linux from 4.15 to 4.19 LTS as included in BR2.

Also upgrade VirtualBox to the supported 5.2 version
of the older branch, so that it will work everywhere.

Need to remove the legacy symlink for crio.sock from
the image, since it was causing build time issues...
2019-10-13 15:13:02 +02:00
Anders F Björklund e824b714c0 Disable go modules for containerd, for newer go
It worked for go1.10, but not really for go1.11
2019-10-13 15:01:03 +02:00
Anders F Björklund 95436360bd Add docker-init binary to package, bundled tini 2019-10-13 13:46:58 +02:00
James Peach 7cb9d643af Replace BR2_EXTERNAL_MINIKUBE_PATH with PKGDIR.
Buildroot support the `_PKGDIR` variable to refer to the package
configuration directory. This means that we can replace all uses
of `BR2_EXTERNAL_MINIKUBE_PATH/package/foo` with `FOO_PKGDIR`.
2019-10-03 14:14:22 +10:00
Anders F Björklund c1c8178f3f Upgrade crio to 1.15.2
Due to issues with grpc in the previous version,
when running kubernetes v1.16.0-rc.1 with cri-o.
2019-09-13 07:26:49 +02:00
Anders Björklund 35cfb7eaf8
Merge pull request #5304 from afbjorklund/crio-v1.15.1
Upgrade crio to 1.15.1
2019-09-09 21:46:09 +02:00
Anders F Björklund b2c1698ee7 Upgrade crio to 1.15.1
Drop patch that has now been integrated upstream.

Give up on running crio-config, use pre-generated.
2019-09-09 19:29:18 +02:00
Anders F Björklund 4ccc08a7cb Upgrade Docker, from 18.09.8 to 18.09.9 2019-09-09 18:20:35 +02:00
Thomas Strömberg b59a8b8e44
Merge pull request #5133 from afbjorklund/tmpfs
Move root filesystem from rootfs to tmpfs
2019-08-26 07:17:58 -07:00
Ian Lewis b37d1d286a Upgrade containerd to 1.2.8.
Issue #5191
2019-08-26 03:33:23 +00:00
Anders F Björklund ae8894c0ca Stop using no_pivot when not using rootfs 2019-08-24 16:12:52 +02:00
Anders F Björklund e2e5a50b3b Upgrade Docker, from 18.09.7 to 18.09.8 2019-07-19 14:49:57 +02:00
Anders Björklund 35753aa2da
Merge pull request #4703 from afbjorklund/crio-v1.15.0
Upgrade crio to 1.15.0
2019-07-16 10:03:12 +02:00
Anders F Björklund e57bc7e1c3 Update crictl to v1.15.0 2019-07-15 15:49:07 +02:00
Anders Björklund ffcca17edb
Merge pull request #4610 from afbjorklund/podman-1.4
Upgrade Podman to 1.4
2019-07-14 12:13:16 +02:00
Anders F Björklund 1548723067 Upgrade podman to 1.4.4 2019-07-08 23:00:12 +02:00
Anders F Björklund 85adbd76cb Upgrade crio to 1.15.0
The repository was moved to a separate organization

strings.ReplaceAll only work in go1.12, not go1.10

Need to create conmon/config.h without tags and git

The configuration _needs_ to be updated (yet again)
2019-07-07 16:49:02 +02:00
Anders F Björklund 37f3a64411 Upgrade crio.conf to version v1.15.0 2019-07-07 14:25:24 +02:00
Anders F Björklund 8bea8e719f Upgrade Docker, from 18.09.6 to 18.09.7
runc v1.0.0-rc8-0-g425e105

    containerd v1.2.6
2019-07-01 21:56:15 +02:00
Anders F Björklund 92e9a41fc9 Upgrade conmon version for podman 2019-06-26 20:37:18 +02:00
Anders F Björklund 3fe495fb7e Upgrade podman to 1.4.1 2019-06-26 20:37:18 +02:00
Anders F Björklund b31c66c807 Link runc dynamically, avoid docker-runc install
Static linking doesn't work with the systemd cgroup manager.

The latest docker package now uses the standard runc program.
2019-06-04 07:13:59 +02:00
Anders F Björklund 32583d8c1f Install podman configuration to use no_pivot_root
We need this podman setting, as long as we're running from rootfs.

	no_pivot_root = true

Note that building uses a different way, an environment variable.

	export BUILDAH_NOPIVOT=true
2019-06-04 07:13:28 +02:00
Anders F Björklund 70a00bfb3b Make podman depend on conmon from master
Need a later version than the one provided by crio.

So use separate installations, one for each program.
2019-06-04 07:13:09 +02:00
Anders F Björklund fb0a6f4548 Make buildah --no-pivot default, using env var
Needed for doing "podman build" (uses buildah) when running on rootfs.

This environment variable has the same affect as DOCKER_RAMDISK does.
2019-05-25 13:23:29 +02:00
Thomas Strömberg af443fc3ac
Merge pull request #4299 from afbjorklund/podman-1.3
Update to Podman 1.3 & CRIO v1.14.1
2019-05-20 16:29:43 -07:00
Anders F Björklund d3c088aefe Merge branch 'master' into podman-1.3 2019-05-20 22:32:01 +02:00
Anders F Björklund d6434317c7 Upgrade crio to 1.14.1 2019-05-20 22:31:35 +02:00
Anders F Björklund dff8960a3c Upgrade podman to 1.3.1 2019-05-20 22:23:26 +02:00
Anders F Björklund a3360831f4 Upgrade Docker, from 18.09.5 to 18.09.6 2019-05-20 22:12:05 +02:00
Thomas Strömberg 00832dc182
Merge pull request #4204 from afbjorklund/docker-18.09
Upgrade Docker, from 18.06.3-ce to 18.09.5
2019-05-20 08:12:55 -07:00
Anders F Björklund c272f683ea The cri-o config changed the type of a field
Trying to run with the old config gives fatal runtime error:
toml: cannot load TOML value of type string into a Go slice
2019-05-04 22:09:21 +02:00
Anders F Björklund 8a4b8629dc Upgrade crio.conf to version v1.14.0 2019-05-04 22:05:23 +02:00
Anders F Björklund 1d8b7d6032 Upgrade crio.conf to version v1.13.0 2019-05-04 21:57:46 +02:00
Anders F Björklund bfed2948c1 Upgrade crio.conf to version v1.12.0 2019-05-04 21:55:12 +02:00
Anders F Björklund 6dda382a6a Upgrade crio.conf to version v1.10.0 2019-05-04 19:33:02 +02:00
Anders F Björklund 5927bf874d Upgrade Docker, from 18.06.3-ce to 18.09.5
Stop installing docker-runc, docker-containerd and docker-containerd-ctr

Instead use the upstream runc, containerd and ctr (after upgrading them)

	runc v1.0.0-rc6-69-g2b18fe1

	containerd v1.2.5
2019-05-04 18:16:37 +02:00
Anders F Björklund 3cc4376298 Upgrade crio to 1.14.0 2019-05-04 16:17:12 +02:00
Anders F Björklund af5b2c7c2d Upgrade podman to 1.2.0 2019-05-04 16:10:10 +02:00
Thomas Strömberg 14414d1676
Merge pull request #4030 from laozc/fix-hv-daemon
Update Hyper-V daemons
2019-04-10 15:17:40 -07:00
Zhongcheng Lao 9a5f3c2673
Do not attempt to restart service on failures for Hyper-V daemons
Service restart may not work when a specific integration service
is disabled in the VM setting. Remove the setting for performance
concerns.
2019-03-31 14:06:56 +08:00
Zhongcheng Lao e8cdc4ba85
Merge Hyper-V deamon packages to hyperv-daemons
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-03-31 12:28:00 +08:00
Zhongcheng Lao e0d7363fba
Add udev rules to generate devices for Hyper-V daemons
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-03-31 12:27:54 +08:00
Zhongcheng Lao def1a55472
Install Hyper-V FCOPY daemon
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-03-31 12:27:23 +08:00
Zhongcheng Lao 47f4d2ebac
Install Hyper-V VSS daemon
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-03-31 12:26:37 +08:00
Zhongcheng Lao f18136dc9e
Install required scripts for Hyper-V KVP daemon
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-03-30 19:20:57 +08:00
Anders F Björklund 4c4d0b270b Upgrade Docker, from 18.06.2-ce to 18.06.3-ce
We have our own runc version anyway, instead of the older
unpatched one that was shipped by mistake with 18.06.2...

But now that we are printing the container runtime version,
some people find it disturbing to see the older number.
2019-03-30 08:36:10 +01:00
Thomas Strömberg cc5d4e9724
Merge branch 'master' into rkt-remove 2019-03-25 11:31:09 -07:00
Anders F Björklund 71b3e3ec5d Store the toolbox on the disk instead of rootfs
There was a lack of "disk" space, when using memory.

This also makes the toolbox persistent over reboots.
2019-03-25 07:41:21 +01:00
Anders F Björklund 2590fc7b9a Remove the rkt container runtime
It has not been updated since kubernetes 1.9 or so
2019-03-24 08:50:58 +01:00
Thomas Strömberg 06d9210937
Merge pull request #3927 from tstromberg/noswap-2.0
Remove the swap partition from minikube.iso
2019-03-21 11:48:25 -07:00
Thomas Stromberg 5f804d6d67 Update CoreOS GPG key hash 2019-03-21 10:40:26 -07:00
Thomas Stromberg 7ad20b00db Merge branch 'master' into noswap-2.0 2019-03-21 10:34:19 -07:00
Thomas Strömberg 4ca9f79310
Merge pull request #3905 from afbjorklund/rktlet
The rktlet binary is missing, for the rkt container runtime
2019-03-21 10:32:39 -07:00
Thomas Strömberg 37e5e6d25f
Merge pull request #3921 from tstromberg/podman-no-tools
podman needs no install.tools
2019-03-21 10:30:41 -07:00
Thomas Stromberg 3304951683 podman needs no install.tools 2019-03-20 22:26:57 -07:00
Thomas Stromberg 4701ef8f1e Upgrade crio to v1.13.1, skip install.tools target as it isn't necessary 2019-03-20 22:20:49 -07:00
Thomas Stromberg 089e1c9cc2 Remove where a swap partition is created and activated 2019-03-20 20:50:49 -07:00
Anders F Björklund a380dbbeae Add rktlet from master 2019-03-18 20:47:37 +01:00
Anders F Björklund 39f1164542 Upgrade rkt to 1.30.0 2019-03-18 20:37:34 +01:00
Anders Björklund 7e6c688116
Merge pull request #3666 from afbjorklund/docker-runc
Upgrade Docker, from 18.06.1-ce to 18.06.2-ce
2019-02-14 21:29:15 +01:00
Anders F Björklund bab67c46fc runc 0a012df
CVE-2019-5736
2019-02-13 20:26:43 +01:00
Anders F Björklund f92d76b13b Upgrade Docker, from 18.06.1-ce to 18.06.2-ce
CVE-2019-5736
2019-02-13 19:42:43 +01:00
Anders F Björklund abb5fc0af0 Show name as CRI-O, even if class is CRIO
Should use the proper name for display, even if we use a name more
suitable to naming classes and methods for the implementation...

Also use the --runtime=cri-o when testing, and update the github
repository now that cri-o has graduated from incubator to a sig.

See https://cri-o.io/
2019-02-12 21:03:51 +01:00
Anders F Björklund ad62f93012 crio: use official kube pause image from gcr 2019-02-05 22:14:28 +01:00
Thomas Stromberg 2702526566 Update crictl to v1.13.0 2019-02-04 09:18:57 -08:00
Thomas Strömberg 0d02609e76
Merge pull request #3584 from afbjorklund/podman-1.0
Podman 1.0.0
2019-01-25 09:33:09 -08:00
Anders F Björklund aadbb1e42a containerd: upgrade from beta to release version 2019-01-24 20:57:03 +01:00
Anders F Björklund d18dce5850 Make containerd report the correct version
It was trying to use "git", on the tarball.

Closes #3454
2019-01-24 20:51:09 +01:00
Anders F Björklund 2caf997fcb Make sure to use correct git commit, not buildroot 2019-01-24 20:13:23 +01:00
Anders F Björklund 43eeaea420 Upgrade podman to 1.0.0 2019-01-24 20:13:23 +01:00
Anders F Björklund 18097177fd The podman github project has moved
From "projectatomic" to "containers"
2019-01-24 20:13:23 +01:00
Anders F Björklund 5a7e216caf Upgrade podman to 0.9.3 2019-01-24 20:13:18 +01:00
Anders F Björklund 2aa4927e78 Add basic registries.conf for docker.io registry 2019-01-24 20:09:39 +01:00
Thomas Strömberg 227d560417
Merge pull request #3545 from tstromberg/runc-update
Install upstream runc into /usr/bin/docker-runc
2019-01-18 13:42:55 -08:00
Thomas Stromberg 5b7506574d Add remove TODO comments for docker 18.09 2019-01-18 09:09:51 -08:00
Thomas Stromberg 28d0edda80 Install upstream runc into /usr/bin/docker-runc 2019-01-18 08:07:23 -08:00
Thomas Strömberg e1804d24ba
Merge pull request #3535 from tstromberg/runc-update
Update to opencontainers/runc HEAD as of 2019-01-15
2019-01-17 09:27:27 -08:00
Thomas Stromberg 0219c67612 Pull in opencontainers/runc#1962 by updating to runc HEAD 2019-01-16 11:06:49 -08:00
Thomas Strömberg 5d9311bcdf
Merge pull request #3190 from afbjorklund/crio
Improve the default crio-bin configuration
2019-01-15 17:02:12 -08:00
Thomas Stromberg 666a902ba7 Add newline 2019-01-11 10:53:29 -08:00
Thomas Stromberg b2831c871e Update crio-bin to v1.13.0 2019-01-08 16:22:21 -08:00
Thomas Stromberg e4303ebb91 Disable vboxvideo and remove timesync-set-on-restore: neither work correctly w/ 5.1.x drivers in minikube 2018-12-20 13:54:57 -08:00
Thomas Stromberg 9a2600e791 Revert "Upgrade vbox from 5.1.38 to 5.2.22"
This reverts commit cbe5878ef2.
2018-12-20 11:46:54 -08:00
Thomas Stromberg cbe5878ef2 Upgrade vbox from 5.1.38 to 5.2.22 2018-12-17 11:59:35 -08:00
Thomas Stromberg c3ce6ba0ec Force vbox timesync at boot 2018-12-17 11:59:00 -08:00
Thomas Stromberg f7ac166f6b crio is now in kubernetes-sigs rather than kubernetes-incubator. 2018-11-12 14:44:26 -08:00
Thomas Stromberg d2ac7ae28e Upgrade to crio v1.11.8 2018-11-07 15:05:51 -08:00
Akihiro Suda 8edef67226 Upgrade Docker, from 17.12.1-ce to 18.06.1-ce
Docker >= 18.06 is needed for securityContext.procMount (Kubernetes >= 1.12)

See kubernetes/kubernetes#64283 and docker/docker-ce@67fe100

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-10-06 06:17:01 +09:00
Thomas Strömberg 79e95f8e67
Merge pull request #3152 from afbjorklund/cni
Upgrade cni and cni-plugins to release version
2018-10-03 21:55:07 -07:00
Thomas Strömberg 9ce572222e
Merge pull request #3195 from davidovich/ensure_dev_mounted
ensure that /dev has settled before operating
2018-10-03 21:36:55 -07:00
Thomas Strömberg 67d5fc8984
Merge pull request #3162 from ansiwen/upgrade-gluster
Upgrade gluster client in ISO to 4.1.5
2018-10-02 17:54:01 -07:00
Anders F Björklund da203377be Set storage driver explictly in the crio.conf
crio.conf(5) says:

   storage_driver=""
   CRIO storage driver (default is "overlay")

   Note:
   overlay and overlay2 are the same driver
2018-10-02 22:16:46 +02:00
Anders F Björklund 9f8ba5ffe6 Add registries entry for docker.io registry 2018-10-02 22:16:27 +02:00
Anders F Björklund 25e28c392f Use the standard root dir, and minikube-automount 2018-10-02 22:15:55 +02:00
Anders F Björklund c64b423304 Add /var/lib/containers to the list of bindmounts 2018-10-02 22:15:55 +02:00
David Genest bb07acdc90 ensure that /dev has settled before operating
Minikube automount relies on a VM disk to be mounted (usually /dev/sda)
to provide .ssh credentials.

This commit adds a dependency on systemd-udev-settle to ensure that all devices
(including disks) are up and available before executing the mount
script.

We use systemd-udev-settle
https://github.com/systemd/systemd/blob/master/units/systemd-udev-settle.service.in

To ensure this. Note that in the above link, we can read a comment
stating that systemd-udev-settle is used to ensure a populated /dev
during bootup, which is exaclty what we want.

Signed-off-by: David Genest <david.genest@gmail.com>
2018-10-01 15:57:45 -04:00
Sven Anderson f39ccc84a6 Upgrade gluster client in ISO to 4.1.5 2018-09-24 22:16:17 +02:00
Anders F Björklund 16be159cbd Install crictl from binary instead of from source
Since we already install docker and cni from binary
2018-09-24 20:03:54 +02:00
Anders F Björklund d8c8f0a896 Upgrade cni and cni-plugins to release version
Closes #3151
2018-09-22 10:40:03 +02:00
yanxuean 00a8b13e98 support containerd v1.2.0-beta.0
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-08-21 09:28:33 -07:00
Anders F Björklund ec55fba5f0 Upgrade from kpod 0.1 to (new name) podman 0.4.1
Simple management tool for containers and images

"podman shares state with crio and so has the
capability to debug pods/images created by crio"

https://github.com/projectatomic/libpod/pull/145
2018-07-30 10:36:48 -07:00
Aaron Prindle a4606583e4 remove all localkube references from code, change /var/lib/localkube to /var/lib/minikube 2018-07-24 12:36:42 -07:00
dlorenc 2be51dc6bc Fix vboxsf host mounting.
vboxguest is included in 4.16, but not vboxsf.
I couldn't get vboxsf to compile for 4.16, so I downgraded to 4.15.
2018-07-16 09:49:54 -07:00
dlorenc fbd620a010 Update cri-tools to 1.11.1. 2018-07-16 09:49:54 -07:00
Sven Anderson 9b5795072e Add heketi and gluster dependencies to minikube.iso
This change adds gluster and heketi dependencies to buildroot config,
that is dm_snapshot, dm_thin_pool and XFS kernel modules, XFS tools,
and gluster itself.
2018-07-08 22:27:33 -07:00
ijl 4c4cd31b02 linux 4.16, buildroot 2018.05
linux is upgraded to 4.16, binutils is upgraded to 2.30, and
libelf is installed for the newer kernel.

Other configuration changes are changes in defaults and ordering.

Now using glibc 2.27. systemd 237, and Go 1.10.

vbox-guest is removed because it's upstream as of linux 4.16.

More on buildroot at https://git.buildroot.net/buildroot/tree/CHANGES
2018-06-11 07:31:17 -07:00
AdamDang 1e409df919
Update crio.conf 2018-04-23 20:14:09 +08:00
Anders F Björklund 1a22f21886 Upgrade cri-o to version 1.10.0 2018-03-30 13:41:25 -07:00
Anders F Björklund 60ec8bdf06 Add crictl from cri-tools, to minikube.iso
We don't need critest, because it requires go anyway.
But kubeadm insists on crictl being available in path.
2018-03-30 08:32:19 -07:00
Anders F Björklund cc965e3793 Upgrade Docker, from 17.09.0-ce to 17.12.1-ce 2018-03-11 18:46:22 +01:00
Anders F Björklund 047be764d3 Downgrade docker from 17.12.0 back to 17.09.0 2018-01-17 08:21:26 -08:00
Anders F Björklund 565094e351 Upgrade Docker, from 17.06.0-ce to 17.12.0-ce 2018-01-17 08:21:26 -08:00
Suraj Deshmukh 5d7d751db8 Change the cri-o socket location to upstream default
Right now the cri-o socket is placed in `/var/run/crio.sock`, this
commit changes it to `/var/run/crio/crio.sock` which is similar to
upstream.

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2018-01-04 10:35:08 -08:00
yanxuean 9934697735 remove duplicate BR2_PACKAGE_BTRFS_PROGS
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2017-12-26 13:14:33 -08:00
ijl 8ca92d4b0a kpod b85d0fa 2017-12-14 08:54:36 -08:00
ijl 25c7629ceb crio-bin v1.8.4 2017-12-14 08:54:36 -08:00
ijl e677c9639d runc 0fdc908 2017-12-14 08:54:36 -08:00
Vincent Batts 16c54fcdc4 crio: update to v1.0.3
Also, this fixes the version output from `kubectl describe node`.
Now it shows:
```
[...]
System Info:
 Machine ID:                    41af387f4d4e4a3eabcdd2454a7e17f9
 System UUID:                   B5BA9F83-3476-4B4A-943A-81E7A3953234
 Boot ID:                       7e616123-fa50-4fa9-8f47-88b2a09fbb81
 Kernel Version:                4.9.13
 OS Image:                      Buildroot 2017.02
 Operating System:              linux
 Architecture:                  amd64
 Container Runtime Version:     cri-o://1.0.3
 Kubelet Version:               v1.8.0
 Kube-Proxy Version:            v1.8.0
[...]
```

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-12-14 08:54:36 -08:00
ijl 350e09d263 vbox-guest 5.1.30
5.1.18 won't build with more recent kernels.

https://www.virtualbox.org/wiki/Changelog-5.1
2017-12-08 13:50:36 -06:00
ijl 57d1b0ce70 openvmtools10 package removed in favor of buildroot
buildroot's version is now more recent than the forked package.
2017-12-07 15:02:19 -06:00
ijl 1ca3a42e97 crio-bin requires libglib2, libmount 2017-12-07 15:02:19 -06: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 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
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
Jakub Gocławski 4c624c284a Upgrade Docker to 1.12.6. 2017-06-29 11:58:14 -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
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
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
dlorenc 8010715e27 CoreOS has a new signing key. 2017-03-14 10:06:03 -07:00
dlorenc cebea5ffbd Persist the new hostpath location. 2017-03-02 09:03:49 -08:00
Matt Rickard 2b7adb5535 Add bootlocal script as custom startup script 2017-02-24 15:57:51 -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
Tom von Schwerdtner e4d62f1028 Persist /tmp/hostpath_pv 2017-02-13 12:32:46 -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
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
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 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
Dan Lorenc e7b013c8db Add a buildroot package for hv_kvp_daemon. 2016-11-09 16:14:16 -08:00
Sergiusz Urbaniak ec5d707a59
minikube-iso: move to deploy/iso/minikube-iso 2016-10-13 19:59:25 +02:00