Commit Graph

4588 Commits (3b1407af70ac54c925fe5abb060e83d625d77b88)

Author SHA1 Message Date
Eric Tune 6f0bc85205 Merge pull request #27129 from erictune/imgprov
Added image-policy proposal
2016-08-05 15:13:58 -07:00
Kubernetes Submit Queue 730d96a3ec Merge pull request #30059 from kubernetes/docs/devel-testing
Automatic merge from submit-queue

Detail unit testing workflow
2016-08-05 13:18:49 -07:00
Eric Tune 9d59ae547f Added image-provenance proposal 2016-08-05 12:50:37 -07:00
Kubernetes Submit Queue 13f376c9af Merge pull request #30155 from euank/clarify-container-lifecycle
Automatic merge from submit-queue

docs: Detail possible transitions in CRI

Right now the document doesn't make it clear that transitions are unidirectional and a exited container won't be restarted, but replaced by a fresh copy.

cc @yujuhong @feiskyer @kubernetes/sig-node
2016-08-05 12:41:31 -07:00
Euan Kemp bad07dd06f docs: Detail possible transitions in CRI 2016-08-05 11:22:28 -07:00
Kubernetes Submit Queue 807241b84f Merge pull request #25707 from dims/fix-issue-14071
Automatic merge from submit-queue

Fix Incorrect response model for pods/{name}/log

The swagger spec for pods/{name}/log does not include
"text/plain" as a possible content-type for the the response.
So we implement ProducesMIMETypes to make sure "text/plain"
gets added to the default list ot content-types.

the v1.json was generated by running:
hack/update-generated-swagger-docs.sh;./hack/update-swagger-spec.sh;
2016-08-05 11:06:44 -07:00
Kubernetes Submit Queue d8d9c6c423 Merge pull request #29583 from dubstack/implementation_status
Automatic merge from submit-queue

Update the Pod Resource Management Proposal with Implementation status

This is tied to the upstream issue #27204 for adding pod level cgroups into Kubernetes.

@vishh @derekwaynecarr @Random-Liu  PTAL.
2016-08-05 08:06:47 -07:00
Davanum Srinivas e7a46a7c81 Fix Incorrect response model for pods/{name}/log
The swagger spec for pods/{name}/log does not include
"text/plain" as a possible content-type for the the response.
So we implement ProducesMIMETypes to make sure "text/plain"
gets added to the default list ot content-types.

the v1.json was generated by running:
hack/update-generated-swagger-docs.sh;./hack/update-swagger-spec.sh;

Fixes #14071
2016-08-05 08:54:14 -04:00
Tamer Tas d7499781e1 Detail unit testing workflow
Include the information about testing that is found in `Makefile` comments of the testing targets
2016-08-05 11:27:12 +03:00
Kubernetes Submit Queue 2e179cc0f7 Merge pull request #30035 from pwittrock/move-local-setup-docs
Automatic merge from submit-queue

Clean up items from moving local cluster setup guides
2016-08-04 21:56:14 -07:00
Buddha Prakash 6880f448a1 Add implementation status 2016-08-04 15:14:53 -07:00
Kubernetes Submit Queue c24cf99fa6 Merge pull request #30055 from lixiaobing10051267/masterClonePath
Automatic merge from submit-queue

Replace with explicit kubernetes fork path

At other place in development.md, explicit kubernetes fork path has been existed:

    mkdir -p $GOPATH/src/k8s.io
    cd $GOPATH/src/k8s.io
    # Replace "$YOUR_GITHUB_USERNAME" below with your github username
    git clone https://github.com/$YOUR_GITHUB_USERNAME/kubernetes.git

the following is easy to be confused and can be replaced with same description:

    git clone https://path/to/your/fork .
2016-08-04 11:23:58 -07:00
Kubernetes Submit Queue 20444ac84d Merge pull request #30057 from kubernetes/docs/devel-readme
Automatic merge from submit-queue

Improve developer README
2016-08-04 08:25:52 -07:00
Eric Tune 87cba77e34 ScheduledJob: proposal updates 2016-08-04 07:29:06 -07:00
lixiaobing10051267 fdd9ced105 Replace with explicit kubernetes fork path 2016-08-04 17:01:49 +08:00
Tamer Tas 7f97c7c615 Improve Developer README 2016-08-04 11:13:26 +03:00
Kubernetes Submit Queue 40b1e20efd Merge pull request #29980 from lixiaobing10051267/masterAnd
Automatic merge from submit-queue

Modify some detail information in contributing workflow

"Compare and pull request" is "Compare & pull request" actually.
2016-08-03 22:01:41 -07:00
Kubernetes Submit Queue a293ece447 Merge pull request #29951 from hongchaodeng/doc2
Automatic merge from submit-queue

automation.md: update lgtm point

ref: https://github.com/kubernetes/contrib/pull/1428#issuecomment-237025536
2016-08-03 21:22:20 -07:00
lixiaobing10051267 932feacedd Modify some detail information in contributing workflow 2016-08-04 10:21:25 +08:00
Phillip Wittrock 5546dfd3dc Clean up items from moving local cluster setup guides 2016-08-03 16:35:09 -07:00
Kubernetes Submit Queue 4c58a4f20c Merge pull request #29962 from pwittrock/move-local-setup-docs
Automatic merge from submit-queue

Move non-Minikube local cluster guides from docs repo to kubernetes d…

Move the local cluster docs out of the docs repo.  Keeping them around since they may be used by some folks for development.
2016-08-03 13:43:42 -07:00
Hongchao Deng 31f02bea40 automation.md: update lgtm point 2016-08-03 12:09:56 -07:00
Phillip Wittrock e3c2aebd8a Move non-Minikube local cluster guides from docs repo to kubernetes development repo. 2016-08-03 11:42:27 -07:00
Kubernetes Submit Queue 2ae16a2e60 Merge pull request #29949 from hongchaodeng/doc
Automatic merge from submit-queue

automation.md: fix typos
2016-08-03 08:46:58 -07:00
Kubernetes Submit Queue 52559696e9 Merge pull request #29879 from timstclair/aa-design
Automatic merge from submit-queue

Update the AppArmor design proposal

3 modifications to the original AppArmor design proposal:

1. Remove the pod-level AppArmor profile specification, since it was unnecessary complexity. I think the typical multi-container case is a main app, some side-cars (e.g. log helpers), and maybe some init containers. All of those containers are likely to have very different permissions needs, so I do not see benefit to the pod-level profile. If there is sufficient demand (i.e. user feedback) for this feature we can add it back.
2. Added a proposal for the beta (and GA) API. Beginning the discussion of this API now will smooth the transition from alpha, and guide the implementation of the internal API.
3. [EDIT] The profile deployment pod will poll the source directories for changes. This change is motivated by the fact that DaemonSets must run with RestartAlways.

/cc @bgrant0607 @erictune @pmorie @pweil-
2016-08-02 23:36:35 -07:00
Kubernetes Submit Queue d3f36756d5 Merge pull request #29601 from caesarxuchao/check-list
Automatic merge from submit-queue

Validate list objects when building scheme

The first commit is #29468. This PR is a followup.

Modified the description of **List** in api-convention.md to:
`The name of a list kind must end with "List". Lists have a limited set of common metadata. All lists use the required "items" field to contain the array of objects they return. Any kind that has the "items" field must be a list kind.`

Also added code to enforce the above rules during scheme registration.

@kubernetes/sig-api-machinery @bgrant0607 @erictune @lavalamp @smarterclayton
2016-08-02 22:53:40 -07:00
Kubernetes Submit Queue a3f7797019 Merge pull request #28902 from ibm-contribs/fix_allow_all
Automatic merge from submit-queue

Fix the allow-all example NetworkPolicy

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

This is a bug fix, no release note required.

Fixes #28795
2016-08-02 16:24:12 -07:00
Chao Xu 81858d755e add validateListType to pkg/api/meta/schema_test.go 2016-08-02 15:47:24 -07:00
Hongchao Deng c9e0271b9d automation.md: fix typos 2016-08-02 15:13:47 -07:00
Daniel Smith b712bfd7ac Revert "Extend all to more resources" 2016-08-01 21:51:57 -07:00
k8s-merge-robot ca6137d46f Merge pull request #29859 from jingxu97/testdoc-7-28-1
Automatic merge from submit-queue

Add instructions for running version-skewed tests


Add instructions for running version-skewed tests
2016-08-01 18:41:22 -07:00
Tim St. Clair c3cba4932c
Update deploying-profiles section: watch for changes 2016-08-01 14:31:07 -07:00
Tim St. Clair 99d05d1a3b
Add AppArmor Beta API proposal 2016-08-01 13:54:34 -07:00
Tim St. Clair b6bdce155f
Remove pod-level profile specification 2016-08-01 13:54:33 -07:00
k8s-merge-robot 95b4572e7c Merge pull request #28955 from dims/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

Note, did not add events as it did not seem useful to me. Since
this is just a list of messages generated by the system.

Related to a suggestion in issue #22337
2016-08-01 10:07:01 -07:00
Jing Xu 9fb159166d Add instructions for running version-skewed tests
Add instructions for running version-skewed tests
2016-08-01 10:04:48 -07:00
Phillip Wittrock 439aab7d7b Merge pull request #23818 from errordeveloper/master
coreos/azure: Move into a separate repo
2016-08-01 09:02:31 -07:00
Wojciech Tyczynski 37a52b8fff Merge pull request #27417 from Pensu/master
Fixing resourcequota link
2016-07-31 17:34:18 +02:00
Ilya Dmitrichenko 712c1e2123 coreos/azure: Move into a separate repo 2016-07-30 12:56:46 +01:00
k8s-merge-robot 5ab082dc14 Merge pull request #25432 from caesarxuchao/update-api-generator-definition-path
Automatic merge from submit-queue

change the relative links to definition in operations.html

...to satisfy the new directory layout in the kubernetes.io.

This will make the manual changes in https://github.com/kubernetes/kubernetes.github.io/pull/369 persist.

I still need to bump up the gcr.io/google_containers/gen-swagger-docs image version. I'll do that after I get LGTM here.

cc @bgrant0607 @xiangpengzhao
2016-07-29 19:15:44 -07:00
k8s-merge-robot fe3dda1aeb Merge pull request #29092 from Random-Liu/make-node-e2e-parallel
Automatic merge from submit-queue

Node E2E: Make node e2e parallel

For https://github.com/kubernetes/kubernetes/issues/29081.
Fix https://github.com/kubernetes/kubernetes/issues/26215.
Based on https://github.com/kubernetes/kubernetes/pull/28807, https://github.com/kubernetes/kubernetes/pull/29020, will rebase after they are merged.

**Only the last commit is new.**

We are going to move more tests into the node e2e test. However, currently node e2e test only run sequentially, the test duration will increase quickly when we add more test.

This PR makes the node e2e test run in parallel so as to shorten test duration, so that we can add more test to improve the test coverage.

* If you run the test locally with `make test-e2e-node`, it will use `-p` ginkgo flag, which uses `(cores-1)` parallel test nodes by default.
* If you run the test remotely or in the Jenkin, the parallelism will be controlled by the environment variable `PARALLELISM`. The default value is `8`, which is reasonable for our test node (n1-standard-1).

Before this PR, it took  **833.592s** to run all test on my desktop.
With this PR, it only takes **234.058s** to run.

The pull request node e2e run with this PR takes **232.327s**.
The pull request node e2e run for other PRs takes **673.810s**.

/cc @kubernetes/sig-node
2016-07-29 18:38:29 -07:00
Random-Liu 9d48c76361 Make the node e2e test run in parallel. 2016-07-29 16:40:59 -07:00
Chao Xu f79e28c1aa change the relative links to definition in operations.html to satisfy the new path set in the kubernetes.io 2016-07-29 13:29:34 -07:00
k8s-merge-robot 7abc3de621 Merge pull request #29694 from jsafrane/dynprov2-apionly
Automatic merge from submit-queue

Add API for StorageClasses

This is the API objects only required for dynamic provisioning picked apart from the controller logic.

Entire feature is here: https://github.com/kubernetes/kubernetes/pull/29006
2016-07-28 22:00:05 -07:00
k8s-merge-robot 821ff657f9 Merge pull request #27199 from derekwaynecarr/disk_eviction
Automatic merge from submit-queue

Initial support for pod eviction based on disk

This PR adds the following:

1. node reports disk pressure condition based on configured thresholds
1. scheduler does not place pods on nodes reporting disk pressure
1. kubelet will not admit any pod when it reports disk pressure
1. kubelet ranks pods for eviction when low on disk
1. kubelet evicts greediest pod

Follow-on PRs will need to handle:

1. integrate with new image gc PR (https://github.com/kubernetes/kubernetes/pull/27199)
1. container gc policy should always run (will not be launched from eviction, tbd who does that)
  1. this means kill pod is fine for all eviction code paths since container gc will remove dead container
1. min reclaim support will just poll summary provider (derek will do follow-on)
1. need to know if imagefs is same device as rootfs from summary (derek follow-on)

/cc @vishh @kubernetes/sig-node
2016-07-28 20:18:54 -07:00
k8s-merge-robot 306678f941 Merge pull request #29468 from caesarxuchao/no-omitempty-listitems
Automatic merge from submit-queue

remove the omitempty tag from CertificateSigningRequestList.Items

As a general rule, `Items` should be a required field in all lists. In a followup PR, I'll update the api-convention.md and add a check in the schema registration path to enforce the rule. I need to fix this bug to unblock other work.

@kubernetes/api-review-team cc @bgrant0607-cc
2016-07-28 18:33:11 -07:00
childsb f5bd7d471e API Changes for StorageClass 2016-07-28 19:01:01 -04:00
derekwaynecarr 9604b47c13 Scheduler does not place pods on nodes that have disk pressure 2016-07-28 16:01:38 -04:00
k8s-merge-robot d82e404a00 Merge pull request #28351 from sttts/sttts-kubectl-create-quota
Automatic merge from submit-queue

Add support for kubectl create quota command

Follow-up of https://github.com/kubernetes/kubernetes/pull/19625

```
Create a resourcequota with the specified name, hard limits and optional scopes

Usage:
  kubectl create quota NAME [--hard=key1=value1,key2=value2] [--scopes=Scope1,Scope2] [--dry-run=bool] [flags]

Aliases:
  quota, q


Examples:
  // Create a new resourcequota named my-quota
  $ kubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3,replicationcontrollers=2,resourcequotas=1,secrets=5,persistentvolumeclaims=10

  // Create a new resourcequota named best-effort
  $ kubectl create quota best-effort --hard=pods=100 --scopes=BestEffort
```
2016-07-26 21:20:04 -07:00
k8s-merge-robot a78c8e1635 Merge pull request #29602 from lixiaobing10051267/masterWebsite
Automatic merge from submit-queue

Redirect the website to new location in gpu-support.md

The website has been changed, should be redirected to new one.
2016-07-26 15:34:18 -07:00