Commit Graph

636 Commits (172d5933f17d11c9fac7f89f27efa252115fd3f7)

Author SHA1 Message Date
Archana Shinde 2176f3fa37 kernel: Add config for tc u32 filter and mirred action
These are needed for running Kata Containers in minikube.
Kata uses linux tc for its networking

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-05-23 18:34:34 -07:00
Toliver Jue 6a9031aaf6 Enable GatewayPorts in sshd_config, for proxying in services into minikube 2019-05-24 09:56:49 +09:00
minikube-bot 3b0b33f704 Update releases.json to include v1.1.0 2019-05-22 00:21:08 +00: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
Thomas Strömberg 971f53764e
Merge pull request #4207 from afbjorklund/crio.conf
Document overrides to the crio.conf
2019-05-20 08:12:13 -07:00
tstromberg 9a9f9edf5f First pass at lint-ageddon 2019-05-13 18:31:55 -07:00
Zoran Regvart 40da5023d0
Fix registry addon ReplicationController template
Running the `minikube addons enable registry` yields `registry was successfully enabled` but no `registry` Pod ends up being run.

I've narrowed it down to this `env` entry not being quoted.

Logs from `kube-addon-manager-minikube` Pod show this error:

```
Error from server (BadRequest): error when creating "/etc/kubernetes/addons/registry-rc.yaml": ReplicationController in version "v1" cannot be handled as a ReplicationController: v1.ReplicationController.Spec: v1.ReplicationControllerSpec.Template: v1.PodTemplateSpec.Spec: v1.PodSpec.Containers: []v1.Container: v1.Container.Env: []v1.EnvVar: v1.EnvVar.Value: ReadString: expects " or n, but found t, error found in #10 byte of ...|,"value":true}],"ima|..., bigger context ...|"name":"REGISTRY_STORAGE_DELETE_ENABLED","value":true}],"image":"registry.hub.docker.com/library/reg|...
```
2019-05-07 22:35:15 +02:00
Medya Gh 5fa67141e6 Added Exotic Arch for legacy docker images 2019-05-06 17:07:05 -07:00
Medya Gh d688240b75 Rename all template files to be consistent format .ext.tmpl 2019-05-06 15:12:46 -07:00
Medya Gh c997c72667 Update gitignore 2019-05-06 14:44:59 -07:00
Medya Gh e6c4ee5b50 Rename the .template files to .yaml 2019-05-06 14:43:10 -07:00
Medya Gh 1790589f70 Replace ARCH sed macros with Go templates 2019-05-06 14:38:38 -07:00
Anders F Björklund 732c6d7e9b Need to create the cni directory, or cri-o cries
config validation: invalid network_dir:
stat /etc/cni/net.d/: no such file or directory
2019-05-04 22:40:00 +02: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 fce157865d
Merge pull request #4153 from keramiozsoy/storageclass-its-no-longer-beta
storageclass no longer beta #4148
2019-04-30 15:46:05 -07:00
Thomas Strömberg d0a3b6f569
Merge pull request #4091 from linux-on-ibm-z/multi-arch-deploy-support
Adding support for s390x
2019-04-30 13:02:28 -07:00
minikube-bot a9e94cfb60 Update releases.json to include v1.0.1 2019-04-29 18:10:55 +00:00
kerami d7892ec104
storageclass no longer beta
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/storage-class/local/default.yaml
2019-04-25 22:17:58 +03:00
salamani 9b419d66dc adding multi-arch support 2019-04-17 08:43:37 -04:00
Himanshu Pandey ce40cdc960 Added REGISTRY_STORAGE_DELETE_ENABLED environment variable for Registry addon 2019-04-11 16:14:36 -07: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
Joji Mekkatt b06b3ee3f8 Enable CONFIG_NF_CONNTRACK_ZONES 2019-04-09 06:50:22 -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
minikube-bot e0ba2f82c1 Update releases.json to include v1.0.0 2019-03-27 15:09:40 +00:00
Thomas Stromberg c91da2a65f Upgrade addon-manager to v9.0 for compatibility with Kubernetes v1.14 2019-03-26 11:33:42 -07:00
Thomas Strömberg cc5d4e9724
Merge branch 'master' into rkt-remove 2019-03-25 11:31:09 -07:00
Thomas Strömberg 593c4795de
Merge pull request #3946 from afbjorklund/podman-toolbox
Use podman instead of rkt, for extracting toolbox
2019-03-25 11:28:10 -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
Anders F Björklund 3d483b292c Use podman instead of rkt, for extracting toolbox
Need to create and mount a dummy container, to get at image.

Used rsync instead of cp -pR, easier with sudo permissions.
2019-03-23 22:20:20 +01:00
Zhongcheng Lao 7ae074106c Merge remote-tracking branch 'origin/master' into custom-image-repository 2019-03-22 10:42:09 +08: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 Strömberg 460ef571e2
Merge branch 'master' into lint 2019-03-21 11:32:47 -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
Zhongcheng Lao daeb238766 Merge remote-tracking branch 'origin/master' into custom-image-repository 2019-03-21 13:23:11 +08: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
Thomas Strömberg 4756b15bc1
Merge branch 'master' into lint 2019-03-20 10:16:09 -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
Zhongcheng Lao 40caf8317c Merge remote-tracking branch 'upstream/master' into custom-image-repository 2019-03-15 18:01:48 +08:00
Dmitry Budaev fcd5d996b3 Update Ingress-NGINX to 0.23 Release
Updates Ingress-Nginx to use 0.23 release.
2019-03-14 15:11:55 +01:00
Cristian Măgherușan-Stanciu @magheru_san a3e652a360
Fix `minikube addons open heapster`
In the default installation I get the same error:
```
$ minikube addons open heapster
💣  This addon does not have an endpoint defined for the 'addons open' command.
You can add one by annotating a service with the label kubernetes.io/minikube-addons-endpoint:heapster
```
This PR is simply implementing the suggested fix by adding the aforementioned label to the heapster service.
2019-03-07 21:48:39 +01:00
minikube-bot f4600607fa Update releases.json to include v0.35.0 2019-03-07 06:06:03 +00:00
Thomas Strömberg cc71bf9e82
Merge pull request #3758 from karmab/vhost_net_support
Enable tap and vhost-net in minikube iso
2019-03-06 14:16:37 -08:00
Anders F Björklund 46640cef68 Address all lint except undocumented and stutter
These two lint warnings still remain, after the cleanup:
"exported ... should have comment or be unexported"

"type name will be used as foo.FooBar by other packages,
 and that stutters; consider calling this Bar"
2019-03-02 22:03:55 +01:00
Miel Donkers 3fdda45e30
Enable kernel modules necessary for IPVS
To be able to use Kubernetes' IPVS proxy-mode, certain (IP Set) kernel modules
need to be enabled during kernel build time.
Building a new Minikube image with these modules enabled, will allow
others to switch kube-proxy in IPVS mode and experiment with it inside
Minikube.
2019-03-02 20:49:00 +01:00
karmab 46492b5cfc Enable tap and vhost-net in minikube iso 2019-02-26 09:46:32 +01:00
Yaroslav Skopets 24b639307e Add Netfilter `xt_socket` module to complete support for Transparent Proxying (TPROXY)
According to Kernel documentation, support for Transparent Proxying (TPROXY)
requires 2 Netfilter modules to be installed: `xt_TPROXY` and `xt_socket`.

So far, Minikube had only `xt_TPROXY`.

See https://www.kernel.org/doc/Documentation/networking/tproxy.txt
2019-02-17 18:54:50 +01:00
Zhongcheng Lao 7a59d376cf Turn addon resource with images into template
When the user overrides image repository the images will be pulled
from the overrided one instead of the official repositories.
2019-02-18 01:00:18 +08:00
Zhongcheng Lao 7cbe253ef6 Allow specifying image repository for docker images
Some users (especially for those in mainland China) may have issue
accessing the default image repository. This patchset allows users
to override the default image repository gcr.io to a different
repository by specifying --image-repository option in the command
line as a simple workaround. Images will be pulled from the
specified image repository instead of the default ones.

Example (using mirror by Aliyun):
minikube start ...
   --image-repository
   registry.cn-hangzhou.aliyuncs.com/google_containers
2019-02-18 01:00:12 +08:00
minikube-bot 85e7b85ff2 Update releases.json to include v0.34.1 2019-02-16 22:18:34 +00:00
minikube-bot 8c0c7813f0 Update releases.json to include v0.34.0 2019-02-15 21:42:33 +00: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 78806674f3 Merge branch 'master' into defaults 2019-02-09 18:25:27 +01:00
Anders F Björklund ad62f93012 crio: use official kube pause image from gcr 2019-02-05 22:14:28 +01:00
Anders F Björklund 6ff11e44a5 Remove default cni flags from the documentation 2019-02-05 20:05:05 +01:00
Thomas Stromberg 2702526566 Update crictl to v1.13.0 2019-02-04 09:18:57 -08:00
Kauê Doretto Grecchi d609aa3239 $TOOLBOX_DOCKER_ARCHIVE variable removed 2019-01-30 14:37:17 -02:00
Kauê Doretto Grecchi 4226ff70aa updated to fedora-29. issues #2889 $3058 2019-01-30 13:46:53 -02: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
Thomas Strömberg b61207c233
Merge pull request #3391 from ivans3/logviewer-addon-pr7
Initial commit of logviewer addon
2019-01-24 16:00:29 -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
Leif Ringstad 108883ef16 Use mac as identifier for dhcp 2019-01-23 14:45:20 +01:00
minikube-bot 24a171613e Update releases.json to include v0.33.1 2019-01-19 01:07:15 +00: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
minikube-bot 1c595c5327 Update releases.json to include v0.33.0 2019-01-17 23:27:10 +00:00