Commit Graph

665 Commits

Author SHA1 Message Date
Jimmy Cuadra
d42eabd9d2 Rename PetSet to StatefulSet in docs and examples. 2016-11-05 00:17:28 -07:00
Kubernetes Submit Queue
41b5fe86b6 Merge pull request #31546 from derekwaynecarr/systemd-pod-cgroups
Automatic merge from submit-queue

pod and qos level cgroup support

```release-note
[Kubelet] Add alpha support for `--cgroups-per-qos` using the configured `--cgroup-driver`. Disabled by default.
```
2016-11-03 03:56:56 -07:00
Saad Ali
fd80fd2e88 Fix typo in docs/devel/godep.md 2016-11-02 19:07:35 -07:00
derekwaynecarr
42289c2758 pod and qos level cgroup support 2016-11-02 08:07:04 -04:00
Chao Xu
4cf7adf937 remove release_1_4
remove archived federation clientsets
update README
2016-10-31 15:05:26 -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
Mike Danese
27116c6818 rename build/ to build-tools/ 2016-10-24 14:41:56 -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
Mike Danese
64ca9decae add some docs about building with bazel 2016-10-21 17:32:33 -07: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
xilabao
e5d2740c47 check_node_count falls out of use, clear from docs 2016-10-19 11:04:36 +08: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
Fabiano Franz
0fd5c8d797 Use our own normalizers in the conventions doc 2016-10-17 11:50:02 -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
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
Minhan Xia
47ccd15b1d add delete-namespace-on-failure flag 2016-10-03 17:14:51 -07:00
Brendan Burns
09e4276448 Add community expectations about conduct and reviewing. 2016-09-30 15:35:15 +00:00
mbohlool
35b5174bf1 Generate and verify openapi specs in source tree at api/openapi-spec 2016-09-29 17:03:31 -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
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
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
Joe Finney
3503c4f71a Make e2e.go give us JUnit results. 2016-09-22 18:40:53 -07:00
jayunit100
be2e1f5d96 viper hierarchies, cadvisor impl 2016-09-20 15:42:22 -04: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
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
Kubernetes Submit Queue
91aa443d2b Merge pull request #32423 from mml/buildcop
Automatic merge from submit-queue

clarify weekend responsibilities
2016-09-13 15:59:17 -07:00
Kubernetes Submit Queue
544e64a7fb Merge pull request #32315 from liggitt/api-group-suffix
Automatic merge from submit-queue

Doc API group suffix, add test to catch new groups

Spawned from discussion in https://github.com/kubernetes/kubernetes/pull/31887

Doc and add tests to ensure new API groups are suffixed.

Also changed the doc to reference an API group containing the suffix as a starting point for new API groups.
2016-09-13 02:42:45 -07:00
Kubernetes Submit Queue
523fa24659 Merge pull request #31102 from sttts/sttts-podclient-doc
Automatic merge from submit-queue

Add some docs about the missing node e2e scheduling
2016-09-12 18:26:49 -07:00
Kubernetes Submit Queue
54f24b02ea Merge pull request #31612 from jayunit100/patch-1
Automatic merge from submit-queue

Asciidoc for scheduler

Add more structure to the scheduler introduction.  This diagram should be easier to maintain as we add more features.
2016-09-12 12:50:09 -07:00
Kubernetes Submit Queue
8306fba9b0 Merge pull request #28469 from asalkeld/local-e2e
Automatic merge from submit-queue

Add detect-master to local provider to get e2e working

Make it possible to run some e2e tests using the local provider (./hack/local-up-cluster.sh)

This will now work for tests that don't need more than one node:
export  KUBERNETES_PROVIDER=local
go run hack/e2e.go -v -test --check_node_count=false --check_version_skew=false --test_args="--ginkgo.focus=Cadvisor"

Note: without this commit, the port and ip address are wrong and require the --host option (which is inconsistent with the other providers).
2016-09-11 05:44:47 -07:00
Kubernetes Submit Queue
da4f0ca6f4 Merge pull request #24629 from david-mcmahon/release-deprecation
Automatic merge from submit-queue

Deprecate release infrastructure and doc - moved to kubernetes/release

Part 2 of https://github.com/kubernetes/release/pull/1
This PR finalizes the split between the main kubernetes repo and the release tooling now under kubernetes/release.

ref #16529
2016-09-09 19:15:12 -07:00
David McMahon
4e07b43d70 Deprecate kubernetes/kubenetes release infrastructure and doc. 2016-09-09 17:51:20 -07:00
Matt Liggett
7ad362bb3c clarify weekend responsibilities 2016-09-09 15:56:54 -07:00
Jordan Liggitt
620cc66ead
Doc API group suffix, add test to catch new groups 2016-09-09 15:56:08 -04:00
Kubernetes Submit Queue
08b6eaff92 Merge pull request #30321 from fejta/check-resources
Automatic merge from submit-queue

Convert bool to error, helper func for cd to skew

Switch from various functions returning `False` when something bad happens to returning an `error`
Encapsulate logic to switch to the skew directory inside chdirSkew

Also add a TODO for using `hyphen-flags` instead of `underscore_flags`
2016-09-09 00:48:19 -07:00
jayunit100
20494401f8 Updated theoretical node commit, secondary improvement, separate commit 2016-09-07 12:15:12 -04:00
Kubernetes Submit Queue
2650047f65 Merge pull request #31259 from rombit-be/update-dev-doc
Automatic merge from submit-queue

Add go-bindata as development dependency

**What this PR does / why we need it**: 
Small update in the developer notes (a go dependency was missing, which I noticed when setting up my own development environment)

**Which issue this PR fixes**: 
Not applicable

**Special notes for your reviewer**:

**Release note**:
N/A

```release-note
```
2016-09-05 11:10:14 -07:00
David McMahon
385fb81407 Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
Kubernetes Submit Queue
e81b3fd340 Merge pull request #31900 from mikedanese/broken-link
Automatic merge from submit-queue

fix broken link to sytlye guide in docs/devel

shell with style!
2016-09-01 12:49:38 -07:00
Mike Danese
34d248d5ed fix broken link in docs 2016-09-01 11:24:46 -07:00
jay vyas
1b18b3b232 Ascii-gram for scheduler, more structured doc 2016-09-01 13:56:42 -04:00
Chao Xu
faef914087 update doc 2016-08-30 15:16:41 -07:00
Erick Fejta
fd15911910 Convert bool to error, helper func for cd to skew 2016-08-29 10:15:57 -07:00
Kubernetes Submit Queue
961ef2b51d Merge pull request #31470 from caesarxuchao/regenerate-release-1-4
Automatic merge from submit-queue

Fix missing expansion files in clientset release 1.4

<!--  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**:
Fix missing expansion files in clientset release 1.4;
Update the client-gen tool to automatically update generated_expansion.go;
Update the readme to document the best practice of using client-gen.

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

https://github.com/kubernetes/kubernetes/issues/29698#issuecomment-241315798


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

cc @lavalamp @krousey @mbohlool
2016-08-27 00:45:52 -07:00