Commit Graph

4767 Commits (c19e08ebbc2d58e5996e7e968c740e46054bd3ee)

Author SHA1 Message Date
Cindy Wang 3a28c09efb Snapshotting design doc
minor edits, changing prefix on annotations

update-munge-docs
2016-09-02 13:39:50 -07:00
Tim Hockin 4bd9ad7a8c Merge pull request #31864 from YuPengZTE/devEG
eg. should be e.g.
2016-09-01 23:17:21 -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
Jordan Liggitt a869de61bd
Namespace certificates API group 2016-09-01 14:39:06 -04: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
YuPengZTE bb8980a8ad eg. should be e.g. 2016-09-01 17:34:38 +08:00
YuPengZTE b367764167 The first letter is small 2016-09-01 17:23:21 +08:00
Kubernetes Submit Queue 3269849ded Merge pull request #31750 from caesarxuchao/minor-doc
Automatic merge from submit-queue

update doc to point to the client-go repo

cc @devin-donnelly @lavalamp
2016-08-31 17:52:59 -07:00
Matt Liggett 15899451a5 // update-all 2016-08-30 16:25:04 -07:00
Chao Xu faef914087 update doc 2016-08-30 15:16:41 -07:00
Kubernetes Submit Queue 3fd14d97fb Merge pull request #31229 from pigmej/typos_englishify_pkg_api
Automatic merge from submit-queue

Fix various typos in pkg/api

Just fixed some typos + "englishify" in pkg/api
2016-08-30 13:35:36 -07:00
Kubernetes Submit Queue be848f2adc Merge pull request #26863 from luxas/multi_platform
Automatic merge from submit-queue

Add a multi-platform proposal

This is a proposal for the work I've done with multiarch Kubernetes. I've worked quite a lot on it and now I've written it down so others may easily use and learn from it, while at the same time pointing out issues that we should fix in the future.

I would like to get this in before `v1.3`.

Feel free to comment on it if it's something that's unclear.

@david-mcmahon @ixdy @mikedanese @Pensu @davidopp @bgrant0607 @dlorenc @eparis @vishh @thockin @dchen1107 @lavalamp
2016-08-30 05:40:39 -07:00
Lucas Käldström b033b25f64 Add a multiarch proposal 2016-08-30 14:39:51 +03:00
Kubernetes Submit Queue 1b184f29d0 Merge pull request #29287 from caitong93/patch-2
Automatic merge from submit-queue

Fix a typo in resource-qos design doc
2016-08-29 12:15:31 -07:00
Erick Fejta fd15911910 Convert bool to error, helper func for cd to skew 2016-08-29 10:15:57 -07:00
Jedrzej Nowak f2d6302b5c added auto generated stuff 2016-08-29 11:31:16 +02: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
Kubernetes Submit Queue e24aff0711 Merge pull request #29821 from alexbrand/config-cluster
Automatic merge from submit-queue

Add get/delete cluster, delete context to kubectl config

Fixes #29794 by adding `get-clusters`, `delete-cluster` and `delete-context` actions to `kubectl config`.
2016-08-26 11:44:46 -07:00
Chao Xu 889b100e63 update readme 2016-08-26 10:55:22 -07:00
Eric Paris 6f90869996 Merge pull request #31452 from jeffmendoza/cleanup-docs-yamls
Removed non-md files from docs. Moved doc yamls to test/fixtures.
2016-08-26 12:17:12 -04:00
Jeff Mendoza 95b73058d2 Removed non-md files from docs. Moved doc yamls to test/fixtures.
Most of the contents of docs/ has moved to kubernetes.github.io.
Development of the docs and accompanying files has continued there, making
the copies in this repo stale. I've removed everything but the .md files
which remain to redirect old links. The .yaml config files in the docs
were used by some tests, these have been moved to test/fixtures/doc-yaml,
and can remain there to be used by tests or other purposes.
2016-08-25 15:09:27 -07:00
Jedrzej Nowak 13b33e04cc added auto generated stuff 2016-08-25 12:15:35 +02:00
Erick Fejta 1aea03e7a8 Moved runner to test-infra 2016-08-24 15:47:10 -07:00
Kubernetes Submit Queue bb16ac239a Merge pull request #31159 from Clarifai/ext-svc-ref-no-e2e
Automatic merge from submit-queue

Implement ExternalName in kube-dns

Part of the ongoing saga formerly known as https://github.com/kubernetes/features/issues/33

This is the prelude (first commit) in #30931, spawn into a separate PR to allow building a new kube-dns image before e2e tests (the rest of #30931) are updated.

ExternalName allows kubedns to return CNAME records for external
services. No proxying is involved.

cc @thockin
2016-08-24 05:37:58 -07:00
Kubernetes Submit Queue 3544f8a717 Merge pull request #29836 from rootfs/azuredd
Automatic merge from submit-queue

support Azure data disk volume

This is a WIP of supporting azure data disk volume. Will add test and dynamic provisioning support once #29006 is merged

replace #25915
fix #23259

@kubernetes/sig-storage 
@colemickens @brendandburns
2016-08-24 02:49:54 -07:00
Kubernetes Submit Queue 8ba1be314e Merge pull request #29785 from petemiron/patch-1
Automatic merge from submit-queue

Clarify documentation that new admission control plugin must be imported

```release-note
```

Admission control design doc doesn't mention importing the plugin to plugins.go. I was unable to get the plugin to build into my binary without it. Updated documentation to prevent future confusion.
2016-08-23 16:52:40 -07:00
Peter Miron f078f8df94 New plugin must be imported
Admission control design doc doesn't mention importing the plugin to plugins.go. I was unable to get the plugin to build into my binary without it.
2016-08-23 11:51:46 -04:00
Huamin Chen dea4b0226d support Azure data disk volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-08-23 13:23:07 +00:00
Bart Van Bos cfd9922d7c Add go-bindata as development dependency 2016-08-23 14:10:43 +02:00
jianhuiz 494129b089 add generated files 2016-08-22 23:00:23 -07:00
Rudi Chiarito b5464a970f Implement ExternalName in kube-dns 2016-08-23 00:55:47 -04:00
Kubernetes Submit Queue df22dd70b8 Merge pull request #31033 from mml/evict
Automatic merge from submit-queue

Implementation of the /eviction subresource.
2016-08-22 20:25:09 -07:00
Matt Liggett d82a5914da Re-run hack/update-all 2016-08-22 16:38:00 -07:00
Kubernetes Submit Queue 9de9405be7 Merge pull request #30765 from lixiaobing10051267/masterOrder
Automatic merge from submit-queue

Optimize order description for turning down cluster

Optimize order description for turning down cluster.
2016-08-22 15:27:03 -07:00
Kubernetes Submit Queue 4ac7972f73 Merge pull request #30968 from Crazykev/fix-t
Automatic merge from submit-queue

correct object in downward_api_resources_limits_requests
2016-08-22 15:26:58 -07:00
Dr. Stefan Schimanski 7a7e059ac6 Add some docs about the missing node e2e scheduling 2016-08-22 13:07:16 +02:00
Kubernetes Submit Queue 5b6e1c37c6 Merge pull request #29481 from kargakis/available-replicas-on-replica-sets
Automatic merge from submit-queue

Add readyReplicas to replica sets

@bgrant0607 for the api changes

@bprashanth for the controllers changes

@deads2k fyi
2016-08-21 19:44:50 -07:00
Kubernetes Submit Queue a956dd1c25 Merge pull request #25524 from AdoHe/kubectl_reorg
Automatic merge from submit-queue

update kubectl help output for better organization

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


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-08-21 09:08:56 -07:00
Michail Kargakis 46291d51df api: generated code for readyReplicas 2016-08-21 15:47:23 +02:00
Kubernetes Submit Queue 1de858290d Merge pull request #30914 from mikedanese/go-restful
Automatic merge from submit-queue

godeps: update go-restful

To pickup https://github.com/emicklei/go-restful/pull/311

@kubernetes/sig-api-machinery
2016-08-20 17:32:03 -07:00
Kubernetes Submit Queue 13c8be67a6 Merge pull request #31054 from tmrts/docs/gh-pr-warning
Automatic merge from submit-queue

docs/devel: document the behavior of github UI for PRs

Documents the problem encountered in #30596

cc @bgrant0607 @thockin @roberthbailey
2016-08-20 15:37:05 -07:00
Clayton Coleman abded5c6c5
generated: Docs 2016-08-20 15:56:53 -04:00
Tamer Tas 361b99bfdd docs/devel: document the behavior of github UI for PRs 2016-08-20 10:19:16 +03:00
Kubernetes Submit Queue c347f579a3 Merge pull request #31037 from mnshaw/gubernator-images
Automatic merge from submit-queue

Fix gubernator.md images links

Fixed image links
2016-08-19 21:42:04 -07:00
Kubernetes Submit Queue e9815020eb Merge pull request #30475 from derekwaynecarr/pod-cgroup
Automatic merge from submit-queue

Unblock iterative development on pod-level cgroups

In order to allow forward progress on this feature, it takes the commits from #28017 #29049 and then it globally disables the flag that allows these features to be exercised in the kubelet.  The flag can be re-added to the kubelet when its actually ready.

/cc @vishh @dubstack @kubernetes/rh-cluster-infra
2016-08-19 21:06:48 -07:00
Kubernetes Submit Queue 1aecaf2fb2 Merge pull request #30599 from Clarifai/ext-svc-ref
Automatic merge from submit-queue

Add Service type "ExternalName" which results in CNAME DNS

ExternalName allows kubedns to return CNAME records for external
services. No proxying is involved.

First step for https://github.com/kubernetes/features/issues/33

See original issue at
https://github.com/kubernetes/kubernetes/issues/13748

No release note yet, that will come with the kubedns change.

```release-note
NONE
```
2016-08-19 20:20:51 -07:00
AdoHe b411fe217f update kubectl help output for better organization 2016-08-20 08:03:39 +08:00
Marie Shaw 5abf51410e Fix images links 2016-08-19 16:38:25 -07:00
Erick Fejta 1e3bc1caa2 Delete deprecated dockerized-e2e-runner.sh 2016-08-19 15:38:52 -07:00
Kubernetes Submit Queue d40e2296b2 Merge pull request #30630 from silasbw/short-n0
Automatic merge from submit-queue

Add a short `-n` for `kubectl --namespace`

fixes #24078

 `--namespace` is a very common flag for nearly every `kubectl` command we have. We should claim `-n` for it.
2016-08-19 14:34:13 -07:00
Kubernetes Submit Queue 833e268eb9 Merge pull request #30840 from mnshaw/gubernator-doc
Automatic merge from submit-queue

Add gubernator.md file

Initial doc for Gubernator

@timstclair
2016-08-19 11:52:17 -07:00
Rudi Chiarito 88fdb96bfb Add ExternalName to ServiceSpec
ExternalName allows kubedns to return CNAME records for external
services. No proxying is involved.

See original issue at
https://github.com/kubernetes/kubernetes/issues/13748

Feature tracking at
https://github.com/kubernetes/features/issues/33
2016-08-19 11:30:57 -07:00
Marie Shaw f8d1e1ad24 Add gubernator.md and image files 2016-08-19 10:05:33 -07:00
Kubernetes Submit Queue ea805efa4f Merge pull request #30960 from xlgao-zju/fix-typo
Automatic merge from submit-queue

fix typo

```
fix typo
```

Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2016-08-19 09:29:35 -07:00
Kubernetes Submit Queue fd4b463e1a Merge pull request #30966 from Crazykev/fix-typo
Automatic merge from submit-queue

correct specifies in aws_under_the_hood
2016-08-19 09:29:22 -07:00
derekwaynecarr fde285cd8f Disable cgroups-per-qos flag until implementation is stabilized 2016-08-19 11:08:59 -04:00
Crazykev cb33128703 correct object in downward_api_resources_limits_requests
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
2016-08-19 13:53:24 +08:00
Crazykev 882325ddda correct specifies in aws_under_the_hood
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
2016-08-19 13:36:37 +08:00
Xianglin Gao 2dfe7a21a4 fix typo
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2016-08-19 10:46:52 +08:00
Mike Danese d086e9897f update autogenerated 2016-08-18 14:14:52 -07:00
Kubernetes Submit Queue ff9980e203 Merge pull request #30817 from rootfs/nodiskconflict-doc
Automatic merge from submit-queue

more explictly about NoDiskConflicts policy and applicable volume types

partially clarify #29670

@kubernetes/sig-scheduling
2016-08-18 11:47:24 -07:00
Kubernetes Submit Queue 70ead67325 Merge pull request #30758 from lixiaobing10051267/masterMyFeature
Automatic merge from submit-queue

Incorrect branch name for git push command in development.md

the branch name is "my-feature":

    ### Create a branch and make changes

    ```sh
    git checkout -b my-feature
2016-08-18 11:47:01 -07:00
Kubernetes Submit Queue dbc9063c17 Merge pull request #24977 from johscheuer/quobyte-plugin
Automatic merge from submit-queue

Quobyte Volume plugin

@quofelix and myself developed a volume plugin for [Quobyte](http://www.quobyte.com) which is a software-defined storage solution. This PR allows Kubernetes users to mount a Quobyte Volume inside their containers over Kubernetes.

Here are some further informations about [Quobyte and Storage for containers](http://www.quobyte.com/containers)
2016-08-18 11:46:37 -07:00
Kubernetes Submit Queue 9d2a5fe5e8 Merge pull request #29006 from jsafrane/dynprov2
Automatic merge from submit-queue

Implement dynamic provisioning (beta) of PersistentVolumes via StorageClass

Implemented according to PR #26908. There are several patches in this PR with one huge code regen inside.

* Please review the API changes (the first patch) carefully, sometimes I don't know what the code is doing...

* `PV.Spec.Class` and `PVC.Spec.Class` is not implemented, use annotation `volume.alpha.kubernetes.io/storage-class`

* See e2e test and integration test changes - Kubernetes won't provision a thing without explicit configuration of at least one `StorageClass` instance!

* Multiple provisioning volume plugins can coexist together, e.g. HostPath and AWS EBS. This is important for Gluster and RBD provisioners in #25026

* Contradicting the proposal, `claim.Selector` and `volume.alpha.kubernetes.io/storage-class` annotation are **not** mutually exclusive. They're both used for matching existing PVs. However, only `volume.alpha.kubernetes.io/storage-class` is used for provisioning, configuration of provisioning with `Selector` is left for (near) future.

* Documentation is missing. Can please someone write some while I am out?

For now, AWS volume plugin accepts classes with these parameters:

```
kind: StorageClass
metadata:
  name: slow
provisionerType: kubernetes.io/aws-ebs
provisionerParameters:
  type: io1
  zone: us-east-1d
  iopsPerGB: 10
```

* parameters are case-insensitive
* `type`: `io1`, `gp2`, `sc1`, `st1`. See AWS docs for details
* `iopsPerGB`: only for `io1` volumes. I/O operations per second per GiB. AWS volume plugin multiplies this with size of requested volume to compute IOPS of the volume and caps it at 20 000 IOPS (maximum supported by AWS, see AWS docs).
* of course, the plugin will use some defaults when a parameter is omitted in a `StorageClass` instance (`gp2` in the same zone as in 1.3).

GCE:

```
apiVersion: extensions/v1beta1
kind: StorageClass
metadata:
  name: slow
provisionerType: kubernetes.io/gce-pd
provisionerParameters:
  type: pd-standard
  zone: us-central1-a
```

* `type`: `pd-standard` or `pd-ssd`
* `zone`: GCE zone
* of course, the plugin will use some defaults when a parameter is omitted in a `StorageClass` instance (SSD in the same zone as in 1.3 ?).


No OpenStack/Cinder yet

@kubernetes/sig-storage
2016-08-18 09:56:16 -07:00
Kubernetes Submit Queue ff58d04a34 Merge pull request #30311 from derekwaynecarr/inode_eviction
Automatic merge from submit-queue

kubelet eviction on inode exhaustion

Add support for kubelet to monitor for inode exhaustion of either image or rootfs, and in response, attempt to reclaim node level resources and/or evict pods.
2016-08-18 09:17:06 -07:00
Johannes Scheuermann eed42380f9 Initial Quobyte support 2016-08-18 17:13:50 +02:00
Huamin Chen 33affa84e6 more explictly about NoDiskConflicts policy and applicable volume types
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-08-18 15:04:10 +00:00
Kubernetes Submit Queue 6824f4c08a Merge pull request #28936 from rata/secret-configmap-file-mode
Automatic merge from submit-queue

Allow setting permission mode bits on secrets, configmaps and downwardAPI files

cc @thockin @pmorie 

Here is the first round to implement: https://github.com/kubernetes/kubernetes/pull/28733.

I made two commits: one with the actual change and the other with the auto-generated code. I think it's easier to review this way, but let me know if you prefer in some other way.

I haven't written any tests yet, I wanted to have a first glance and not write them till this (and the API) are more close to the "LGTM" :)

There are some things:
 * I'm not sure where to do the "AND 0777". I'll try to look better in the code base, but suggestions are always welcome :)
 * The write permission on group and others is not set when you do an `ls -l` on the running container. It does work with write permissions to the owner. Debugging seems to show that is something happening after this is correctly set on creation. Will look closer.
 * The default permission (when the new fields are not specified) are the same that on kubernetes v1.3
 * I do realize there are conflicts with master, but I think this is good enough to have a look. The conflicts is with the autog-enerated code, so the actual code is actually the same (and it takes like ~30 minutes to generate it here)
 * I didn't generate the docs (`generated-docs` and `generated-swagger-docs` from `hack/update-all.sh`) because my machine runs out of mem. So that's why it isn't in this first PR, will try to investigate and see why it happens.

Other than that, this works fine here with some silly scripts I did to create a secret&configmap&downwardAPI, a pod and check the file permissions. Tested the "defaultMode" and "mode" for all. But of course, will write tests once this is looking fine :)


Thanks a lot again!
Rodrigo
2016-08-18 05:59:48 -07:00
Jan Safranek f6fb99b2fd Provisioning documentation updates 2016-08-18 10:36:50 +02:00
Kubernetes Submit Queue 60b7f14500 Merge pull request #30511 from danwinship/network-policy-docs
Automatic merge from submit-queue

Remove incorrect docs about unset fields in NetworkPolicyPeer

While hammering out the semantics of not-present vs present-but-empty, we appear to have added incorrect clarifications to NetworkPolicyPeer, where the semantics of PodSelector not being present is supposed to be "do what NamespaceSelector" says, not "select no pods", and likewise with NamespaceSelector not being present.

I think it's clearest if we just don't say anything, since we already said "Exactly one of the following must be specified" above. Alternatively we could be redundant and say "(If not provided, then NamespaceSelector must be set.)" or something like that.

@caseydavenport @thockin
2016-08-17 23:24:49 -07:00
derekwaynecarr 52b4e8721b Document known issue for kubelet inode exhaustion 2016-08-17 16:57:44 -04:00
Tim Hockin 7b762fb34b Merge pull request #30623 from lixiaobing10051267/masterEtcd3
fix wrong path for all registries
2016-08-17 13:01:17 -07:00
Rodrigo Campos 4e9a14a64f Update generated code 2016-08-17 14:44:42 -04:00
Kubernetes Submit Queue 811fd94ead Merge pull request #30262 from Crazykev/fix-typo
Automatic merge from submit-queue

typo: correct spelling
2016-08-17 10:43:10 -07:00
Kubernetes Submit Queue 86c83ccd00 Merge pull request #28696 from erictune/cpu
Automatic merge from submit-queue

Use k8s.io docs for memory/cpu request/limit
2016-08-17 09:59:42 -07:00
Timothy St. Clair 730fc70107 Update etcd default ports for v3, and validate tests 2016-08-17 07:49:19 -05:00
Eric Tune faad0cec15 Use k8s.io docs for memory/cpu request/limit 2016-08-17 02:58:44 -07:00
lixiaobing10051267 199b41d5cd Optimize order description for turning down cluster 2016-08-17 17:43:05 +08:00
lixiaobing10051267 283e29d6db Incorrect branch name for git push command in development 2016-08-17 16:49:48 +08:00
Crazykev a610ffd71a typo: correct spell
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
2016-08-17 14:17:01 +08:00
Kubernetes Submit Queue 361dd00ea6 Merge pull request #29945 from mikebrow/split-out-godeps-doc
Automatic merge from submit-queue

re-organize development.md 

Addresses issue #13876; reorganizes and cleans up parts of development.md; splits out the godep section for managing `vendor/` tree dependencies into a new godep.md file.

```release-note
The developer guide has been reorganized to facilitate the majority of new developers working on Kubernetes.
```

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2016-08-16 19:51:26 -07:00
Kubernetes Submit Queue 1b0bc9421f Merge pull request #30301 from girishkalele/endpoint_hostnames
Automatic merge from submit-queue

Add NodeName to EndpointAddress object

Adding a new string type `nodeName` to api.EndpointAddress.
We could also do  *ObjectReference to the api.Node object instead, which would be more precise for the future.

```
type ObjectReference struct {
    Kind            string    `json:"kind,omitempty"`
    Namespace       string    `json:"namespace,omitempty"`
    Name            string    `json:"name,omitempty"`
    UID             types.UID `json:"uid,omitempty"`
    APIVersion      string    `json:"apiVersion,omitempty"`
    ResourceVersion string    `json:"resourceVersion,omitempty"`

    // Optional. If referring to a piece of an object instead of an entire object, this string
    // should contain information to identify the sub-object. For example, if the object
    // reference is to a container within a pod, this would take on a value like:
    // "spec.containers{name}" (where "name" refers to the name of the container that triggered
    // the event) or if no container name is specified "spec.containers[2]" (container with
    // index 2 in this pod). This syntax is chosen only to have some well-defined way of
    // referencing a part of an object.
    // TODO: this design is not final and this field is subject to change in the future.
    FieldPath string `json:"fieldPath,omitempty"`
}
```
2016-08-16 13:11:10 -07:00
Silas Boyd-Wickizer 39a9ec3a4f Add a short `-n` for `kubectl`'s `--namespace`
fixes #24078

--namespace is a very common flag for nearly every kubectl command we have.
We should claim -n for it.
2016-08-16 08:32:47 -07:00
Girish Kalele 521b746b50 Update API reference docs 2016-08-15 20:53:14 -07:00
Kubernetes Submit Queue 7a3d5159cf Merge pull request #30639 from czahedi/patch-1
Automatic merge from submit-queue

Updated Google Groups link

<!--  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 is a small change to the markdown on a Troubleshooting document redirecting from a deprecated Google group to the accurate, active group. 

**Special notes for your reviewer**:

**Release note**:

```NONE
```

What was google-containers@googlegroups.com is now kubernetes-users@googlegroups.com. Links were updated in the troubleshooting document.
2016-08-15 15:05:09 -07:00
Kubernetes Submit Queue fa6bd4b832 Merge pull request #30343 from Crazykev/fix-spelling
Automatic merge from submit-queue

fix a typo in nodeaffinity
2016-08-15 13:10:18 -07:00
czahedi 9f4e2694d0 Updated Google Groups link
What was google-containers@googlegroups.com is now kubernetes-users@googlegroups.com. Links were updated in the troubleshooting document.
2016-08-15 11:42:18 -07:00
lixiaobing10051267 3e6636502c fix wrong path for all registries 2016-08-15 22:23:39 +08:00
lixiaobing10051267 57797b8750 fix wrong path for all registries 2016-08-15 17:28:38 +08:00
Kubernetes Submit Queue 573ad7ac61 Merge pull request #29350 from ericchiang/kubectl-login-proposal
Automatic merge from submit-queue

docs/proposal: add proposal for kubectl login

This PR updates https://github.com/kubernetes/features/issues/32 and https://github.com/kubernetes/kubernetes/pull/25758 by adding a proposal for a "kubectl login" command.

It's a bit more involved than the implementation discussed with @deads2k in #25758, by proposing a long term goal for the overall subcommand.

cc @kubernetes/sig-auth @kubernetes/kubectl
2016-08-13 21:24:18 -07:00
Kubernetes Submit Queue 5a34aa4738 Merge pull request #30494 from silasbw/node-lib0
Automatic merge from submit-queue

Add Node.js `kubernetes-client` to client-libraries.md
2016-08-12 12:08:07 -07:00
Kubernetes Submit Queue c0a5c32ead Merge pull request #30426 from ZJU-SEL/fix-mistakes-in-api-changes
Automatic merge from submit-queue

fix mistakes in api_changes.md

<!--
Checklist for submitting a Pull Request

Please remove this comment block before submitting.

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
3. If you want this PR to automatically close an issue when it is merged,
   add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
   to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests).
4. 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
fix mistakes in api_changes.md
```

Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30426)
<!-- Reviewable:end -->
2016-08-12 09:40:20 -07:00
Dan Winship c3f4f85889 Remove incorrect docs about unset fields in NetworkPolicyPeer 2016-08-12 11:26:07 -04:00
Kubernetes Submit Queue 9c3d539313 Merge pull request #28844 from mksalawa/kubectltop
Automatic merge from submit-queue

Implement 'kubectl top' command

```release-note
Added 'kubectl top' command showing the resource usage metrics.
```

Sample output:

Nodes:
```
$ kubectl top node

NAME                           CPU       MEMORY    STORAGE   TIMESTAMP                         
kubernetes-minion-group-xxxx   76m       1468 Mi   0 Mi      Tue, 12 Jul 2016 17:37:00 +0200   
kubernetes-minion-group-yyyy   73m       1511 Mi   0 Mi      Tue, 12 Jul 2016 17:37:00 +0200   
kubernetes-minion-group-zzzz   46m       1506 Mi   0 Mi      Tue, 12 Jul 2016 17:37:00 +0200   
kubernetes-master              76m       2059 Mi   0 Mi      Tue, 12 Jul 2016 17:37:00 +0200   
```

Pods in all namespaces:
```
$ kubectl top pod --all-namespaces

NAMESPACE     NAME                                                 CPU       MEMORY    STORAGE   TIMESTAMP                         
default       nginx-1111111111-zzzzz                               0m        1 Mi      0 Mi      Tue, 12 Jul 2016 17:49:00 +0200   
kube-system   etcd-server-kubernetes-master                        4m        116 Mi    0 Mi      Tue, 12 Jul 2016 17:49:00 +0200   
kube-system   fluentd-cloud-logging-kubernetes-minion-group-xxxx   14m       110 Mi    0 Mi      Tue, 12 Jul 2016 17:49:00 +0200   
kube-system   kube-dns-v18-zzzzz                                   1m        6 Mi      0 Mi      Tue, 12 Jul 2016 17:49:00 +0200   
...
```

Pod with containers:
```
$ kubectl top pod heapster-v1.1.0-1111111111-miail --namespace=kube-system --containers

NAMESPACE     NAME                               CPU       MEMORY    STORAGE   TIMESTAMP                         
kube-system   heapster-v1.1.0-1111111111-miail   1m        42 Mi     0 Mi      Tue, 12 Jul 2016 17:52:00 +0200   
              heapster                           1m        26 Mi     0 Mi                                        
              eventer                            0m        3 Mi      0 Mi                                        
              heapster-nanny                     0m        6 Mi      0 Mi                                        
              eventer-nanny                      0m        6 Mi      0 Mi                                        
```

ref #11382

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/28844)
<!-- Reviewable:end -->
2016-08-12 06:50:43 -07:00
Kubernetes Submit Queue c4c930b413 Merge pull request #30005 from dchen1107/api
Automatic merge from submit-queue

Marked NodePhase deprecated.

cc/ @lavalamp 

Even Kubernetes stops set NodePhase for a while, the user might patch NodeStatus with NodePhase. Marked the field deprecated and documented first. 

xref: https://github.com/kubernetes/kubernetes.github.io/pull/549

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30005)
<!-- Reviewable:end -->
2016-08-12 01:11:12 -07:00
Silas Boyd-Wickizer 8657bdafcf Add Node.js `kubernetes-client` to client-libraries.md 2016-08-11 22:29:20 -07:00
Kubernetes Submit Queue 7b08990452 Merge pull request #29609 from lixiaobing10051267/masterHtmlToMd
Automatic merge from submit-queue

HyperLink not found and can't redirect

HyperLink "http://kubernetes.io/v1.1/docs/design/expansion.html" not found and can't redirected, should be changed to "http://kubernetes.io/kubernetes/v1.1/docs/design/expansion.html"

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29609)
<!-- Reviewable:end -->
2016-08-11 17:05:15 -07:00
Kubernetes Submit Queue f5eacee9dd Merge pull request #29431 from AdoHe/third_party_doc
Automatic merge from submit-queue

doc third party resource usage more cleanly

fix #29002 

release-note-none

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29431)
<!-- Reviewable:end -->
2016-08-11 11:44:37 -07:00