Commit Graph

688 Commits (80d20091e186256f1a9b24d36554e1e8641fb16f)

Author SHA1 Message Date
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