Commit Graph

465 Commits (fbbc247d46e0c4a44b3492b2bd1acd08a152f93b)

Author SHA1 Message Date
Priya Modali 43ea47f4e0 Fixed merge conflicts. 2020-09-29 16:17:31 -07:00
Priya Modali 97d96bf925 Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00
Sharif Elgamal ff051f9a33
Make sure gcp-auth addon can be enabled on startup (#9318)
* fix documentation for gcp-auth addon

* make sure kube-system pods are up before enabling gcp-auth

* fix lint

* add failurePolicy for webhook

* only install addons if asked

* better comment

* slightly less hacky code

* defer addons properly

* simplify code for performance
2020-09-29 13:29:14 -07:00
Anders F Björklund 92cce721aa Make storage-provisioner available for all arch
Always use architecture when building the image.

When developing locally, tag the image with version
(this tag now refers to the local host architecture)

When making a release, make a manifest with version
(this manifest now lists all supported architectures)

Don't use architecture, when specifying "image:".
2020-09-27 19:40:42 +02:00
Sharif Elgamal 070cbb99ee
Merge pull request #8461 from 11janci/jjanik-enable-volumesnapshots
CSI Hostpath Driver & VolumeSnapshots addons
2020-09-16 11:57:42 -07:00
Sharif Elgamal d19f5fdd8e point to newest gcp-auth-webhook version 2020-09-08 11:19:37 -07:00
jjanik ae92c289b8 add csi-hostpath-driver addon 2020-09-04 18:54:33 +02:00
jjanik c5ae7b9580 add volumesnapshots addon 2020-09-04 17:10:54 +02:00
Thomas Strömberg fae2358791
Merge pull request #8839 from staticdev/nginx-slow-version
Bump nginx-ingress-controller
2020-09-01 16:35:33 -07:00
Thomas Stromberg 464bd48ea1 Update dashboard to v2.0.3 2020-08-30 22:32:20 -07:00
Markus Frosch 03ce70f76a ingress-dns: Add notes for NetworkManager with dnsmasq 2020-08-18 13:24:48 +02:00
Priya Wadhwa 5e899a81cc Make sure cluster roles are applied to the service account the storage provisioner runs under 2020-08-03 15:23:45 -04:00
Priya Wadhwa 0538dddd9d Upgrade storage provisioner to v2 2020-08-03 13:48:09 -04:00
Sharif Elgamal 7c19edbdd5 point to newly released v0.0.1 of gcp-auth-webhook 2020-07-28 15:58:02 -07:00
staticdev 68bc935e7f Bump nginx-ingress-controller 2020-07-25 07:44:57 -03:00
Sharif Elgamal 1b6eee675b
Automated GCP Credentials Addon Prototype (#8682)
* metadata addon works

* Add code for metadata server image and makefile rules

* remove log message

* update to work with v1.13.11

* update readme

* fix metadata addon stuff for newer codebase

* buncha changes

* just so many changes

* ch-ch-ch-ch-changes

* addon works

* update readme

* boilerplate

* revert unrelated change

* move server code to another repo

* switch addon name to gcp-auth

* metadata -> gcp-auth

* missed one

* automate finding of credentials

* remove unnecessary comment

* address comments

* Update README.md

* Update README.md

* use mustload everywhere

* swap selector condition

* upgrade kube-webhook-certgen to 1.3

* move paths to constants

* add notice to user on addon enable

* adding addon documentation

* move addons documentation inside handbook

* remove old addons docs location

Co-authored-by: Priya Wadhwa <priyawadhwa@google.com>
2020-07-21 14:25:58 -07:00
priyawadhwa aaebd88251
Merge pull request #8610 from johscheuer/update-storage-provisioner
Update external-provisioner for storage provisioner for Kubernetes 1.18
2020-07-20 19:11:38 -04:00
Harsh Modi ce6688b1ec update nginx ingress controller image 0.32.0->0.33.0 2020-07-12 19:54:38 -04:00
Harsh Modi 122a472f95 update kube-webhook-certgen image 1.2.0->1.2.2 2020-07-12 19:52:02 -04:00
Medya Ghazizadeh d8106f7d06
Merge pull request #8454 from colvin/addon-podsecuritypolicies
Include a podsecuritypolicies addon
2020-07-07 15:52:03 -07:00
Johannes M. Scheuermann e5cfa386b1 Add endpoint for leader-election 2020-07-01 08:41:27 +02:00
Johannes M. Scheuermann 73fccf04f8 Update external-provisioner for storage provisioner 2020-06-30 18:31:06 +02:00
priyawadhwa 84365fe57b
Merge pull request #8294 from maciaszczykm/dashboard-v2.0.1
Bump Dashboard to v2.0.1
2020-06-24 11:35:28 -07:00
colvin 3d2ae5423c Rename podsecuritypolicies addon to pod-security-policy 2020-06-18 17:00:08 -04:00
Kenta Iso e823ac1dd5 bump helm-tiller addon to v2.16.8 2020-06-13 15:39:34 +09:00
colvin b32cb5e6ba Create a podsecuritypolicies addon
Create a new addon, `podsecuritypolicies` that applies the
PodSecurityPolicy and related RBAC configuration from the
https://minikube.sigs.k8s.io/docs/tutorials/using_psp/ tutorial.
Apparently, recent work on the addons system has invalidated the
procedure shown in that tutorial, as the configuration is no longer
automatically applied. The last known working version is `1.6.2`.

This allows clusters started with
`--extra-configs=apiserver.enable-admission-plugins=PodSecurityPolicy`
to succeed, so long as they also include `--addons=podsecuritypolicies`.
2020-06-11 09:51:13 -04:00
Medya Ghazizadeh 57f6afd4c8
Revert "Addons: Update OLM Addon" 2020-06-09 19:03:06 -07:00
Medya Ghazizadeh badea72f3b
Merge pull request #8392 from tsraza/tsraza-patch-1
Patch the registry-aliases addon missing entrypoint
2020-06-09 16:55:30 -07:00
Taqui Raza 576346a437
use sh entrypoint in registry-aliases addon 2020-06-08 22:35:21 +00:00
Taqui Raza 9566030264
Update node-etc-hosts-update.tmpl
Changed bash to ash
2020-06-06 06:18:26 +00:00
awgreene f8098b3f43 Addons: Update OLM Addon
Problem: The current version of OLM shipped with Minikube as an addon
places memory limits on OLM and the pods created for CatalogSources.
If these limits exist, the operatorhubio catalog will almost certainly
hit an OOM issue.

Solution: Update OLM to a more recent version, specifically v0.15.1.
2020-06-05 15:29:52 -04:00
Medya Ghazizadeh 4eb09e760b
Merge pull request #8275 from ashleyschuett/add-kubevirt-addon
Add KubeVirt addon
2020-06-03 22:23:09 +00:00
Ashley Schuett 5dafe6bc84
Add KubeVirt addon 2020-05-29 09:52:18 +02:00
Medya Ghazizadeh ea20609a3a
Merge pull request #8161 from concaf/concaf/addons/ambassador
Add Ambassador Ingress controller as an addon
2020-05-28 18:08:41 +00:00
Marcin Maciaszczyk 2da74f0350 Bump Dashboard to v2.0.1 2020-05-28 11:45:00 +02:00
Medya Ghazizadeh 1bfdc4b0d1
Merge pull request #8129 from blues-man/master
Addons: add OLM support
2020-05-26 23:26:20 +00:00
Nicola Ferraro 5daeff2b16 Add 443 port to registry addon 2020-05-19 16:15:11 +02:00
Shubham 4a4a470fff Add Ambassador addon 2020-05-19 18:13:57 +05:30
Kenta Iso 5bb83a2df8 Bump helm-tiller 2.16.7 and promote ClusterRoleBinding to v1 2020-05-16 14:49:23 +09:00
Natale Vinto b6c19f6223 Addons: add OLM support 2020-05-14 11:16:23 +02:00
Manuel Alejandro de Brito Fontes 8209421c3e Fix invalid ingress-dns references and ingress 2020-05-05 15:36:15 -04:00
Manuel Alejandro de Brito Fontes c3a529f7ea Update ingress-nginx addon 2020-05-05 15:36:03 -04:00
Thomas Strömberg 541d41f195
Merge pull request #7864 from tmehlinger/hosts-update-image
addon registry-alias: change hosts update container image
2020-04-29 08:44:24 -07:00
Thomas Strömberg e3a3b1e743
Merge pull request #7308 from laozc/metallb
Add Metal LB addon
2020-04-24 16:59:50 -07:00
Travis Mehlinger 475bbc4ff2
use alpine instead 2020-04-24 14:10:24 -05:00
Kenta Iso fe69cdaeaf update dashboard image v2.0.0 2020-04-24 12:32:25 +09:00
Travis Mehlinger 78486a55d3
change hosts update container image
The most recent Fedora image doesn't include a `diff` binary.
This changes the container image to use Ubuntu Bionic instead,
which _does_ provide a diff binary.
2020-04-23 09:49:25 -05:00
Zhongcheng Lao 9adb1bc399
Merge remote-tracking branch 'origin/master' into metallb 2020-03-29 11:31:56 +08:00
Zhongcheng Lao d9fe5afa86
Adds MetalLB addon 2020-03-29 11:20:59 +08:00
Zhongcheng Lao 566196c9d0
Do not run GPU plugin under priviledge mode 2020-03-23 00:44:43 +08:00
Thomas Strömberg 0c7bddab2b
Merge pull request #7130 from govargo/feature/helm-tiller-2.16.3
bumpup helm-tiller v2.16.1 → v2.16.3
2020-03-21 10:36:56 -07:00
Zhongcheng Lao 39fea36ea5
Update Nvidia GPU plugin 2020-03-21 21:33:30 +08:00
Iso Kenta eca69790a5 bumpup helm-tiller v2.16.1 → v2.16.3 and add integration test for tiller 2020-03-21 18:27:57 +09:00
Kenta Iso 51bce4d780 bumpup istio operator addon 1.4.0 → 1.5.0 2020-03-21 00:35:23 +09:00
Thomas Strömberg 8d1f4552c0
Merge pull request #6657 from kameshsampath/registry-aliases
New addon: registry-aliases
2020-03-19 11:31:00 -07:00
Thomas Stromberg 53da725030 Dashboard upgrade to rc6 2020-03-18 12:27:41 -07:00
Kamesh Sampath db27b59e07 (chore) fix README to use new profile format 2020-03-08 09:36:21 +05:30
Kamesh Sampath 28ffcb13a1 updated readme with usage instructions
Signed-off-by: Kamesh Sampath <ksampath@redhat.com>
2020-03-08 09:31:07 +05:30
Kamesh Sampath 70ca2de554 (fix) Create addon to configure registry helper
- Service Account and binding to run the job
- Registry aliases ConfigMap
- Registry aliases daemonset to update the node etc/hosts

fixes: 4604

Signed-off-by: Kamesh Sampath <ksampath@redhat.com>
2020-03-08 09:31:07 +05:30
Nguyen Hai Truong 9ff0886f3c Use 'k8s.gcr.io' instead of 'gcr.io/google-containers'
Ref: kubernetes/kubeadm/issues/2051

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2020-03-06 09:32:12 +07:00
Kenta Iso 9605aa6a6a update registry 2.6.1 → 2.7.1 2020-02-21 11:20:11 +09:00
Sharif Elgamal 8547aece43 point to latest gvisor addon image 2020-02-19 15:56:52 -08:00
go_vargo 6a3fb3d54d
Update tiller image v2.14.3 → v2.16.1 (#6575) 2020-02-10 11:40:15 -07:00
tstromberg d69e1c7c35 Revert role change from cluster-admin->system:persistent-volume-provisioner 2020-02-05 13:54:49 -08:00
Thomas Strömberg 0d29a2ac7b
Merge branch 'master' into f-fix-5144 2020-02-05 11:32:32 -08:00
Karol Zadora-Przylecki 4a4e7b7859 Add Azure Container Registry support 2020-02-03 16:10:18 -08:00
Priya Wadhwa 28148c5f3d Remove addon manager 2020-01-16 11:47:01 -08:00
Nanik T 9b455aafc4 Customizing host path for dynamically provisioned PersistentVolumes
This fix contains few things:

* Used k8s.gcr.io/debian-base-amd64:v2.0.0 as base image to build storage-provisioner
* Modify RBAC permission used to cluster-admin
* Build storage-provisioner as static binary
2020-01-16 12:23:26 +11:00
Medya Gh 577a04b02e disable istio provisioner by default 2020-01-14 12:05:32 -08:00
Medya Ghazizadeh df9cac8f94
Merge pull request #6154 from fenglixa/add-istio
Add istio addon for minikube
2019-12-27 11:54:44 -08:00
fenglixa c2ba574f2e generate istio document page and layout 2019-12-26 14:35:13 +08:00
Anukul Sangwan 8e64e3900c Update ingress-dns addon
The new image supports DNS resolution of wildcard hosts
2019-12-16 23:15:23 +05:30
Thomas Stromberg df3ee00481 Update dashboard image and pre-cache it again 2019-12-09 14:13:50 -08:00
Thomas Strömberg 66d7124305
Merge pull request #5954 from olivierlemasle/storageclassannot
Remove depreacted annotation storageclass.beta.kubernetes.io
2019-12-09 10:50:32 -08:00
Anukul Sangwan 157df4a2f2 Fix ingress-dns example manifest URL
HTML -> Raw YAML
2019-12-09 12:26:46 +05:30
Medya Ghazizadeh 4ef2c6d3af
Merge pull request #5932 from govargo/fix-not-working-metrics-server
fixed metrics-server and  added integration tests
2019-11-25 13:57:22 -08:00
Olivier Lemasle 99350b3b7f Remove depreacted annotation storageclass.beta.kubernetes.io/is-default-class
(deprecated since K8s 1.6 - cf https://github.com/kubernetes/kubernetes/pull/40088)
2019-11-20 13:36:06 +01:00
Thomas Stromberg 01bd2f7565 Update to latest dashboard images 2019-11-16 21:15:44 -08:00
Kenta Iso 7e27f6ddcb Fix metrics-server to be able to collect metrics and add integration test 2019-11-17 01:01:48 +09:00
Sharif Elgamal 6ff68709dd
Merge pull request #5243 from rajalokan/remove-heapster
Remove heapster addon
2019-11-06 11:35:35 -08:00
Medya Ghazizadeh ccd82feddb
Merge pull request #5702 from nanikjava/f-fix-5696
Fix website links hugo
2019-10-26 11:46:20 -07:00
Nanik T bd3956b8a6 Fix links by using Hugo modules tag
The link is broken as the config.toml is not using module.mounts.

To fix this need to add [module] section to point to the deploy/
folder as the README.md files are inside that folder

Put the different directory as separate module.mount and upgrade
hugo version to 0.59.0
2019-10-26 13:36:28 +11:00
tstromberg 9dfa1bfe6c Pull a specific version instead of latest, to avoid compatibility issues between addon and pushed images 2019-10-25 14:48:45 -07:00
tstromberg 9b2ce99723 Use chroot instead of LD_LIBRARY_PATH for containerd restart 2019-10-25 14:03:01 -07:00
Thomas Strömberg ccc2042861
Merge branch 'master' into remove-heapster 2019-10-17 15:14:49 -07:00
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
Ruslan Gustomiasov 64f1e73a25 Addon heaspter is not in use
Fixes #5017. As per discussion, needed a rebase and this PR is rebased
to latest master.
2019-10-10 21:38:14 +05:30
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
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
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
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 Stromberg c91da2a65f Upgrade addon-manager to v9.0 for compatibility with Kubernetes v1.14 2019-03-26 11:33:42 -07:00
Zhongcheng Lao daeb238766 Merge remote-tracking branch 'origin/master' into custom-image-repository 2019-03-21 13:23:11 +08: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
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
Anders F Björklund 6ff11e44a5 Remove default cni flags from the documentation 2019-02-05 20:05:05 +01: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
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
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 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
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
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
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 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
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 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 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 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
Jeffrey Sica 9e586a215f update dashboard version 2018-09-24 12:24:08 -07: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
Sandeep Rajan bda086d34c update deployment 2018-08-16 09:29:52 -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
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
Rohit Agarwal 96079478a7 Add nvidia-driver-installer and nvidia-gpu-device-plugin addons. 2018-07-08 22:25:48 -07:00
Manuel de Brito Fontes 3e267fd567 Update nginx ingress controller to 0.16.2 2018-06-26 09:46:14 -07:00
Sandeep Rajan 6cc9a85f68 coredns in gcr.io 2018-06-05 08:13:18 -07:00
ruicao 4e63f34e26 Typo fix: permissable -> permissible 2018-06-01 09:11:42 -07:00
Sandeep Rajan 4bab1946d9 update manifest 2018-05-30 08:42:09 -07:00
kairen 902e49688f Bump the heapster to v1.5.3 2018-05-21 08:06:01 -07:00
maiksensi 3e0faef9a5 Use correct link for available configmap options
Trivial change to point to the correct URL.
2018-05-17 13:28:03 -07:00
Manuel de Brito Fontes a12479fc89 Switch ingress replication controller to deployment 2018-05-07 14:02:39 +02:00
Manuel de Brito Fontes 6eef6a31e2 Update nginx ingress controller to 0.14.0 2018-05-03 12:07:20 +02:00
Rohit Agarwal 34bb9bb6b8 Fix inconsistent version.
This was causing errors.

https://groups.google.com/d/msg/kubernetes-users/gLGXC6EfxzQ/zwgBITNPCQAJ
2018-04-12 09:02:14 -07:00
Tim Hockin b27a989c86 Pass 2: k8s GCR vanity URL 2018-04-09 08:36:59 -07:00
Matt Rickard 3932663f3b
Merge pull request #2657 from dlorenc/1.10
Update to Kubernetes 1.10
2018-03-28 13:11:24 -07:00
dlorenc dcb5c2cc50 Manual changes for 1.10.
localkube now has to be non-statically compiled :(
2018-03-27 23:13:34 -07:00
oilbeater fe881662de Update nginx-ingress version to 0.12.0
The new version resolve some rewrite, session-affinity and templates bugs and will fix https://github.com/kubernetes/minikube/issues/2206
2018-03-26 19:37:26 -07:00
Lena Brüder d8d4f613e4
note about where to find more docs 2018-03-08 10:20:33 +01:00
Lena Brüder cbb97958eb
deactivated hsts by default
HSTS has been deactivated explicitly by default for the ingress controller in minikube, because it causes trouble for local development. Minikube is intended for local development, so this feature should not be turned on by default.
2018-03-07 10:02:44 +01:00
Sandeep Rajan a5afebdc40 update manifest 2018-03-06 07:42:45 -08:00
David Muckle adb30393d1 Add metrics-server as an addon 2018-02-21 15:33:27 -05:00
Matt Rickard 4bab147ca0 ingress: ensure cm exists, do not reconcile 2018-02-12 09:05:26 -08:00
Steve Sloka 4d060d3bdb Bump registry-creds version 2018-02-07 20:09:20 -08:00
Colin Hoglund 479ca10c75 allow storage-provisioner to be disabled 2018-01-29 14:46:27 -05:00
Colin Hoglund 249839378b create ServiceAccount and ClusterRoleBinding for storage-provisioner 2018-01-29 14:04:16 -05:00