Commit Graph

38286 Commits (d494ef66f0c167d1ba8a91cb29279bb7293588d3)

Author SHA1 Message Date
Kubernetes Submit Queue 0563b45772 Merge pull request #35556 from apprenda/kubeadm-alphawarning-typo
Automatic merge from submit-queue

kubeadm: fixed small typo in alpha warning

Small typo in the alpha warning that I noticed and fixed.
2016-10-27 13:49:53 -07:00
Kubernetes Submit Queue 843dbcb564 Merge pull request #35147 from r2d4/addon-manager-dockerfile
Automatic merge from submit-queue

Remove reference from addon-manager dockerfile

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: Removes a reference to nonexisting file in the dockerfile for the addon-manager


This file was deleted with #34513

cc @mikedanese @MrHohn
2016-10-27 13:49:45 -07:00
Kubernetes Submit Queue 90f4ceefc4 Merge pull request #35349 from vishh/gci-cmount
Automatic merge from submit-queue

Update GCI mounter script to run in a rkt container

Depends on #35652
2016-10-27 13:49:37 -07:00
Anirudh 1ae1a19e7b addressing comments. 2016-10-27 13:30:04 -07:00
Paulo Pires 01adb460de
Fixes PR #35652 2016-10-27 15:55:01 -04:00
deads2k df4ed892c4 convert SA controller to shared informers 2016-10-27 15:44:46 -04:00
Ryan Hitchman 8e4e8944b6 Add hack/verify-test-owners.sh to ensure tests always have owners. 2016-10-27 12:35:43 -07:00
Zihong Zheng c449ef8a25 Added CHANGELOG to addon manager 2016-10-27 12:31:19 -07:00
Vishnu kannan c556b33bd6 update rkt to v1.18.0 which avoids outputting debug information by default
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-27 12:24:29 -07:00
Clayton Coleman 14258ce056
StatefulSet proposal 2016-10-27 15:08:23 -04:00
Vishnu kannan aceddfa7fc Enable containerized storage mounter on GCI
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-27 11:56:34 -07:00
Vishnu kannan 64c1fa3594 run the gci containerized mounter to cache mounter container image
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-27 11:56:34 -07:00
Anirudh c0d116c419 Updated bazel 2016-10-27 11:56:15 -07:00
Anirudh d57e8f11a3 Updated unit tests. 2016-10-27 11:56:15 -07:00
Anirudh 05365d7cb2 Moving deletion behavior from the NC into PodGC
This should be a NOP because we're just moving functionality
around and thanks to #35476, the podGC controller should always
run anyway.
2016-10-27 11:56:15 -07:00
Kubernetes Submit Queue b47d862aea Merge pull request #34696 from wojtek-t/restore_etcd_from_backup
Automatic merge from submit-queue

Restore etcd from backup

The new script performs disaster recovery of etcd from backup.

https://github.com/kubernetes/kubernetes/issues/20504

@alex-mohr @lavalamp @kubernetes/goog-gke
2016-10-27 11:55:46 -07:00
Kubernetes Submit Queue f80446d662 Merge pull request #35703 from ncdc/golint-context-arg
Automatic merge from submit-queue

Fixes for golint tip

golint as of
3390df4df2/lint.go (L1440-L1442)
requires that any function that has a context.Context argument have said
argument in the first position. This commit fixes the one function we had where
it wasn't.

cc @timothysc @wojtek-t @smarterclayton @jessfraz @kubernetes/rh-cluster-infra @liggitt @sttts @deads2k @eparis
2016-10-27 11:55:36 -07:00
Kubernetes Submit Queue a8e9a1bce6 Merge pull request #35632 from dgoodwin/preflight-conf-fixes
Automatic merge from submit-queue

kubeadm: Stop assuming full ownership of /etc/kubernetes.

Packages may auto-create directories in /etc/kubernetes, and users also
need files such as cloud-config.json to be present and preserved at
their default locations in /etc/kubernetes. As such this modifies
pre-flight checks to only require the absence of the files and
directories we explicitly create in kubeadm.

Reset is similarly modified to not wipe out /etc/kubernetes entirely.
When resetting directories we also now preserve the directory itself,
but delete it's contents.

Also adds tests for reset command logic specifically for /etc/kubernetes
cleanup, to ensure user files are not inadvertently wiped out.
2016-10-27 11:55:27 -07:00
Anirudh Ramanathan 7870543471 Merge pull request #35702 from mikedanese/unrevert
unrevert genrule for bindata
2016-10-27 11:53:04 -07:00
Brandon Philips 85dcdccb2f build: kube-dns: remove out of date docs
This is doc seems out of place. It is next to the build system for this
addon and is out of date, with del tags blocking out parts. Lets delete
it and I will merge the good parts over to the admin guide:
http://kubernetes.io/docs/admin/dns/
2016-10-27 11:42:46 -07:00
Dawn Chen 9001ccfcb0 Merge pull request #35705 from mtaufen/new-cvm-test
Bump container-vm version in config-test.sh
2016-10-27 11:08:09 -07:00
Jacob Tanenbaum a77cecb957 Implemented both the dry run and local flags.
Added test cases to show that both flags are operating as intended.
Removed the print statement "running in local mode" as in PR#35112
2016-10-27 14:05:46 -04:00
Jacob Tanenbaum fe3bcad128 fixed some issues with kubectl set resources
when using kubectl set resources it resets all resource fields that are not being set.

for example
  # kubectl set resources deployments nginx --limits=cpu=100m

followed by

  # kubectl set resources deployments nginx --limits=memory=256Mi

would result in the nginx deployment only limiting memory at 256Mi with the previous
limit placed on the cpu being wiped out. This behavior is corrected so that each invocation
only modifies fields set in that command and changed the testing so that the desired behavior
is checked.

Also a typo:

 you must specify an update to requests or limits or  (in the form of --requests/--limits)

corrected to

 you must specify an update to requests or limits (in the form of --requests/--limits)

changelog:
 - fixed a typo in hack/make-rules/test-cmd.sh "effecting" to "affecting"
2016-10-27 14:05:46 -04:00
Kubernetes Submit Queue 793b000f90 Merge pull request #35136 from dashpole/cadvisor_root_path_configuration
Automatic merge from submit-queue

Cadvisor root path configuration

This solves #33444 and reverts PR #33520.  This takes the root directory and passes it to cadvisor, which sets up the "nodefs" based on the provided path, rather than using "/" as before.

This PR is pending on changes in cadvisor, and will not pass tests until those changes are merged, and cadvisor godeps are updated.

```release-note
kubelet summary rootfs now refers to the filesystem that contains the Kubelet RootDirectory (var/lib/kubelet) instead of cadvisor's rootfs ( / ), since they may be different filesystems.
```
2016-10-27 10:47:48 -07:00
Fabiano Franz 60fc7b87be kubectl commands must not use the factory out of Run 2016-10-27 15:38:22 -02:00
Mike Danese bce3f0e247 unrevert genrule for bindata 2016-10-27 10:35:28 -07:00
Vishnu kannan 7fd03c4b6e Fix source and target path with overriden rootfs in mount utility package
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-27 09:46:33 -07:00
Michael Taufen c6ab060fa1 Bump container-vm version in config-test.sh
So we can qualify the new container-vm image against our full set of
active tests.
2016-10-27 09:38:27 -07:00
Vishnu kannan 19c19c2e0f Updating GCI mounter to be containerized
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-27 09:37:08 -07:00
Anirudh Ramanathan 634df04128 Merge pull request #35704 from foxish/fix-head-2
Removing datagen.go as it has been removed from godeps
2016-10-27 09:20:03 -07:00
Anirudh f2c158680a Removing datagen.go as it has been removed from godeps 2016-10-27 09:17:30 -07:00
Andy Goldstein d8fec75658 Fixes for golint tip
golint as of
3390df4df2/lint.go (L1440-L1442)
requires that any function that has a context.Context argument have said
argument in the first position. This commit fixes the one function we had where
it wasn't.
2016-10-27 12:07:23 -04:00
David Ashpole 4223e8ff35 rebase godeps 2016-10-27 08:24:39 -07:00
Anirudh Ramanathan 5fc18ab1bc Merge pull request #35699 from foxish/fix-head
Regerated godeps licenses.
2016-10-27 08:15:37 -07:00
David Ashpole eb19713486 kubelet calls GetDirFsInfo(root directory) instead of using GetFsInfo(root label). Reverted #33520, and changed e2e test context to use nodefs 2016-10-27 08:04:59 -07:00
David Ashpole aa20c4b48f updated cadvisor godeps 2016-10-27 08:04:59 -07:00
Anirudh 7f675c82b1 Regerated godeps licenses. 2016-10-27 08:04:28 -07:00
Martin Milata 1d894c7a6a bump(github.com/spf13/pflag): 5ccb023bc27df288a957c5e994cd44fd19619465 2016-10-27 16:25:28 +02:00
Marek Grabowski 0006d6611e Merge pull request #35696 from gmarek/master
Hopefully fix verify-godeps.
2016-10-27 16:10:52 +02:00
gmarek d267ac19c7 Hopefully fix verify-godeps. 2016-10-27 16:07:51 +02:00
Devan Goodwin 2ee787c583 kubeadm: Empty directories during reset, but do not delete them.
This will allow packages to maintain ownership of config and data
directories, which may carry selinux or other attributes that should be
preserved, but we do not wish to manage within kubeadm itself.
2016-10-27 10:26:41 -03:00
Wojciech Tyczynski 543c2c20ac Update etcd in tests to 3.0.13 2016-10-27 15:06:08 +02:00
Devan Goodwin 37b1ae42c0 kubeadm: Stop assuming full ownership of /etc/kubernetes.
Packages may auto-create directories in /etc/kubernetes, and users also
need files such as cloud-config.json to be present and preserved at
their default locations in /etc/kubernetes. As such this modifies
pre-flight checks to only require the absence of the files and
directories we explicitly create in kubeadm.

Reset is similarly modified to not wipe out /etc/kubernetes entirely.
When resetting directories we also now preserve the directory itself,
but delete it's contents.

Also adds tests for reset command logic specifically for /etc/kubernetes
cleanup, to ensure user files are not inadvertently wiped out.
2016-10-27 09:14:20 -03:00
Kubernetes Submit Queue 5423eaf431 Merge pull request #35431 from deads2k/client-16-remove-old
Automatic merge from submit-queue

remove the non-generated client

Removes the non-generated client from kube.  The package has a few methods left, but nothing that needs updating when adding new groups.

@ingvagabund
2016-10-27 05:12:33 -07:00
Wojciech Tyczynski 9132965253 Update etcd Godeps to 3.0.13 2016-10-27 13:40:05 +02:00
Kubernetes Submit Queue bb2c36a7c0 Merge pull request #35686 from gmarek/e2e
Automatic merge from submit-queue

Remove outdated parts of density test

Removed functionality is handled by RunRC in other way. Events were a proxy for checking if Pods are running. They're not needed anymore (for good few releases;)

cc @timothysc
2016-10-27 04:27:37 -07:00
shashidharatd bc62f83ff6 Fix federation-apiserver authentication e2e tests 2016-10-27 16:48:09 +05:30
Michail Kargakis cf9fd31d00 extensions: generated changes for perma-failed deployments 2016-10-27 12:56:55 +02:00
Michail Kargakis 7bb68bc434 extensions: api changes for perma-failed deployments 2016-10-27 12:41:04 +02:00
Kubernetes Submit Queue f11d01076e Merge pull request #35503 from wojtek-t/fix_migration
Automatic merge from submit-queue

Fix migration script to make it sh-friendly

Ref #22448

There is no bash in etcd image, so the script needs to be "sh-friendly".

Also, few fixes to the script.
2016-10-27 02:59:37 -07:00