Commit Graph

4785 Commits (50e438a3c1f184a2516fa1ad9344698642caa06f)

Author SHA1 Message Date
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
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
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
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
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
jayunit100 be2e1f5d96 viper hierarchies, cadvisor impl 2016-09-20 15:42:22 -04: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
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
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