Commit Graph

4994 Commits (0c669fe6cc48208ebcdd43fa2ff425fce3c359a0)

Author SHA1 Message Date
Kubernetes Submit Queue 3e3ff447d2 Merge pull request #30285 from jsafrane/external-provisioner-proposal
Automatic merge from submit-queue

Proposal for external dynamic provisioners

@kubernetes/sig-storage
2016-10-31 08:45:08 -07:00
Angus Salkeld 3a08cf0619 Correct the article in generated documents
For example:

  "a Ingress" > "an Ingress"
2016-10-31 09:46:29 +10:00
Kubernetes Submit Queue f448f24c73 Merge pull request #34914 from brendandburns/kubectl-cp
Automatic merge from submit-queue

add kubectl cp

Implements `kubectl cp` (https://github.com/kubernetes/kubernetes/issues/13776)

Syntax examples:

```sh
# Copy from pod to local machine
$ kubectl cp [namespace/]pod:/some/file/or/dir ./some/local/file/or/dir

# Copy from local machine to pod
$ kubectl cp /some/local/file/or/dir [namespace/]pod:/some/remote/file/or/dir
```

@deads2k @smarterclayton @kubernetes/sig-cli
2016-10-30 15:12:41 -07:00
Kubernetes Submit Queue 8e213a4a26 Merge pull request #35390 from kargakis/update-eviction-comment
Automatic merge from submit-queue

apis: update comment for Eviction resource
2016-10-30 03:53:19 -07:00
Brendan Burns d65757fb88 add kubectl cp 2016-10-29 20:24:54 -07:00
Clayton Coleman edd5262e03
generated: API docs 2016-10-28 11:30:12 -04:00
Filip Grzadkowski 2e5f27d940 Design for automated HA master deployment 2016-10-28 12:16:05 +02:00
Kubernetes Submit Queue 433848c18f Merge pull request #35753 from philips/remove-troubleshooting
Automatic merge from submit-queue

docs: remove troubleshooting
2016-10-27 23:57:41 -07:00
Kubernetes Submit Queue 2ff7e26796 Merge pull request #35674 from YuPengZTE/devIE
Automatic merge from submit-queue

"ie." is not the correct abbreviation for "ID EST"

**What this PR does / why we need it**:
"i.e." is the correct abbreviation for "ID EST"

Signed-off-by: yupeng <yu.peng36@zte.com.cn>
2016-10-27 23:57:33 -07:00
Brandon Philips ae3bd5db4e docs: remove troubleshooting
Based on comment from @bgrant0607 https://github.com/kubernetes/kubernetes/pull/35544/files#r85368740
2016-10-27 21:42:28 -07:00
Kubernetes Submit Queue e37b7cbde0 Merge pull request #35663 from janetkuo/statefulset
Automatic merge from submit-queue

Rename PetSet to StatefulSet

<!--  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**: #35534

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: 

**Special notes for your reviewer**: cc @erictune @foxish @kubernetes/sig-apps @ymqytw 

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
```
2016-10-27 20:16:50 -07:00
Kubernetes Submit Queue b98a990a31 Merge pull request #19343 from kargakis/perma-failed-deployments
Automatic merge from submit-queue

Add perma-failed deployments API

@kubernetes/deployment @smarterclayton 

API for https://github.com/kubernetes/kubernetes/issues/14519

Docs at https://github.com/kubernetes/kubernetes.github.io/pull/1337
2016-10-27 18:46:48 -07:00
Janet Kuo 74dbfdca97 (Auto-gen) Run update-all.sh, codecgen, munge docs, and bazel 2016-10-27 17:25:10 -07:00
Kubernetes Submit Queue 4773b71f38 Merge pull request #18016 from smarterclayton/petset
Automatic merge from submit-queue

Proposal for implementing nominal services AKA StatefulSets AKA The-Proposal-Formerly-Known-As-PetSets

This is the draft proposal for #260.
2016-10-27 16:46:59 -07:00
Clayton Coleman 14258ce056
StatefulSet proposal 2016-10-27 15:08:23 -04: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
Michail Kargakis cf9fd31d00 extensions: generated changes for perma-failed deployments 2016-10-27 12:56:55 +02:00
yupeng 746dd4d4cd ie. is not the correct abbreviation for ID EST
Signed-off-by: yupeng <yu.peng36@zte.com.cn>
2016-10-27 14:18:20 +08:00
Kubernetes Submit Queue ab0ee35462 Merge pull request #35651 from caesarxuchao/remove-label-selectors
Automatic merge from submit-queue

Sending #35255 again: Remove versioned LabelSelectors

ref #35255: "Remove versioned LabelSelectors"

FYI @smarterclayton
2016-10-26 18:21:22 -07:00
Chao Xu 0a896a9e57 remove versioned LabelSelector definitions 2016-10-26 13:50:13 -07:00
deads2k 81ae13084d handle non-generated client removal 2016-10-26 16:10:41 -04:00
gmarek 24975aad30 Revert "remove versioned LabelSelector definitions"
This reverts commit 1ace8fa9ce.
2016-10-26 16:52:02 +02:00
Michail Kargakis 3eaa6ca4a6 apis: update comment for Eviction resource 2016-10-26 13:46:11 +02:00
Chao Xu 1ace8fa9ce remove versioned LabelSelector definitions 2016-10-25 22:09:02 -07:00
Tim Hockin 9a1799fa09 versionize-docs is dead 2016-10-26 00:06:59 +02:00
Tim Hockin b0fa2056a6 Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
Kubernetes Submit Queue c0b7b75713 Merge pull request #35057 from rhcarvalho/typos
Automatic merge from submit-queue

Fix some typos

<!--  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**: fixes a typo an its auto-generated repetitions.

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```
2016-10-25 11:02:08 -07:00
Mike Danese 27116c6818 rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
Kubernetes Submit Queue dfe801de10 Merge pull request #35127 from pmorie/selinux-overhaul
Automatic merge from submit-queue

Amendments to SELinux enhancement proposal

Makes some changes to the proposal from #33951 based on some further research.
2016-10-24 14:23:09 -07:00
Clayton Coleman d2ea4d5168
Clarify backwards and forwards compatibility in docs
We weren't necessarily clear that we consider both required.
2016-10-24 12:04:39 -04:00
Kubernetes Submit Queue 081ee2d5ad Merge pull request #34090 from mwielgus/designdoc-rs
Automatic merge from submit-queue

Federated replica set design doc

cc: @quinton-hoole @kubernetes/sig-cluster-federation
2016-10-22 14:55:29 -07:00
Marcin Wielgus c44897f97d Federated replica set design doc 2016-10-22 23:05:35 +02:00
Kubernetes Submit Queue 24144be499 Merge pull request #34058 from euank/volume-qualifications
Automatic merge from submit-queue

proposals: Add Volume Hostpath "type" proposal

This is a continuation of #31384. It's related to #26816 as well.
The discussion in #31384 is worth reading and this proposal largely derives from my comments there.

cc @thockin @pmorie @saad-ali @kubernetes/sig-storage 
cc @yujuhong since it talks briefly about kubelet doing more

cc @calebamiles I think we might need a "Feature" for this since it's an api change, though a minor one?
2016-10-21 19:47:41 -07:00
Mike Danese 64ca9decae add some docs about building with bazel 2016-10-21 17:32:33 -07:00
Kubernetes Submit Queue c98eb3867f Merge pull request #35199 from kargakis/remove-last-probe-time
Automatic merge from submit-queue

Remove last probe time from replica sets

While experimenting with Deployment conditions I found out that if we are going to use lastProbeTime as we are supposed to be using it then we hotloop between updates (see https://github.com/kubernetes/kubernetes/pull/19343#issuecomment-255096778 for more info)

cc: @smarterclayton @soltysh
2016-10-21 01:47:01 -07:00
Michail Kargakis a4694ef1af Generated changes for lastProbeTime removal 2016-10-20 15:16:46 +02:00
Kubernetes Submit Queue d7e70bd448 Merge pull request #35085 from xilabao/fix-testing-against-local-clusters
Automatic merge from submit-queue

check_node_count falls out of use, clear from docs/devel/e2e-tests.md

delete "--check_node_count " for testing against local clusters
2016-10-20 00:08:05 -07:00
Paul Morie 0770dcdc2d Amendments to SELinux enhancement proposal 2016-10-19 11:01:01 -04:00
Jan Safranek 95197536fc Proposal for external dynamic provisioners 2016-10-19 12:01:50 +02:00
Kubernetes Submit Queue cd44cec587 Merge pull request #34765 from ivan4th/fix-more-typos
Automatic merge from submit-queue

Fix typos
2016-10-19 00:21:11 -07:00
xilabao e5d2740c47 check_node_count falls out of use, clear from docs 2016-10-19 11:04:36 +08:00
Euan Kemp a0739bf062 proposals: Add Volume Hostpath "type" proposal 2016-10-18 13:56:23 -07:00
Kubernetes Submit Queue 97525c0c7d Merge pull request #32628 from caesarxuchao/sync-gc
Automatic merge from submit-queue

[RFC] Add a proposal for synchronous garbage collection

Tracking issue: #29891

@lavalamp @kubernetes/sig-api-machinery @kubernetes/api-review-team
2016-10-18 12:37:42 -07:00
Rodolfo Carvalho c75ddfe76d Fix some typos 2016-10-18 18:24:38 +02:00
deads2k be5f3f3324 recommendations for writing controllers 2016-10-18 09:02:44 -04:00
Kubernetes Submit Queue c19569f03f Merge pull request #34502 from fabianofranz/cli_usability_improvements
Automatic merge from submit-queue

Improvements to CLI usability and maintainability

Improves `kubectl` from an usability perspective by

1. Fixing how we handle terminal width in help. Some sections like the flags use the entire available width, while others like long descriptions breaks lines but don't follow a well established max width (screenshot below). This PR adds a new responsive writer that will adjust to terminal width and set 80, 100, or 120 columns as the max width, but not more than that given POSIX best practices and recommendations for better readability.
![terminal_width](https://cloud.githubusercontent.com/assets/158611/19253184/b23a983e-8f1f-11e6-9bae-667dd5981485.png)
2. Adds our own normalizers for long descriptions and cmd examples which allows us better control about how things like lists, paragraphs, line breaks, etc are printed. Features markdown support. Looks like `templates.LongDesc` and `templates.Examples` instead of `dedent.Dedend`.
3. Allows simple reordering and reuse of help and usage sections.
3. Adds `verify-cli-conventions.sh` which intends to run tests to make sure cmd developers are using what we propose as [kubectl conventions](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/kubectl-conventions.md). Just a couple simple tests for now but the framework is there and it's easy to extend.
4. Update [kubectl conventions](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/kubectl-conventions.md) to use our own normalizers instead of `dedent.Dedent`.

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
Improves how 'kubectl' uses the terminal size when printing help and usage.
```

@kubernetes/kubectl
2016-10-17 23:41:23 -07:00
Euan Kemp 973b417aa5 local-up: Add option to guess binary path 2016-10-17 11:55:29 -07:00
Kubernetes Submit Queue 07b777fee1 Merge pull request #34758 from fgrzadkowski/monitoring_arch
Automatic merge from submit-queue

Add monitoring architecture

<!--  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**: This adds a description of monitoring architecture.

**Special notes for your reviewer**: This proposal have been already extensively discussed in [this doc](https://docs.google.com/document/d/1z7R44MUz_5gRLwsVH0S9rOy8W5naM9XE5NrbeGIqO2k); this is just a copy&paste so that it's in our repo.

@kubernetes/autoscaling @kubernetes/sig-instrumentation @DirectXMan12 @davidopp @piosz @derekwaynecarr @thockin 

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```
2016-10-17 07:43:23 -07:00
Fabiano Franz 0fd5c8d797 Use our own normalizers in the conventions doc 2016-10-17 11:50:02 -02:00
Filip Grzadkowski d021c230fe Add monitoring architecture. 2016-10-17 15:21:49 +02:00
Kubernetes Submit Queue 1a90b4b72c Merge pull request #31368 from vladi-dev/master
Automatic merge from submit-queue

Doc: Explain how to use EBS storage on AWS

<!--  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**:

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
```
2016-10-15 12:17:20 -07:00
Kubernetes Submit Queue 27dcf27ad8 Merge pull request #33076 from YuPengZTE/devIE
Automatic merge from submit-queue

ie. should be i.e.
2016-10-15 08:50:02 -07:00
Jacob Tanenbaum 901bbee2fd Add 'kubectl set limit'
Add a way to set resource limits/requests on running pods

Ref: https://github.com/kubernetes/kubernetes/issues/21648

I squashed the commits to make rebasing easier
Change log:

- fixed a typo that caused the command to be run with kubectl set set instead of the correct kubectl set limit

- added a ResourcesWithPodTemplates to pkg/kubectl/cmd/util/factory.go
     instead of hardcoding these resources move there description all in one place

- Fixing some of the flow control in kubectl set limit

- update the help info

- changed the name of ResourcesWithPodTemplates to ResourcesWithPodSpecs to more accuratly describe what it is doing
    and changed the variable names to lower case to conform to go's variable naming convention

- changing the name of the command from 'set limit' to 'set resources'

- Adding the new file pkg/kubectl/cmd/set/set_resources.go

- changes to the test cases to reflect the change from 'kubectl set limit' to 'kubectl set resources'

- comment removed

- adding the man page to the git repository attempting to fix Jenkins tests

- adding the user guide

- fixed a few typos

- typo in hack/cmd-test.sh

- implamenting suggestions for command help text

- adding the dry-run flag

- removing the "remove" option in favor of zeroing out request/limits in order to remove them

- changed limits/requests to requests/limit

- changing ResourcesWithPodSpec

- updated generated docs and removed whitespace

- change priint on success message from "resource limits/requests updated" to "resource requirements updated"

- minor rebasing issues - 'hack/test-cmd.sh' now passes

- cmdutil.PrintSuccess added another argument

- fixing mungedocs failure

- removed whitespace from hack/make-rules/test-cmd.sh and an erroneous entry from pkg/cloudprovider/providers/openstack/MAINTAINERS.md

- fixed typo in Short: field of the cobra command

- rebased

- Creating a new factory in the ResourcesWithPodSpecs() so that the testing will pass

- changing ResourcesWithPodSpecs, it doesn't need to be a method of factory
2016-10-14 08:35:32 -04:00
Kubernetes Submit Queue 9e3636ae86 Merge pull request #34753 from ivan4th/fix-misspellings-of-kubernetes
Automatic merge from submit-queue

Fix misspellings of 'Kubernetes'

Fix typos.
2016-10-14 03:09:01 -07:00
Ivan Shvedunov 2b427f7d59 Fix typos 2016-10-14 00:29:50 +03:00
Ivan Shvedunov 2d420d2371 Fix misspellings of 'Kubernetes' 2016-10-13 22:49:21 +03:00
Eric Paris b66a5d23ac Fix description of considered PVs for unset claim.Spec.Class 2016-10-13 12:18:03 -04:00
Kubernetes Submit Queue 523fce990a Merge pull request #32781 from lukaszo/ready_ds
Automatic merge from submit-queue

Add ReadyScheduled to DaemonSet status

Fixes #25605

cc @bgrant0607 @mikedanese
2016-10-13 00:25:56 -07:00
Kubernetes Submit Queue a0d4878ea9 Merge pull request #30145 from markturansky/limit_range_pvc
Automatic merge from submit-queue

Add PVC storage to LimitRange

This PR adds the ability to add a LimitRange to a namespace that enforces min/max on `pvc.Spec.Resources.Requests["storage"]`.

@derekwaynecarr @abhgupta @kubernetes/sig-storage 

Examples forthcoming. 

```release-note
pvc.Spec.Resources.Requests min and max can be enforced with a LimitRange of type "PersistentVolumeClaim" in the namespace
```
2016-10-12 20:26:59 -07:00
Kubernetes Submit Queue fdcfb809b2 Merge pull request #33746 from errordeveloper/patch-1
Automatic merge from submit-queue

Clarify the purpose of dramatically-simplify-cluster-creation.md

**What this PR does / why we need it**:
We have merged `docs/proposals/dramatically-simplify-cluster-creation.md` mostly because we'd like to keep accurate historic records. This change adds a note to clarify this.

**Release note**:
```release-note
NONE
```
2016-10-12 19:48:06 -07:00
Chao Xu fb81c1e573 change the field name to PropagationPolicy 2016-10-12 16:19:28 -07:00
Kubernetes Submit Queue 43d6ed917f Merge pull request #33704 from yifan-gu/rktlet_proposal
Automatic merge from submit-queue

Proposal: Add a rktlet proposal in upstream.

Mostly copied from docs/proposals/kubelet-rkt-runtime.md, plus
roadmaps.


/cc @kubernetes/sig-rktnetes @kubernetes/sig-node @philips @calebamiles @lucab @s-urbaniak @squeed
2016-10-12 15:12:59 -07:00
Chao Xu 5880a6db2e fixing nits; adding --wait to kubetl delete 2016-10-12 13:20:19 -07:00
Łukasz Oleś 4ebe1f666a Generated part for NumberReady 2016-10-12 15:36:01 +02:00
Kubernetes Submit Queue f9e8ee8fe8 Merge pull request #33905 from kargakis/replica-set-conditions
Automatic merge from submit-queue

Replica set conditions API

Partially addresses https://github.com/kubernetes/kubernetes/issues/32863

@kubernetes/sig-apps
2016-10-12 05:10:45 -07:00
Chao Xu 214bfecc6f addressing comment; rename user facing "Garbage Collection" 2016-10-11 21:21:53 -07:00
Chao Xu 9b77f7f97b Use DeleteOptions.GarbageCollectionPolicy and OwnerReference.BlockOwnerDeletion 2016-10-11 00:15:53 -07:00
Yifan Gu f8682ac1bb More clarification on the in-process integration. 2016-10-10 19:09:11 -07:00
Matt Liggett 1b3619d8eb // update-all.sh 2016-10-10 11:29:40 -07:00
Michail Kargakis 5589469948 Generated code for RS/RC conditions 2016-10-10 18:34:01 +02:00
Piotr Szczesniak 4346e7b312 Rescheduling for critical pods proposal 2016-10-10 11:41:47 +02:00
Kubernetes Submit Queue b359034817 Merge pull request #34239 from gnufied/update-e2e-docs
Automatic merge from submit-queue

Update documentation for running e2e tests locally

**What this PR does / why we need it**:

The docs for running e2e tests locally needs to be updated.
check_node_count option has been removed and developers usually
need to perform additional steps do get it going.
2016-10-09 17:46:10 -07:00
Kubernetes Submit Queue f93e01de5a Merge pull request #32518 from liggitt/kubelet-auth-proposal
Automatic merge from submit-queue

Proposal: kubelet authentication/authorization

Proposal for https://github.com/kubernetes/features/issues/89
2016-10-07 15:22:11 -07:00
Kubernetes Submit Queue 3be8e3e44b Merge pull request #33981 from freehan/e2e-deletens-on-failure
Automatic merge from submit-queue

add delete-namespace-on-failure flag

I have been doing this for a while. 

Setting `--delete-namespace=false --clean-start=true` only works if you have only one e2e test running in a loop. 

This PR lets someone to set `delete-namespace-on-failure=false` and run multiple tests in parallel and preserve the crime scene. It makes it easier to reproduce failures. 

Let me know if this is worth it or there are some other tricks I am not aware.
2016-10-07 04:34:27 -07:00
Denis Andrejew 4d9286eb83 fix typo in podaffinity.md 2016-10-07 12:48:02 +02:00
Chao Xu 495a71e709 adding alternative design 2016-10-06 22:09:38 -07:00
Hemant Kumar 4c0f3b8438 Update documentation for running e2e tests locally
The docs for running e2e tests locally needs to be updated.
check_node_count option has been removed and developers usually
need to perform additional steps do get it going.
2016-10-06 10:51:49 -04:00
Kubernetes Submit Queue 63139f937c Merge pull request #30787 from jbeda/rsync
Automatic merge from submit-queue

Speed up dockerized builds

This PR speeds up dockerized builds.  First, we make sure that we are as incremental as possible.  The bigger change is that now we use rsync to move sources into the container and get data back out.

To do yet:
* [x] Add a random password to rsync.  This is 128bit MD4, but it is better than nothing.
* [x] Lock down rsync to only come from the host.
* [x] Deal with remote docker engines -- this should be necessary for docker-machine on the mac.
* [x] Allow users to specify the port for the rsync daemon.  Perhaps randomize this or let docker pick an ephemeral port and detect the port?
* [x] Copy back generated files so that users can check them in.  This is done for `zz_generated.*` files generated by `make generated_files` 
  * [x] This should include generated proto files so that we can remove the hack-o-rama that is `hack/hack/update-*-dockerized.sh` 
* [x] Start "versioning" the build container and the data container so that the CI system doesn't have to be manually kicked.
* [x] Get some benchmarks to qualify how much faster.

This replaces #28518 and is related to #30600.

cc @thockin @spxtr @david-mcmahon @MHBauer 

Benchmarks by running `make clean ; sync ; time bash -xc 'time build/make-build-image.sh ; time sync ; time build/run.sh make ; time sync; time build/run.sh make'` on a GCE n1-standard-8 with PD-SSD.

| setup | build image | sync | first build | sync | second build | total |
|-------|-------------|----- |----------|------|--------------|------|
| baseline | 0m11.420s | 0m0.812s | 7m2.353s | 0m42.380s | 7m8.381s | 15m5.348s |
| this pr | 0m10.977s | 0m15.168s | 7m31.096s | 1m55.692s | 0m16.514s | 10m9.449s |
2016-10-05 19:51:09 -07:00
markturansky 0d40104c1d add pvc storage to LimitRange 2016-10-05 17:31:15 -04:00
Kubernetes Submit Queue 6f78c0d912 Merge pull request #33951 from pmorie/selinux-overhaul
Automatic merge from submit-queue

Proposal: SELinux enhancements

TLDR: Try to make SELinux support better by not requiring Kubelet directory to be labeled with an SELinux type usable from the container.

cc @kubernetes/sig-node @yifan-gu
2016-10-05 13:09:18 -07:00
Paul Morie 4a5781e4c8 Proposal: SELinux enhancements 2016-10-04 19:04:51 -04:00
Joe Beda 17454a04ac Remove support for boot2docker 2016-10-03 19:42:20 -07:00
Minhan Xia 47ccd15b1d add delete-namespace-on-failure flag 2016-10-03 17:14:51 -07:00
Chao Xu 120363be72 add OwnerReference.BlockSynchronousGC 2016-10-03 10:14:54 -07:00
Ilya Dmitrichenko abc0a98d25
Replace references to http://releases.k8s.io/HEAD/docs/user-guide/ 2016-10-02 11:44:40 +01:00
Kubernetes Submit Queue 8cdd526913 Merge pull request #33752 from justinsb/labels_annotations_and_taints_ohmy
Automatic merge from submit-queue

Start a doc for well-known labels & taints
2016-10-01 12:33:30 -07:00
Kubernetes Submit Queue 518582b03a Merge pull request #33835 from php-coder/fix_typos
Automatic merge from submit-queue

docs/proposals/volume-provisioning.md: fix typos

Fixes a couple of typos that I found during reading.
2016-09-30 19:15:07 -07:00
Kubernetes Submit Queue b20765f5a3 Merge pull request #32096 from brendandburns/obligations
Automatic merge from submit-queue

Add community expectations about conduct and reviewing.

@sarahnovotny @smarterclayton @philips @thockin @davidopp @jbeda 

As discussed in the previous community meeting here's a description of the expectations around community, I expanded it a little bit beyond code review because it seemed like a good place to put it
down in one location.

Please let me know what I got wrong (or right ;)

Thanks
--brendan
2016-09-30 09:23:57 -07:00
Brendan Burns 09e4276448 Add community expectations about conduct and reviewing. 2016-09-30 15:35:15 +00:00
Kubernetes Submit Queue 5e231d1312 Merge pull request #33720 from feiskyer/hyper
Automatic merge from submit-queue

Proposal: Add HyperContainer runtime

This PR adds a proposal for integrating [HyperContainer](http://hypercontainer.io) runtime via CRI.

CC @dchen1107 @kubernetes/sig-node
2016-09-30 08:16:49 -07:00
Slava Semushin 78f63ebafe docs/proposals/volume-provisioning.md: fix typos. 2016-09-30 15:43:30 +02:00
Yifan Gu 2d76b9f240 Remove reference to dockershim. 2016-09-29 19:50:20 -07:00
mbohlool 35b5174bf1 Generate and verify openapi specs in source tree at api/openapi-spec 2016-09-29 17:03:31 -07:00
Ilya Dmitrichenko a7e8617fad Fix URL 2016-09-30 00:30:55 +01:00
Justin Santa Barbara 5a335eade0 Start a doc for well-known labels & taints 2016-09-29 10:45:08 -04:00
Pengfei Ni fb308d2fdb Kubelet: add proposal for HyperContainer runtime
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2016-09-29 22:19:15 +08:00
Ilya Dmitrichenko 4c9fa320fd Clarify the purpose of dramatically-simplify-cluster-creation.md 2016-09-29 13:07:18 +01:00
Kubernetes Submit Queue 7dcae5edd8 Merge pull request #25260 from duglin/minion
Automatic merge from submit-queue

Change minion to node

Continuation of #1111

I tried to keep this PR down to just a simple search-n-replace to keep
things simple.  I may have gone too far in some spots but its easy to
roll those back if needed - just let me know.

I avoided renaming `contrib/mesos/pkg/minion` because there's already
a `contrib/mesos/pkg/node` dir and fixing that will require a bit of work
due to a circular import chain that pops up. So I'm saving that for a
follow-on PR.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-09-28 20:08:59 -07:00
Yifan Gu 7d824ba47f Proposal: Add a rktlet proposal in upstream.
Mostly copied from docs/proposals/kubelet-rkt-runtime.md, plus
roadmaps.
2016-09-28 17:16:25 -07:00
Dan Williams f1aaf79fb4 docs/networking: update IPv6 support section 2016-09-28 16:58:55 -05:00
Kubernetes Submit Queue 5780022b0d Merge pull request #33673 from mikedanese/proposal-dramatically-simplify-cluster-creation
Automatic merge from submit-queue

Proposal: Dramatically Simplify Kubernetes Cluster Creation

repost of #30360
closes #30360
2016-09-28 14:17:36 -07:00
Luke Marsden 8f0047ab69 Initial commit for proposal from https://docs.google.com/document/d/1BO6JB16L27XFN-pmnFP_otvKW2cFxE-ysehI4ZJnYBo/edit 2016-09-28 11:02:50 -07:00
Doug Davis 9d5bac6330 Change minion to node
Contination of #1111

I tried to keep this PR down to just a simple search-n-replace to keep
things simple.  I may have gone too far in some spots but its easy to
roll those back if needed.

I avoided renaming `contrib/mesos/pkg/minion` because there's already
a `contrib/mesos/pkg/node` dir and fixing that will require a bit of work
due to a circular import chain that pops up. So I'm saving that for a
follow-on PR.

I rolled back some of this from a previous commit because it just got
to big/messy. Will follow up with additional PRs

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-09-28 10:53:30 -07:00
Kubernetes Submit Queue 4da66aa8cd Merge pull request #33571 from pmorie/selinux-docs
Automatic merge from submit-queue

Move SELinux proposal to docs/design

Moves the proposal into the docs/design directory, as should have happened long ago.
2016-09-28 08:11:43 -07:00
Michail Kargakis d8dc2aac07 extensions: generated code for minReadySeconds/availableReplicas 2016-09-28 11:25:13 +02:00
Kubernetes Submit Queue df064881d2 Merge pull request #31005 from simonswine/feature-flocker-dyn-provisioning
Automatic merge from submit-queue

Dynamic provisioning for flocker volume plugin

Refactor flocker volume plugin
* [x] Support provisioning beta (#29006)
* [x] Support deletion
* [x] Use bind mounts instead of /flocker in containers

* [x] support ownership management or SELinux relabeling.
* [x] adds volume specification via datasetUUID (this is guranted to be unique)

I based my refactor work to replicate pretty much GCE-PD behaviour 

**Related issues**: #29006 #26908

@jsafrane @mattbates @wallrj @wallnerryan
2016-09-28 01:46:43 -07:00
Kubernetes Submit Queue 1854bdcb0c Merge pull request #29048 from justinsb/volumes_nodename_not_hostname
Automatic merge from submit-queue

Use strongly-typed types.NodeName for a node name

We had another bug where we confused the hostname with the NodeName.

Also, if we want to use different values for the Node.Name (which is
an important step for making installation easier), we need to keep
better control over this.

A tedious but mechanical commit therefore, to change all uses of the
node name to use types.NodeName
2016-09-27 17:58:41 -07:00
Chao Xu 7e2ebef2aa API server makes generous assumption about DeleteOptions.OrphanDependents and
DeleteOptions.SynchronousGarbageCollection;

using only one queue;

address kubectl backward compatibility.
2016-09-27 16:44:24 -07:00
Eric Paris d3e3a5a929 Merge pull request #33200 from sc68cal/patch-1
Delete vagrant.md
2016-09-27 19:40:49 -04:00
Sean M. Collins 0ec3ee9524 Delete vagrant.md
The link[1] 404's and most of the documentation now suggests[2] using
minikube for running a kubernetes cluster locally

[1]: http://kubernetes.github.io/docs/getting-started-guides/vagrant/
[2]: http://kubernetes.io/docs/getting-started-guides/#local-machine-solutions
2016-09-27 17:02:14 -04:00
Paul Morie 3335a5bb19 Move SELinux proposal to docs/design 2016-09-27 13:00:59 -04:00
Kubernetes Submit Queue 354f003c34 Merge pull request #33371 from jsafrane/api-endpoint
Automatic merge from submit-queue

Update storage API group in docs

It reflects actual state of implementation (i.e. the API group was already changed in 1.4).
2016-09-27 08:59:47 -07:00
Justin Santa Barbara 54195d590f Use strongly-typed types.NodeName for a node name
We had another bug where we confused the hostname with the NodeName.

To avoid this happening again, and to make the code more
self-documenting, we use types.NodeName (a typedef alias for string)
whenever we are referring to the Node.Name.

A tedious but mechanical commit therefore, to change all uses of the
node name to use types.NodeName

Also clean up some of the (many) places where the NodeName is referred
to as a hostname (not true on AWS), or an instanceID (not true on GCE),
etc.
2016-09-27 10:47:31 -04:00
Kubernetes Submit Queue 45723e0778 Merge pull request #33471 from YuPengZTE/devVS
Automatic merge from submit-queue

The VS and dot is seprated
2016-09-27 07:32:16 -07:00
Christian Simon 1c11047ffb Adds datasetUUID for referencing flocker datasets
* flocker datasets should be attached using an unique identifier. This
  is not the case for the name metadata used by datasetName
* allow only one of datasetUUID / datasetName specified
2016-09-27 13:19:22 +00:00
Kubernetes Submit Queue 4339b87ae3 Merge pull request #31228 from yuexiao-wang/fix-makefile
Automatic merge from submit-queue

Add targets for PHONY in Makefile

Add targets for PHONY in Makefile and keep the same style between rules and PHONY

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2016-09-26 22:30:10 -07:00
Chao Xu 8d1039280a addressing more comments 2016-09-26 14:14:21 -07:00
YuPengZTE d0f69ee0f9 The VS and dot is seprated
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
2016-09-26 17:05:53 +08:00
Kubernetes Submit Queue beba1e2c8f Merge pull request #33275 from maciaszczykm/remove-kubectl-namespace-cmd
Automatic merge from submit-queue

Remove kubectl namespace command

**What this PR does / why we need it**:

It removes deprecated `kubectl namespace` command, which `has been superseded by the context.namespace field of .kubeconfig files.  See 'kubectl config set-context --help' for more details`. It was done nearly two years ago, so like `// TODO remove once people have been given enough time to notice` comment says it may be a good time to get rid of it.

**Special notes for your reviewer**:

None ATM.

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
Remove kubectl namespace command
```
2016-09-24 02:51:39 -07:00
Kubernetes Submit Queue a18bc2eb09 Merge pull request #33277 from mkumatag/genman_all
Automatic merge from submit-queue

Automatic generation of man pages

<!--  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**:
Currently genman supports only kubectl command, so this PR will enable genman to generate man pages for rest of the command like - kube-apiserver, kube-controller-manager, kube-proxy, kube-scheduler, kubelet
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
N/A
**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
```
2016-09-24 02:10:19 -07:00
Kubernetes Submit Queue 5f815354e0 Merge pull request #33182 from deads2k/api-13-collapse-script-references
Automatic merge from submit-queue

unify available api group versions in our scripts

There are currently many parallel lists of available group versions with slightly different syntaxes in each one.  This collapses them into a single list for us to maintain.  

Also caught spots where the lists didn't match before.

@sttts @ncdc
2016-09-23 10:06:10 -07:00
Jan Safranek f09056d1d0 Update storage API group in docs 2016-09-23 16:33:06 +02:00
Kubernetes Submit Queue cb44f86bc3 Merge pull request #33240 from spxtr/xmloutput
Automatic merge from submit-queue

Make e2e.go give us JUnit results.

Will assign to @fejta when it's ready to go. https://github.com/kubernetes/test-infra/issues/76
2016-09-22 19:55:10 -07:00
Joe Finney 3503c4f71a Make e2e.go give us JUnit results. 2016-09-22 18:40:53 -07:00
Jordan Liggitt b626a82c65
kubelet authentication/authorization proposal 2016-09-22 15:05:48 -04:00
deads2k 43db7c0c44 generated code that was missing before 2016-09-22 13:30:42 -04:00
Manjunath A Kumatagi 6047787fa3 Add support for generating all the manpages to genman 2016-09-22 20:09:22 +05:30
Kubernetes Submit Queue f230e6c7bc Merge pull request #33007 from smarterclayton/fix_versioned_event
Automatic merge from submit-queue

Correct versioned.Event output in Swagger

Fixes #24240

```release-note
The value of the `versioned.Event` object (returned by watch APIs) in the Swagger 1.2 schemas has been updated from `*versioned.Event` which was not expected by many client tools. The new value is consistent with other structs returned by the API.
```
2016-09-22 07:03:28 -07:00
Marcin Maciaszczyk d2a288de6a Remove kubectl namespace command 2016-09-22 15:46:20 +02:00
Chao Xu 0298cd3a25 addressing comments 2016-09-21 10:10:54 -07:00
jayunit100 be2e1f5d96 viper hierarchies, cadvisor impl 2016-09-20 15:42:22 -04:00
Chao Xu b58746f603 more 2016-09-20 11:22:05 -07:00
Kubernetes Submit Queue 1d5a7f598b Merge pull request #33043 from complexsplit/patch-1
Automatic merge from submit-queue

typo fixes

**What this PR does / why we need it**: Fixes typographical errors.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: None

**Special notes for your reviewer**: None

**Release note**: None
2016-09-20 09:27:02 -07:00
Kubernetes Submit Queue 8423ff1f1b Merge pull request #32409 from liggitt/authentication-api-group-docs
Automatic merge from submit-queue

Generate API docs for authentication API group
2016-09-20 03:06:50 -07:00
Kubernetes Submit Queue c97246247a Merge pull request #30199 from dims/re-add-roadmap-extend-all
Automatic merge from submit-queue

Extend all to more resources

Added more things from the list here:
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L159

Update the devel/kubectl-conventions.md with the rules mentioned by
a few folks on which resources could be added to the special 'all' alias
2016-09-20 01:49:45 -07:00
YuPengZTE f3a000757c ie. is should be i.e.
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
2016-09-20 16:21:14 +08:00
Clayton Coleman 8fd096e5c8
generated: swagger, docs 2016-09-19 19:43:42 -04:00
Anthony Elizondo 4237e9b441 typo fixes 2016-09-19 16:21:58 -04:00
Kubernetes Submit Queue 4b7f0c8388 Merge pull request #32130 from resouer/patch-2
Automatic merge from submit-queue

Wrong cron job date in scheduledjob.md

It seems we wrote a wrong date? 

`"0 14 21 7 *"` is July 21.
2016-09-19 13:07:17 -07:00
Davanum Srinivas e1373cf516 Extend all to more resources
Added more things from the list here:
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L159

Update the devel/kubectl-conventions.md with the rules mentioned by
a few folks on which resources could be added to the special 'all' alias
2016-09-19 13:01:59 -04:00
Kubernetes Submit Queue 892a6d7af5 Merge pull request #32937 from philips/document-node-id-fields
Automatic merge from submit-queue

api: types: document NodeSpec ID fields

Document MachineID as the preferred field from the discussion here:
https://groups.google.com/d/msg/kubernetes-sig-node/_3mXXB1ohZs/EuYtCzHvBgAJ

I couldn't get the generated things to update. I ran:

```
hack/update-generated-runtime.sh
hack/update-codegen.sh
hack/update-generated-swagger-docs.sh
hack/update-generated-protobuf.sh
hack/update-codecgen.sh
```

What did I miss?!

cc @dchen1107 @thockin
2016-09-18 21:29:29 -07:00
Brandon Philips 080b3d0a8c api: types: document NodeSpec ID fields
Document MachineID as the preferred field from the discussion here:
https://groups.google.com/d/msg/kubernetes-sig-node/_3mXXB1ohZs/EuYtCzHvBgAJ
2016-09-17 16:37:29 -07:00
Vish Kannan a1fe3adbc7 Revert "Revert "[kubelet] Fix oom-score-adj policy in kubelet"" 2016-09-16 16:32:58 -07:00
Vish Kannan 492ca3bc9c Revert "[kubelet] Fix oom-score-adj policy in kubelet" 2016-09-15 19:28:59 -07:00
Saad Ali cb88d88b3e Merge pull request #32251 from vishh/fix-oom-policy
[kubelet] Fix oom-score-adj policy in kubelet
2016-09-15 15:24:54 -07:00
Kubernetes Submit Queue 39e3c986cc Merge pull request #32788 from philips/add-flakes-test-docs
Automatic merge from submit-queue

docs: devel: tell people how to find flake tests
2016-09-15 08:51:05 -07:00
Brandon Philips f8a4c4f62d docs: devel: tell people how to find flake tests
This doc talks about flake tests but never links to all of them. Fix
this so people can dive in.
2016-09-15 06:37:53 -07:00
Ivan Shvedunov b3cd21384b Fix typo in scheduler doc 2016-09-15 16:23:40 +03:00
Vishnu kannan e4acad7afb Fix oom-score-adj policy in kubelet.
Docker daemon and kubelet needs to be protected by setting oom-score-adj to -999.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-14 11:56:10 -07:00
Chao Xu d67eb53db2 addressing comments 2016-09-13 21:12:17 -07:00