Commit Graph

229 Commits (80d20091e186256f1a9b24d36554e1e8641fb16f)

Author SHA1 Message Date
Sharif Elgamal 5e5c04206b
Merge pull request #5586 from reegnz/replace_replication_controller_with_deployment
Replace registry-creds addon ReplicationController with Deployment
2019-10-15 10:58:36 -07:00
Josh Woodcock 88ea55df49 Performance and security enhancment for ingress-dns addon 2019-10-13 18:04:06 -05:00
Zoltán Reegn c9c4a8fbb9 Replace registry-creds addon ReplicationController with Deployment
As the official k8s docs state:

> Note: A Deployment that configures a ReplicaSet is now the recommended way to set up replication.

https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/
2019-10-10 12:10:00 +02:00
Medya Ghazizadeh 63497aa383
Merge pull request #5507 from woodcockjosh/add-dns-ingress-addon
Add ingress-dns addon
2019-10-05 19:49:59 -07:00
Josh Woodcock 536639d516 Add images used in this plugin section 2019-10-04 09:19:55 -05:00
Medya Ghazizadeh 768318d102
Merge pull request #5455 from yuxiaobo96/minikube-update2
Improve the grammar and annotations
2019-10-02 11:11:08 -07:00
Josh Woodcock ab01f9e44b Clarify readme 2019-10-01 15:33:54 -05:00
Josh Woodcock e468bf90d1 Fix pods not being scheduled when ingress deployment is patched
Update nginx-ingress-controller to 0.26.1
2019-10-01 15:10:34 -05:00
Josh Woodcock 917fbd3c18 Update to nginx-ingress-controller:0.26.1 2019-10-01 13:02:52 -05:00
Josh Woodcock 6467f5da79 Correct docs for linux 2019-10-01 13:02:06 -05:00
Josh Woodcock 22cfacee29 Add ingress-dns addon 2019-10-01 04:55:16 -05:00
yuxiaobo 9bddb9b4ff Improve the quality of annotations
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-09-27 17:25:18 +08:00
Thomas Strömberg b75d4abc16
Merge pull request #5363 from woodcockjosh/add-helm-addon
Add helm-tiller addon
2019-09-24 06:37:29 -07:00
Josh Woodcock dba30af5e6 Rename helm addon to helm-tiller 2019-09-23 13:15:38 -05:00
Thomas Strömberg bac18e23ec
Merge branch 'master' into addons-update2 2019-09-19 10:20:55 -07:00
Thomas Stromberg bdd2c75208 Update addon-manager to v9.0.2, disable master negotiation and increase reconcile frequency 2019-09-18 21:47:12 -07:00
Thomas Stromberg 060028e2b6 Split and add reconcile tags 2019-09-18 21:41:05 -07:00
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
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
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
Anders F Björklund ae8894c0ca Stop using no_pivot when not using rootfs 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 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
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
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
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
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
Francis a85eac1de4 Update ingress-nginx version to 0.24.1 2019-06-25 10:06:29 -07:00
fenglixa 8e650c0c61 Dashboard: add --disable-settings-authorizer to avoid settings 403 forbidden 2019-06-02 22:22:12 +08: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
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