Commit Graph

855 Commits (8948828fc1b5ecd20d64f8e991d051b563306cf8)

Author SHA1 Message Date
Thomas Stromberg cf1444c4d5 Grant cluster-admin rights to dashboard 2019-09-18 18:01:46 -07:00
Thomas Stromberg ee5377558e Remove extra YAML file 2019-09-18 17:25:40 -07:00
Thomas Stromberg 0c484a5f92 Add missing YAML file 2019-09-18 17:25:21 -07:00
Thomas Stromberg 6bd89789c0 Upgrade dashboard to 2.0.0b4 2019-09-18 17:23:42 -07:00
Josh Woodcock d81e8e943b Add helm addon 2019-09-18 06:55:54 -05: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
Ian Lewis d8c380da85
Merge branch 'master' into gvisor-containerd-shim_v0.0.2 2019-09-03 22:20:12 -04:00
Thomas Strömberg c26281b213
Merge pull request #5028 from reegnz/upgrade-deprecated-api-references
Upgrade addons to use apps/v1 instead of extensions/v1beta1
2019-08-26 13:34:39 -07:00
Thomas Strömberg ffe7fa12b1
Merge pull request #5197 from reegnz/upgrade-nginx
Upgrade nginx to security patch v0.25.1
2019-08-26 10:20:40 -07: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
Zoltán Reegn 96217ce932 Upgrade nginx to security patch v0.25.1
See ingress-nginx release notes for details:
https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.25.1
2019-08-26 15:07:54 +02:00
Zoltán Reegn 3056ca2d48 Upgrade addons to use apps/v1 instead of extensions/v1beta1
extensions/v1beta1 are deprecated and will not be served with kubernetes 1.16
anymore.

For Deployment,DaemonSet and StatefulSet the apps/v1 api has been present
since kubernetes 1.9.

See following blog post for details:
https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
2019-08-26 15:00:49 +02:00
Ian Lewis d14bdbced7 Update gvisor runsc version
- Updates the gvisor addon to use containerd shim v2
- Updates the version of runsc
- Auto-installs a gvisor RuntimeClass

Issue #4482
2019-08-26 05:02:22 +00: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 a4c5992377 Move root filesystem from rootfs to tmpfs 2019-08-24 16:12:52 +02:00
AllenZMC 38d15e31e5
fix mis-spelling in README.md 2019-08-18 15:26:27 +08:00
Priya Wadhwa 198d6397f9 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-08-15 13:56:37 -07:00
Zhongcheng Lao d26937dd8e
Merge remote-tracking branch 'origin/master' into populate-ca
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-08-15 20:38:12 +08:00
Medya Ghazizadeh 25e057cee3
Merge pull request #4991 from reegnz/bugfix/reenable-systemd-timesyncd
Re-Added time synchronization between host/VM
2019-08-13 21:48:47 -07:00
minikube-bot d7e5301d75 Update releases.json to include v1.3.1 2019-08-13 08:18:53 -07:00
Priya Wadhwa bd17652481 Merge branch 'master' of https://github.com/kubernetes/minikube into gvisor-image 2019-08-08 13:10:04 -07:00
Priya Wadhwa 94638de7fd Remove error in gvisor image since it works now 2019-08-08 12:52:40 -07:00
Zoltán Reegn 2a995a3fe6 Reenable systemd-timesyncd, except on virtualbox
This commit attempts to add back the missing time synchronization feature
to Minikube that was removed earlier with #3476.

As mentioned in #1378 we have an alternative solution for time
synchronization for Oracle VirtualBox, so there we don't want to enable
systemd-timesyncd.

We are using systemd conditional activation on systemd-timesyncd and
exclude systems that have an oracle hypervisor hosting the vm (currently
that's virtualbox for our purposes).
2019-08-07 11:30:27 +02:00
minikube-bot 96b33bddc5 Update releases.json to include v1.3.0 2019-08-05 18:53:13 -07:00
Priya Wadhwa cdbb2dd572 Updated gvisor test 2019-08-05 15:21:09 -07:00
Priya Wadhwa 24a2748af8 rebased, fixed merge conflicts 2019-08-05 13:53:23 -07:00
Zhongcheng Lao a7500b3a32
Adds OpenSSL lib and binaries to minikube ISO
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-08-05 08:07:32 +08:00
Zoltán Reegn d1436b40fe Remove ingress-nginx default backend
It's not needed since nginx 0.20.0.

See the following pull-requests for context:
* https://github.com/kubernetes/ingress-nginx/pull/3126
* https://github.com/kubernetes/ingress-nginx/pull/3156
2019-07-30 09:32:02 +02:00
Medya Ghazizadeh 396a65a101
Merge pull request #4785 from reegnz/upgrade-nginx
Upgrade nginx ingress to 0.25.0
2019-07-28 14:29:03 -07:00
Zoltán Reegn 5d74821d7d Upgrade nginx ingress to 0.25.0 2019-07-22 10:52:45 +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
Om Kumar d76d874067 Fix regression caused by registry-proxy
This PR addresses #4604 by adding a new selector to concerned svc/rc only.
This also reverts `kubernetes.io/minikube-addons` to `registy` for registry-proxy
so that addon manager can deploy registry-proxy when registry addon is enabled.
2019-07-18 18:28:07 +05:30
Thomas Strömberg 1d567eabad
Merge pull request #4639 from castlemilk/registry-integration-tests
Added integration tests for registry
2019-07-17 09:56:04 -07: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
Priya Wadhwa 6f65e3f822 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-07-15 17:01:24 -07: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
Priya Wadhwa 1ec4012052 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-07-11 12:43:42 -07:00
Priya Wadhwa d68e054dfd Attempt to copy gvisor tar and load with ctr 2019-07-11 11:58:57 -07:00
Priya Wadhwa 3ffe2af1e4 Point docker daemon to minikube and rebuild docker image 2019-07-10 16:14:46 -07:00
Priya Wadhwa e6653b78eb Build and push the gvisor image, setting an environment variable
which can be picked up during integration testing.

I opted to do it this way because the locally built gvisor image wasn't
being picked up by minikube, because the docker daemon wasn't
configured, since minikube isn't up and running yet. Even if the docker daemon was configured to point to
minikube, we wouldn't be able to build the gvisor-image from the test
itself.
2019-07-10 14:13:17 -07:00
Priya Wadhwa d2e5a4b052 build gvisor image locally in integration tests; add temporary error to make sure that image is used 2019-07-09 12:46:57 -07:00
Priya Wadhwa a8f1ed7a26 Rebuild gvisor image for integration tests
We should rebuild the gvisor image for integration tests, so that if
changes are made to the gvisor image they are tested. I added an
environment variable that, when set, will change the expected gvisor
image repo.
2019-07-08 15:54:30 -07: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
Jose Donizetti ad97983d9e # This is a combination of 8 commits.
# This is the 1st commit message:

Fix doc comment version.gitCommitID doc


# This is the commit message #2:

Add hyperkit doc


# This is the commit message #3:

Add commit id to docker-machine-driver-kvm2 version


# This is the commit message #4:

removed label selector for registry-proxy daemonset

# This is the commit message #5:

Add support to custom qemu uri on kvm2 driver


# This is the commit message #6:

Improve hyperkit vm stop


# This is the commit message #7:

Make virtualbox DNS settings configurable 


# This is the commit message #8:

added integration tests for registry addon
2019-06-29 18:27:47 +10:00
Ben Ebsworth 3917db4962 removed label selector for registry-proxy daemonset 2019-06-28 18:33:24 +10: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
Francis a85eac1de4 Update ingress-nginx version to 0.24.1 2019-06-25 10:06:29 -07:00
minikube-bot 79816c0b71 Update releases.json to include v1.2.0 2019-06-24 01:33:45 -07:00
Thomas Strömberg e1f8446886
Merge pull request #4421 from afbjorklund/podman-run
Enable running containers with Podman
2019-06-24 09:49:05 +08:00
Medya Gh 657469310c Use retryable http to avoid connection flakes 2019-06-13 22:58:14 -07:00
minikube-bot 8e4c6c9922 Update releases.json to include v1.1.1 2019-06-07 14:30:39 -07: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
fenglixa 8e650c0c61 Dashboard: add --disable-settings-authorizer to avoid settings 403 forbidden 2019-06-02 22:22:12 +08:00
Thomas Strömberg 516904c9a1
Merge pull request #4321 from afbjorklund/podman-buildah
Make buildah --no-pivot default, using env var
2019-05-28 17:09:48 -07:00
Thomas Strömberg 657221e9d2
Merge pull request #4341 from kumarom/registry-proxy
Enable registry-proxy
2019-05-28 10:25:28 -07: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 1a24097cfe
Merge pull request #4340 from amshinde/add-tc-u32-mirred
kernel: Add config for tc u32 filter and mirred action
2019-05-24 13:55:33 -07:00
Om Kumar ec3e7b5896 Enable registry-proxy
As per [this blog](https://blog.hasura.io/sharing-a-local-registry-for-minikube-37c7240d0615) and [this gist](https://gist.github.com/coco98/b750b3debc6d517308596c248daf3bb1), we need to deploy a registry-proxy
which will expose docker registry on the minikube host.

Once this daemon set is deployed on minikube, one can access registry on `$(minikube ip):5000`.
This has been tested with minikube v1.0.1 with none driver. With this, one will not have to use
`kubectl port-forward`. I was able to push a container image to registry using
```
docker push $(minikube ip):5000/test-img
```
And then ran it in minikube using
```
kubectl run -i -t test-img --image=$(minikube ip):5000/test-img --restart=Never
```
2019-05-24 10:37:14 +05:30
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
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 3aa83674a9
Merge pull request #3441 from brb/2907-no-cni-conf-by-default
Do not include the default CNI config by default
2019-01-15 17:14:20 -08:00
Thomas Strömberg 8bc8816c9f
Merge pull request #3521 from nixpanic/addons/gluster
Add a storage-provisioner-gluster addon
2019-01-15 17:08:45 -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 Strömberg d8f2e99076
Merge pull request #3510 from brb/enable_ipvlan_module
Enable ipvlan kernel module
2019-01-14 14:30:27 -08:00
Thomas Stromberg 666a902ba7 Add newline 2019-01-11 10:53:29 -08:00
Thomas Stromberg 5dab8fa319 Merge branch 'master' into crio-v1.13.0 2019-01-10 11:44:20 -08:00
Niels de Vos b85b6d5eeb addons: mark the last enabled storage provider as default
When a storage provider is enabled (storage-provisioner-glusterfile),
mark it "is-default" and set "is-default" to "false" in all other
StorageClasses.
2019-01-09 20:04:21 +01:00
Niels de Vos b0c7341373 addons: when enabling storage-provisioner-gluster, mark other SCs non-default
There can only be one StorageClass be marked as default. When the
storage-provisioner-gluster addon is enabled, users expect it to be the
default StorageClass.

Instead of removing the "is-default" annotation from the other
StorageClasses, set it to "false". This leaves only the "glusterfile"
StorageClass as "is-default".
2019-01-09 20:04:21 +01:00
Niels de Vos 3c3b7368f0 Add storage-provisioner-gluster addon
With this addon dynamic provisioning based on Gluster can be enabled:

    $ minikube addons enable storage-provisioner-gluster

This will deploy several pods in a new 'storage-gluster' namespace:

 - glusterfs, storage service with a 10GB sparse /srv/fake-disk.img
 - heketi, a smart Gluster volume manager
 - glusterfile-provisioner, external-storage provisioner

In addition, the StorageClass 'glusterfile' will be created. It is
currently not configured as default StorageClass, so PVCs need to refer
to the new StorageClass.
2019-01-09 20:04:21 +01:00
Martynas Pumputis 4792a62bc8 Enable ipvlan kernel module
This makes it possible to use ipvlan CNI plugins in minikube.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
2019-01-09 14:50:49 +01:00
Thomas Stromberg b2831c871e Update crio-bin to v1.13.0 2019-01-08 16:22:21 -08:00
Martynas Pumputis 1252ad9a6d Get rid of /usr/libexec/kubernetes/kubelet-plugins/net/exec/k8s.conf
As per https://github.com/kubernetes/kubernetes/pull/32151, kubelet
doesn't search for CNI configs in /usr/libexec/kubernetes/kubelet-plugins/net/exec/
by default anymore.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
2019-01-03 09:23:29 +01:00
Martynas Pumputis d982c4bf74 Do not include the default CNI config by default
Previously, minikube has been shipped with the default CNI config
(/etc/cni/net.d/k8s.conf) in its rootfs. This complicated a lot
when using a custom CNI plugin, as the default config was picked
by kubelet before the custom CNI plugin has installed its own CNI
config. So, the end result was that some Pods were attached to a
network defined in the default config, and some got managed by
the custom plugin.

This commit introduces the flag "--enable-default-cni" to
"minikube start" to trigger the provisioning of the default CNI
config.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
2019-01-03 09:23:29 +01:00
Jason Cwik 9dd74f7cf0 Fix for Minikube #3495
Change the policy for the minikube-hostpath storage class addon from
Reconcile to EnsureExists. When it's set to reconcile, it's impossible
to change the default storage class in Minikube because it will keep
setting the minikube-hostpath storageclass to default.

Ported from kubernetes/kubernetes#66235
2018-12-28 20:36:24 -06:00
minikube-bot 97076960a6 Update releases.json to include v0.32.0 2018-12-22 02:34:13 +00:00
Thomas Strömberg ad57efb4bf
Merge pull request #3476 from tstromberg/vbox-timesync
VirtualBox time cleanup: sync on boot, don't run timesyncd
2018-12-20 17:21:48 -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
Balint Pato ed7031cbb3
Merge branch 'master' into logviewer-addon-pr7 2018-12-19 17:14:09 -08:00
Jeffrey Sica 8f1b4d2882 bump dashboard version to v1.10.1 (#3466) 2018-12-19 16:38:52 -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 cee128ad3a Disable timesyncd: not used in our environment 2018-12-17 11:59:23 -08:00
Thomas Stromberg c3ce6ba0ec Force vbox timesync at boot 2018-12-17 11:59:00 -08:00
priyawadhwa 1514511b7a Change restart policy on gvisor pod (#3445)
* Change restart policy on gvisor pod

Change the restart policy on the gvisor pod to Always. This way, if a
user runs

minikube addons enable gvisor
minikube stop
minikube start

when the addon manager tries to restart the gvisor pod, it will be
restarted and gvisor will start running automatically. This PR also adds an
integration test for this functionality.

* Test stop and start

* Revert test to delete

Revert test to delete for now, for some reason "stop" and then "start"
is failing both locally and in Jenkins for VirtualBox with a "panic test
timed out after 30 min" error
2018-12-11 18:39:57 -08:00
minikube-bot d7c0b48e3b Update releases.json to include v0.31.0 (#3435) 2018-12-10 09:51:51 -08:00
priyawadhwa 8f128a7d10 Enable gvisor addon in minikube (#3399)
This PR adds the code for enabling gvisor in minikube. It adds the pod
that will run when the addon is enabled, and the code for the image
which will run when this happens.

When gvisor is enabled, the pod will download runsc and the
gvisor-containerd-shim. It will replace the containerd config.toml and
restart containerd.

When gvisor is disabled, the pod will be deleted by the addon manager.
This will trigger a pre-stop hook which will revert the config.toml to
it's original state and restart containerd.
2018-12-07 15:27:22 -08:00
Thomas Stromberg bbfb8ff4cb Add schedutils for ionice (used by k8s 1.12) 2018-12-05 16:15:36 -08:00
Thomas Strömberg bc67a32a7b
Merge pull request #3332 from dlorenc/rmaddons
Remove both the CoreDNS and KubeDNS addons. Let Kubeadm install the c…
2018-12-03 17:15:06 -08:00
priyawadhwa 1c3df2dc3c Add NET_PRIO cgroup to iso (#3396)
This cgroup is required for running gvisor in minikube.
2018-12-03 14:44:00 -08:00
ivans3 b43b8ccd9d Initial commit of logviewer addon 2018-12-02 12:58:06 -08:00
Fernando Diaz 49f038a902 Update Ingress-Nginx to 0.21 (#3365)
Updates the Ingress-Nginx Addon to version 0.21.
2018-11-26 14:59:53 -08:00
dlorenc 2091f8c27a
Remove both the CoreDNS and KubeDNS addons. Let Kubeadm install the correct DNS addon. 2018-11-16 14:54:44 -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 cfd8007243 Merge branch 'master' into crio 2018-11-07 15:06:04 -08:00
Thomas Stromberg d2ac7ae28e Upgrade to crio v1.11.8 2018-11-07 15:05:51 -08:00
Thomas Stromberg 72e596507a Merge branch 'master' into consistent_err_formatting 2018-10-19 14:08:35 -07:00
Thomas Strömberg e77d95a638
Merge pull request #3223 from AkihiroSuda/docker1806
Upgrade Docker, from 17.12.1-ce to 18.06.1-ce
2018-10-17 14:47:35 -07:00
Thomas Stromberg f24c02319e Update releases.json to v0.30.0 2018-10-05 16:18:40 -07: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 583937ac3e
Merge pull request #3210 from tstromberg/dashboard_on_demand
Use "kubectl proxy" instead of a NodePort to expose the dashboard.
2018-10-04 14:42:41 -07:00
Thomas Strömberg 36d76c72ff
Merge pull request #3183 from tstromberg/k8s_releases_json_dep
Remove refs to k8s_releases.json now that `get-k8s-versions` is gone.
2018-10-04 14:42:12 -07:00
Thomas Stromberg dc6d1bab8d Merge branch 'master' into dashboard_on_demand 2018-10-04 13:38:49 -07:00
Fernando Diaz 2ebdf5e1eb Enhance the Ingress Controller Addon (#3099)
- Updates Ingress-Controller Version to 0.19.0
- Adds Service Account for Ingress-Controller
- Adds Support for Prometheus
- Fixes bug with TCP/UDP ConfigMaps not Loading
- Adds more resource limits to default-backend
- Use new ingress class name
- Use app.kubernetes.io/xxxxxxxxxxx labels
2018-10-04 16:13:53 -04: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 Stromberg ca9ca6f29b Switch the label back to k8s-app instead of app for minikube compatibility. 2018-10-03 12:57:55 -07:00
Thomas Stromberg 21776a09b5 Fix service port indentation. 2018-10-02 22:31:26 -07:00
Thomas Stromberg df54c6a5b4 Use "kubectl proxy" instead of a NodePort to expose the dashboard.
This provides an additional level of security, by enforcing host checking, applying port randomization, and requiring explicit user intent to expose the service to the host.
2018-10-02 22:25:45 -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
Thomas Strömberg 8e99e283c2
Merge pull request #3123 from oilbeater/update-ingress
update nginx ingress controller version to 0.19.0
2018-10-01 16:45:33 -07:00
Thomas Strömberg 96d0f14dde
Merge pull request #3160 from afbjorklund/crictl-bin
Install crictl from binary instead of from source
2018-10-01 16:43:01 -07: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
Thomas Stromberg 055c8002b1 Replace %s format directives with %v for errors.
Previously we were mixed between the two forms. This commit picks %v,
which is consistent with the Kubernetes code base. They both effectively
do the same thing in this case, though %v works with any object, and %s
only with string objects.
2018-09-28 16:05:27 -07:00
Thomas Strömberg 92a435cf4b
Merge pull request #3161 from afbjorklund/pstree
Add psmisc package, for pstree command
2018-09-28 11:10:12 -07:00
Thomas Stromberg fd428599da Remove dangling references to k8s_releases.json now that
`get-k8s-versions` is removed.
2018-09-28 09:47:28 -07:00
Thomas Stromberg 6675da314c Remove refs to k8s_releases.json now that `get-k8s-versions` is gone. 2018-09-28 09:45:32 -07:00
minikube-bot b7ffa46dbe Update releases.json to include v0.29.0 (#3176) 2018-09-27 15:46:16 -07:00
Sven Anderson f39ccc84a6 Upgrade gluster client in ISO to 4.1.5 2018-09-24 22:16:17 +02:00
Jeffrey Sica 9e586a215f update dashboard version 2018-09-24 12:24:08 -07:00
Anders F Björklund 0439a0ce6c Add psmisc package, for pstree command 2018-09-24 20:43:01 +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
oilbeater 7120bdac36 update nginx ingress controller version to 0.19.0 2018-09-10 14:43:19 +08:00
Sandeep Rajan 82e991456e update 2018-09-04 05:50:48 -05:00
Bennett Ellis e13ed7a1ae Add env variable for default ES_JAVA_OPTS
The default configuration here for ES_JAVA_OPTS will pretty much always fail as is, making this addon useless and broken unless modified. Since this is deployed automatically when addon is enabled, it seems like providing a value that works is the best option here, otherwise in a minikube the pod(s) deployed will continually fail to start.
2018-09-04 05:48:38 -05: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
dlorenc bd9230f923 Fix the copyright header in our custom journald.conf 2018-08-20 10:23:17 -07:00
Sandeep Rajan bda086d34c update deployment 2018-08-16 09:29:52 -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
Aaron Prindle 8cd01a8fd2 remove deploy/docker which uses localkube 2018-07-24 12:36:42 -07:00
minikube-bot 18a84504c8 Update releases.json to include v0.28.2 2018-07-23 09:46:03 -07:00
Rohit Agarwal 05f86aacfc Bump minikube-nvidia-driver-installer version to make it work again.
This incorporates the fix from GoogleCloudPlatform/container-engine-accelerators#85.

That bug got exposed when we switched the kernel version from 4.16.14 to 4.15.
2018-07-20 07:56:29 -07:00
minikube-bot 5de590983a Update releases.json to include v0.28.1 2018-07-17 09:29:55 -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