Commit Graph

28963 Commits

Author SHA1 Message Date
k8s-merge-robot
088694fa72 Merge pull request #23343 from derekparker/self-hosted-kubelet-proposal
Automatic merge from submit-queue

docs: Self-hosted Kubelet proposal

Provides a proposal for changes needed with Kubernetes to allow for a
self-hosted Kubelet bootstrap.
2016-05-09 21:09:35 -07:00
Phillip Wittrock
680b2b9d09 Kubectl support for validating nested objects with different ApiGroups (e.g. Lists containing objects in different api groups). Closes #24089 2016-05-09 19:38:40 -07:00
Andy Zheng
74fd5d35f0 GCI/Trusty: Support the new var in glbc.yaml 2016-05-09 17:40:59 -07:00
Mike Brown
0054ddcad1 devel/ tree 80col updates; and other minor edits
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2016-05-09 18:39:56 -05:00
Phillip Wittrock
b9f9d130d7 Address PR comments 2 2016-05-09 16:23:15 -07:00
Phillip Wittrock
3d08c73767 Address PR Comments 1 2016-05-09 16:21:30 -07:00
Phillip Wittrock
c6aa507aae Address PR comments 2016-05-09 23:20:08 +00:00
Rudi Chiarito
362c763fca WIP v0 NVIDIA GPU support
Implements part of #24071

I am not familiar with the scheduler enough to know what to do with the scores. Punting for now.

Missing items from the implementation plan: limitranger, rkt support, kubectl
support and user docs
2016-05-09 19:20:05 -04:00
Andy Zheng
d8314b1b9b GCI/Trusty: Fix the running of kube-addon-manager 2016-05-09 16:00:33 -07:00
Phillip Wittrock
75417ba3e4 Retry fetching http urls passed to '-f' in kubectl.
Closes #24089.
2016-05-09 15:58:17 -07:00
Jeff Grafton
5c77a3bd7c dockerized e2e: explicitly mount public and private ssh keys 2016-05-09 15:50:55 -07:00
k8s-merge-robot
ff339c77cf Merge pull request #25269 from janetkuo/kubectl-conventions
Automatic merge from submit-queue

Document that kubectl commands shouldn't have aliases

## 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
```

Ref https://github.com/kubernetes/kubernetes/issues/25180#issuecomment-217453402 @kubernetes/kubectl 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-09 15:03:19 -07:00
k8s-merge-robot
8d336ad9ba Merge pull request #25087 from ihmccreery/skew
Automatic merge from submit-queue

Clarify supported version skew between masters, nodes, and clients

Per discussion on #22897.

cc @bgrant0607 @roberthbailey
2016-05-09 15:03:16 -07:00
k8s-merge-robot
90c02c6d96 Merge pull request #24813 from duglin/AddBuildPath
Automatic merge from submit-queue

Make it clear where the `build` scripts are located


Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-05-09 15:03:12 -07:00
Minhan Xia
3573903a8d modify kubenet mutex and add timer 2016-05-09 14:54:15 -07:00
Sami Wagiaalla
5258392e6a Update Attacher/Detacher interfaces.
- Expand arguments for Attach/Detach interfaces
- Run waitForDetach asynchronously
2016-05-09 17:18:08 -04:00
Phillip Wittrock
448cc8754d Address PR comments 2016-05-09 13:39:27 -07:00
Phillip Wittrock
163a4873c4 How to update docs - doc 2016-05-09 13:39:27 -07:00
derekwaynecarr
a7dfdeb63e Few cleanups in kubelet_test.go 2016-05-09 16:25:50 -04:00
k8s-merge-robot
8a81000b71 Merge pull request #25331 from hongchaodeng/w
Automatic merge from submit-queue

etcd3/watcher: fix goroutine leak if ctx is canceled

### Problem
In reflector.go, it could probably call Stop() without retrieving all results
from ResultChan(). See [here](https://github.com/kubernetes/kubernetes/blob/master/pkg/client/cache/reflector.go#L369). A potential leak is that when an error has happened, it could block on resultChan,
and then cancelling context in Stop() wouldn't unblock it.

### What's this PR?
This fixes the problem by making it also select ctx.Done and cancel context afterwards if error happened.
2016-05-09 12:12:15 -07:00
k8s-merge-robot
833cfc08b3 Merge pull request #24894 from david-mcmahon/cp2
Automatic merge from submit-queue

Update cherrypick doc for release notes to more accurately reflect current process.

## Contributor 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.
2016-05-09 12:12:11 -07:00
Kris
d63a215b23 Adding extra logging in case of error. 2016-05-09 11:40:05 -07:00
saadali
214b4c28bc Skeleton of new attach detach controller 2016-05-09 11:34:11 -07:00
Yifan Gu
5351602f7d rkt: Implement ImageStats() for rkt. 2016-05-09 11:26:40 -07:00
Janet Kuo
b5ccc1465d Document that kubectl commands shouldn't have aliases 2016-05-09 11:19:52 -07:00
jianhuiz
441e206671 move server client shared annotations to new api/annotations package 2016-05-09 11:10:44 -07:00
Matt Liggett
9e2a636be3 Run update-codecgen and update-generated-protobuf. 2016-05-09 11:03:01 -07:00
Mike Brown
a42ea536ba devel/ tree 80col wrap and other minor edits
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2016-05-09 12:42:50 -05:00
David McMahon
8c15651ff2 Update pull request and cherrypick docs for release notes to more accurately reflect current process. 2016-05-09 10:19:19 -07:00
k8s-merge-robot
e973b5d27a Merge pull request #25354 from wojtek-t/fix_protobuf_generator
Automatic merge from submit-queue

Fix script for updating protobufs.

Fix #25351

@thockin
2016-05-09 09:24:58 -07:00
CJ Cullen
de71a2a76e Add configuration for GCP webhook authorization. 2016-05-09 09:17:40 -07:00
Hongchao Deng
97f4647dc3 etcd3/watcher: fix goroutine leak if ctx is canceled
In reflector.go, it could probably call Stop() without retrieving all results
from ResultChan().
A potential leak is that when an error has happened, it could block on resultChan,
and then cancelling context in Stop() wouldn't unblock it.
This fixes the problem by making it also select ctx.Done and cancel context
afterwards if error happened.
2016-05-09 09:06:11 -07:00
dagnello
f7b3cf39d6 Adding OWNERS file for vSphere cloud-provider package
also updating license file for Govmomi library
2016-05-09 08:55:42 -07:00
k8s-merge-robot
58ccbffb82 Merge pull request #25303 from ingvagabund/hack-update-all-remove-dollar-symbol
Automatic merge from submit-queue

Hack update all remove dollar symbol

When not running ./hack/update in silent mode, the script fails due to undefined ``$Updating`` variable.
2016-05-09 08:36:10 -07:00
dagnello
4fd02f54ef Retreive VM Name from Running Instance
When vSphere cloud provider object is instantiated, the VM name of the
Node where this object is being create in needs to be set.  This patch
also includes vSphere as part of the cloud provider package.
2016-05-09 08:31:18 -07:00
dagnello
c999cbaf8d VSphere Instance NodeAddresses ExternalID and InstanceID
This patch includes implementation for the following Instance object
interfaces:
* NodeAddresses
* ExternalID
* InstanceID

Also minor refactoring in overall Instance implementation.
2016-05-09 08:31:18 -07:00
Abitha Palaniappan
0d7d7fba60 Adding vSphere cloud provider support for Instance List 2016-05-09 08:31:18 -07:00
dagnello
88f6a6d66b Adding Zones Support for vSphere Cloud Provider 2016-05-09 08:31:18 -07:00
dagnello
051aa190e9 Adding vSphere Instances Scaffolding 2016-05-09 08:31:18 -07:00
Abitha Palaniappan
d3d29bbd24 Add vmware/govmomi in godep 2016-05-09 08:31:18 -07:00
Abitha Palaniappan
c2045e8ee0 Add vSphere cloud provider skeleton 2016-05-09 08:31:18 -07:00
k8s-merge-robot
4642621baf Merge pull request #25348 from gmarek/cidr
Automatic merge from submit-queue

Make Kubemark assign cluster CIDRs
2016-05-09 07:32:36 -07:00
Wojciech Tyczynski
9a8e4f69cd Fix script for updating protobufs. 2016-05-09 15:57:26 +02:00
k8s-merge-robot
bd2b41ca67 Merge pull request #25130 from deads2k/create-guidelines
Automatic merge from submit-queue

create command guidance

`kubectl create <resource>` commands are multiplying (configmap, namespace, secret (2 flavors and a pull for a third), and serviceaccounts so far) and I think we should agree on the goal of those subcommands.

Right now, `kubectl run` is an easy entrypoint for new users or users who don't really care which resources are created.  It is possible to get stable output from `kubectl run`, but it really is intent-based: make this image go in some reasonable way.  At the other end of the spectrum, you can craft yaml files by hand get exactly the object you want, but that requires pretty deep API knowledge.  I think that `kubectl create <resource>` should be the starting point of the middle ground.

`kubectl create <resource>` commands should have just enough arguments to create valid objects and the expectation should be that users will use those objects as skeletons to tweak using `kubectl edit` or the future `kubectl set` to modify them after the fact.  Editing an already existing and valid object is a lot easier than creating one from scratch, so it reduces the barrier to entry.

@kubernetes/kubectl @smarterclayton @bgrant0607 @liggitt
2016-05-09 06:31:27 -07:00
k8s-merge-robot
6596ae0c61 Merge pull request #24838 from saad-ali/attachControllerOpMap
Automatic merge from submit-queue

Add data structure for managing go routines by name

This PR introduces a data structure for managing go routines by name. It prevents the creation of new go routines if an existing go routine with the same name exists. This will enable parallelization of the designs in https://github.com/kubernetes/kubernetes/issues/20262 and https://github.com/kubernetes/kubernetes/issues/21931 with sufficient protection to prevent starting multiple operations on the same volume.
2016-05-09 06:31:22 -07:00
Jordan Liggitt
6c323a4f72 Remove name generation from thirdpartyresource 2016-05-09 09:27:54 -04:00
gmarek
7981f479de Make Kubemark assign cluster CIDRs 2016-05-09 15:09:37 +02:00
Wojciech Tyczynski
3c089bff41 Merge pull request #25344 from wojtek-t/fix_dynamic_client_with_protobufs
Fix dynamic client in protobuf configuration
2016-05-09 15:06:43 +02:00
k8s-merge-robot
545d56a63b Merge pull request #24810 from derekwaynecarr/sources_cleanup
Automatic merge from submit-queue

Clean-up sources ready tracking in kubelet

moved sources ready tracking behind an interface, made it thread-safe.
2016-05-09 05:48:09 -07:00
Kevin
b7014561c1 Add admission controller to limit pod anti affinity topologykey to node level 2016-05-09 12:23:41 +00:00