Commit Graph

262 Commits (f4fc84f337e1af73bf919278e0db339827aa043b)

Author SHA1 Message Date
Justin Santa Barbara a6dfaffe3f Fix typo: incremeting -> incrementing 2016-09-24 16:10:51 -04:00
Kubernetes Submit Queue 12ecc60833 Merge pull request #32264 from dshulyak/enable_hostpath_provisioner
Automatic merge from submit-queue

Enable hostpath provisioner for vagrant environment

This flag is required to run e2e tests for certain features (petset), and for manual tests and debugging.

related: https://github.com/kubernetes/kubernetes/issues/32119
2016-09-20 00:30:42 -07:00
Dmitry Shulyak c59eb6275f Enable hostpath provisioner for vagrant environment
It is required to run automated tests for certain features (petset),
and for manual tests and debugging.

Change-Id: I9203aab6d67c8ff0cc4574473e8d0af888fe1804
2016-09-14 16:58:04 +03:00
Dmitry Shulyak 9d26d3701e Set eviction-hard for vagrant cluster
In order to test eviction related functionality it will be convenient
to have reasonable eviction defaults.
At this moment exactly same flags are used by GCE environment

kubelet will have a following flag:

  --eviction-hard=memory.available<100Mi,nodefs.available<10%

Change-Id: I56ca03bc3c5467c8450150e292f7a346fa7772a9
2016-09-06 17:24:57 +03:00
Jan Safranek 5f6efefc40 [squash] Rename and move to storageclass/ 2016-08-22 14:11:01 +02:00
Jan Safranek 82d35fb461 Add admission controller for default storage class.
The admission controller adds a default class to PVCs that do not require any
specific class. This way, users (=PVC authors) do not need to care about
storage classes, administrator can configure a default one and all these PVCs
that do not care about class will get the default one.
2016-08-18 18:55:35 +02:00
Kubernetes Submit Queue 97d65ce8e4 Merge pull request #28778 from ivan4th/support-custom-fedora-repos-in-vagrant-provider
Automatic merge from submit-queue

Support custom Fedora repos in vagrant provider

Sometimes `KUBERNETES_PROVIDER=vagrant cluster/kube-up.sh` fails due to problems
with Fedora's metalink URL:
```
Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 [Connection timed out after 120002 milliseconds]
```

This PR makes it possible to specify a custom Fedora repository URL:
```
export CUSTOM_FEDORA_REPOSITORY_URL=https://download.fedoraproject.org/pub/fedora/
```

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/28778)
<!-- Reviewable:end -->
2016-08-10 16:33:54 -07:00
Ivan Shvedunov 3e359491ef Fix error reporting during vagrant provisioning 2016-07-26 13:14:35 +03:00
CJ Cullen 861583ac3e export KUBE_USER to salt (support custom usernames) for vagrant, vsphere, photon, openstack. 2016-07-22 15:22:03 -07:00
Ivan Shvedunov f72f28869a Support custom Fedora repos in vagrant provider 2016-07-11 18:56:14 +03:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Madhusudan.C.S 816c4d9e2b Substitute federation_domain_map parameter with its value in node bootstrap scripts.
This also removes the substitution code we added to the build
scripts in one of the previous commits.
2016-06-27 14:54:49 -07:00
k8s-merge-robot 272042f3e6 Merge pull request #26017 from caseydavenport/cd-calico-policy
Automatic merge from submit-queue

Add Calico as policy provider in GCE

Adds Calico as policy provider to GCE, enforcing the extensions/v1beta1 NetworkPolicy API.

Still to do:
- [x] Enable NetworkPolicy API when POLICY_PROVIDER is provided.
- [x] Fix CNI plugin, policy controller versions.

CC @thockin - does this general approach look good?
2016-06-25 03:43:59 -07:00
nikhiljindal 864b267a8d Simplifying the code to create kubeconfig 2016-06-20 16:10:47 -07:00
nikhiljindal 657a7ef6a4 Create kubeconfig for cluster secrets on other cloud providers as well 2016-06-20 14:36:14 -07:00
Casey Davenport 35289c7649 Update salt to use latest Calico 2016-06-03 13:07:00 -07:00
Matt Dupre 19be49124b Add new policy_provider option to Salt; supporting Calico installation 2016-06-03 13:06:42 -07:00
derekwaynecarr 6090bc9112 Enable CPU and Memory accounting on vagrant 2016-05-27 11:21:04 -04:00
derekwaynecarr ff07195f4e Fix vagrant issues with salt bootstrap 2016-05-27 11:21:04 -04:00
Colin Hom a092fd2dd4 Federation build and e2e test integration
Federation components are now buildable and e2e-testable via e2e.go.
2016-05-25 15:07:27 -07:00
k8s-merge-robot c044b5e93b Merge pull request #25402 from kubevirt/master
Automatic merge from submit-queue

Add nfs support for vagrant nodes.

## Pull Request Guidelines

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.

```release-note
* Use the release-note-* labels to set the release note state 
* Clear this block to use the PR title as the release note 
-OR-
* Enter your extended release note here
```


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

This will allow to use NFS volumes on those nodes
2016-05-16 00:04:00 -07:00
Fabio Yeon d4de319ea8 Merge pull request #16000 from cilium-team/change-docker-storage-driver
Changed docker storage driver to overlayfs
2016-05-10 19:36:49 -07:00
Tolik Litovsky a5bce254de Add nfs support for vagrant nodes.
This will allow to use NFS volumes on those nodes
2016-05-10 15:17:35 +03:00
k8s-merge-robot 35aff74f9c Merge pull request #23121 from deromka/master
Automatic merge from submit-queue

Added vsphere support for vagrant

Since the native vsphere support (using govc library) requires admin permissions on ESX/vCenter, not everyone can have such permissions. So I'm adding a vsphere support using vagrant using vagrant-vsphere plugin
2016-05-09 23:18:19 -07:00
André Martins 0000a7084d Changed docker storage driver to overlayfs.
Signed-off-by: André Martins <aanm90@gmail.com>
2016-05-01 01:04:30 +01:00
Johannes Scheuermann e13a2c1d5b Update Docker version after cockpit installation 2016-04-26 15:30:54 +02:00
k8s-merge-robot 8c24c68315 Merge pull request #24324 from zjmchn/fix-vagrant-halt-up-issue
Automatic merge from submit-queue

fix ./cluster/kube-up.sh failed after vagrant halt. (issue #18990)
2016-04-21 15:00:04 -07:00
Jian Ming Zhang 8326036386 fix ./cluster/kube-up.sh failed after vagrant halt. (issue #18990)
Signed-off-by: Jian Ming Zhang <zhangjm@cn.ibm.com>
2016-04-15 17:27:24 +08:00
derekwaynecarr e3d58499db ResourceQuota should be last admission controller 2016-04-12 13:40:52 -04:00
derekwaynecarr 9e0ebc2773 Remove SecurityContextDeny from vagrant setup 2016-04-04 14:43:21 -04:00
Roman Dembitsky 2117c068bb added vagrant vsphere support
updated vsphere-dummy box for the vagrant vsphere using vagrant vsphere plugin

added solution for cases when the NETWORK_IF_NAME was left empty
2016-03-30 22:55:08 +03:00
Robert Bailey c5ca042ede Remove the restart-kube-proxy and restart-apiserver functions
since neither are used any longer.
2016-03-18 01:49:01 -07:00
Abhi Shah 05ba8ca7fa Merge pull request #22170 from metmajer/master
Pass through EXTRA_DOCKER_OPTS.
2016-03-04 10:40:17 -08:00
k8s-merge-robot 49f438bfac Merge pull request #21972 from olivierlemasle/fix-21746
Auto commit by PR queue bot
2016-03-04 06:00:18 -08:00
k8s-merge-robot d81d823ca5 Merge pull request #22393 from eparis/blunderbuss
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris 5e5a823294 Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
Martin Etmajer f1b2fc39ba Pass through EXTRA_DOCKER_OPTS. 2016-02-29 19:46:58 +01:00
Fabio Yeon 027af6359c Merge pull request #19066 from bboreham/patch-1
Default VAGRANT_DEFAULT_PROVIDER when no provider found
2016-02-26 13:26:14 -08:00
k8s-merge-robot 54a684ac0b Merge pull request #14637 from Huawei-PaaS/issue-fix-basic-auth
Auto commit by PR queue bot
2016-02-26 03:13:27 -08:00
Olivier Lemasle 08541dc2ff Fix issue #21746
This was a regression due to commit e2c79ea1f1
(cf https://github.com/kubernetes/kubernetes/pull/20965)
2016-02-25 11:37:28 +01:00
k8s-merge-robot 1ce188e557 Merge pull request #21430 from spxtr/e2e-internal
Auto commit by PR queue bot
2016-02-21 12:08:22 -08:00
Joe Finney 2b756ca56d Move E2E kube-up call into test-setup from e2e-internal. 2016-02-17 16:49:07 -08:00
Olivier Lemasle e2c79ea1f1 Add bearer token authentication to Vagrant clusters
This does not remove basic authentication in Vagrant clusters.
Users will still be able to authenticate with username=vagrant, password=vagrant
2016-02-10 10:35:13 +01:00
k8s-merge-robot 8e4a821ab3 Merge pull request #20821 from olivierlemasle/fix-dnf-vagrant
Auto commit by PR queue bot
2016-02-09 07:04:24 -08:00
derekwaynecarr 512154f25e Unbound cluster ip range in vagrant 2016-02-08 17:38:36 -05:00
Olivier Lemasle 0bf3f3ef09 Fix Vagrant issue with Salt
Package manager "dnf" does not work correctly with Salt
(cf https://github.com/saltstack/salt/issues/31001)

It causes Salt to consider that some packages (python, git, curl, etc.) are not
installed, which breaks the Vagrant Kubernetes setup.

Updating dnf and dnf-plugins-core to their latest version solves the issue.

Additionally, I've added the "fastestmirror" to dnf, which is useful if a
RPM mirror is broken or very slow. (In my case, dnf used a broken mirror which
froze the Kubernetes setup).
2016-02-08 17:29:19 +01:00
Dan Williams fabb65c13f Add a network plugin that duplicates "configureCBR0" functionality 2016-02-03 10:08:08 -06:00
Maru Newby e709e91c64 Vagrant fixes for fedora 23
- wget is not installed by default on fedora 23.  Use curl instead
   since it is always available on recent Fedora.

 - The repo url for cockpit resulted in an http redirect message being
   saved as the repo file which broke deployment.  Update the url to
   url that was redirected to and ensure that future redirects will be
   handled correctly.

 - The main Fedora 23 repo includes salt packages, and there is no
   salt repo for 23.  The salt bootstrap still creates a repo file for
   a nonexistent repo, though, and this change removes it to avoid
   having dnf report an error on every update.
2016-01-26 00:33:01 +00:00
André Martins 0515b4c7c9 Updated Vagrant VMs to Fedora 23
Signed-off-by: André Martins <aanm90@gmail.com>
2016-01-19 16:52:54 +00:00
Bryan Boreham 5b9135ff6f Add default value of blank to VAGRANT_DEFAULT_PROVIDER when no provider found 2015-12-23 16:03:32 +00:00