Commit Graph

33707 Commits (2bc5414de6cc0cc06a6fced810e6ba9301f95618)

Author SHA1 Message Date
Marcin Wielgus 378a49613f Enable federated namespace controller 2016-08-16 21:05:50 +02:00
Marcin Wielgus b2c192bcc9 Federated Namespace Controller test 2016-08-16 21:05:50 +02:00
Marcin Wielgus e428ffe879 Federated namespace controller 2016-08-16 21:05:50 +02:00
Erick Fejta 40078b9fb2 Create a kubekins-e2e image with runner and dependencies 2016-08-16 12:05:09 -07:00
Kubernetes Submit Queue 73de6f40fa Merge pull request #30685 from gmarek/leak
Automatic merge from submit-queue

Fix resource leak check in case of run that cleans up after failed one

@fejta

Broken by #28575
2016-08-16 11:47:50 -07:00
Kubernetes Submit Queue 5c1d7a7d99 Merge pull request #30641 from Random-Liu/fix-liveness-check-flake
Automatic merge from submit-queue

Add back the original liveness check timeout.

Fixes https://github.com/kubernetes/kubernetes/issues/30342.
Fixes https://github.com/kubernetes/kubernetes/issues/30335.

When I moved the test into common directory, I removed the original 10s timeout - 0362789283 (diff-0f856ff011970dca55a2cd916b9ddcf0L1128).

It turns out that the default 1s timeout is not enough. In all the flake, the probe request is cancelled on the kubelet side. This PR added back a 5s timeout to eliminate the flake.

Mark P0 to match the corresponding issue.

@freehan 
/cc @matchstick :)
2016-08-16 11:47:39 -07:00
Avesh Agarwal 52a60fe3be Fix default resource limits (node capacities) for downward api volumes 2016-08-16 14:41:17 -04:00
Kubernetes Submit Queue f236df504a Merge pull request #30679 from mwielgus/ca-0.3.0-b1
Automatic merge from submit-queue

Bump cluster autoscaler to 0.3.0-beta1

cc: @piosz @fgrzadkowski @jszczepkowski
2016-08-16 11:11:37 -07:00
Kubernetes Submit Queue ce78648fe5 Merge pull request #30648 from hongchaodeng/cleanup
Automatic merge from submit-queue

pkg/storage: cleanup unused Config

The entry has been moved to [pkg/storage/storagebackend/factory.Create()](https://github.com/kubernetes/kubernetes/blob/master/pkg/storage/storagebackend/factory/factory.go#L27)
2016-08-16 11:11:27 -07:00
Kubernetes Submit Queue eaea0c3e79 Merge pull request #30595 from kubernetes/cluster-gke/reword
Automatic merge from submit-queue

cluster/gke: reword package docs

Rewords the package docs and removes the confusing dot trailing the file name
2016-08-16 11:11:16 -07:00
Kubernetes Submit Queue ce302c0c55 Merge pull request #30509 from mwielgus/set-client
Automatic merge from submit-queue

SetClientFactory in FederatedInformer

For unit tests.

cc: @quinton-hoole @wojtek-t @kubernetes/sig-cluster-federation
2016-08-16 11:10:58 -07:00
Kubernetes Submit Queue 11cfbe6223 Merge pull request #30221 from harryge00/typo-in-fluentd-elasticsearch-addons
Automatic merge from submit-queue

fix typo

Maybe a typo.
2016-08-16 11:10:47 -07:00
gmarek 5e421cc447 Fix resource leak check in case of run that cleans up after failed one 2016-08-16 17:14:30 +02:00
Wojciech Tyczynski 992f023f3c Check resource leaks only when needed 2016-08-16 16:12:46 +02:00
Marcin Wielgus bbfd7c2023 Bump cluster autoscaler to 0.3.0-beta1 2016-08-16 15:34:08 +02:00
Kubernetes Submit Queue 5962874414 Merge pull request #30118 from timstclair/aa-hookup
Automatic merge from submit-queue

Implement AppArmor Kubelet support

Includes PR https://github.com/kubernetes/kubernetes/pull/29812

Implements the Kubelet logic for AppArmor based on the alpha API proposed [here](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/apparmor.md). Also adds an E2E test, and I ran manual tests.

Remaining work: PodSecurityPolicy support, profile loader daemon, documentation, (maybe) beta API.

/cc @jfrazelle @Amey-D @kubernetes/sig-node 

*Note on release-note-none: I am implementing AppArmor over multiple PRs. I will submit a single release note once the implementation is done to cover all of them.*
2016-08-15 22:32:58 -07:00
Kubernetes Submit Queue c24c1eedf2 Merge pull request #29981 from ping035627/ping035627-patch-0803
Automatic merge from submit-queue

Implement restful for InstallLogsSupport

The PR implement restful for InstallLogsSupport in apiserver.go.
2016-08-15 21:51:35 -07:00
Chao Xu a12dc2e412 wait for the Reflector to list before polling the PodStore in e2e tests. 2016-08-15 21:40:33 -07:00
Kubernetes Submit Queue 9c769c5dbe Merge pull request #29437 from AdoHe/event_node_uid
Automatic merge from submit-queue

fix node controller event uid issue

Fix #29289. @smarterclayton ptal. This is not a very elegant fix, if we can use nodeName in log maybe we can set timedValue.Value to node.UID.
2016-08-15 21:13:43 -07:00
nikhiljindal 217d2f57e9 Fixing the error in registering /v1 api 2016-08-15 21:11:32 -07:00
Girish Kalele e105525b33 Fix endpoints_controller unit tests 2016-08-15 21:01:21 -07:00
Girish Kalele 521b746b50 Update API reference docs 2016-08-15 20:53:14 -07:00
Hongchao Deng a607a69f4a pkg/storage: cleanup Codec() from interface 2016-08-15 20:46:13 -07:00
Kubernetes Submit Queue 096dd4df50 Merge pull request #26510 from AdoHe/patch_test
Automatic merge from submit-queue

update strategic patch test for merge list of maps

Refer #26418 for more details. @janetkuo the test case is added, ptal.
2016-08-15 20:38:22 -07:00
Kubernetes Submit Queue c5ab95cd79 Merge pull request #30661 from saad-ali/safeDeviceUnmount
Automatic merge from submit-queue

Prevent device unmount from deleting dir on failed unmount

This PR cleans up the device unmount code for attachable volumes. Specifically it:
* Prevents deletion of directory via `os.Remove` unless unmount succeeds.
* Moves common shared device unmount logic to a common util file.
2016-08-15 20:02:30 -07:00
PingWang d902fd6cad correct the url in comment
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

optimise the style

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update err define

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-08-16 10:41:12 +08:00
PingWang bc3b74a499 Add validation conditions for autoscale
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

delete --min judgment

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-08-16 09:41:28 +08:00
PingWang 8760ae697e implement restful for InstallLogsSupport
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

add ws.doc

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

run hack/update-swagger-spec.sh

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update update-swagger-spec.sh

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update apiserver_test.go

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update comment

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-08-16 09:09:02 +08:00
Minhan Xia 643fc3803b add firewall chain to filter request based on loadbalancer source range 2016-08-15 17:42:41 -07:00
Minhan Xia 3bf8679232 add syncNetworkUtil in kubelet 2016-08-15 17:42:35 -07:00
Pengfei Ni 12d7c4f380 Fix mount for osx 2016-08-16 08:26:15 +08:00
Girish Kalele 36180a930b Generated code 2016-08-15 17:24:01 -07:00
saadali e73c516366 Prevent device unmount from deleting dir on err
Prevent device unmount from deleting dir unless volume is successfully
unmounted first.
2016-08-15 16:58:31 -07:00
Kubernetes Submit Queue 431e7ce1ab Merge pull request #30166 from mikedanese/csr-print
Automatic merge from submit-queue

add a certificate signing request resource printer in kubectl

#30163
2016-08-15 16:02:24 -07:00
vefimova f20c40ed65 Added warning msg for `kubectl get`
- added warning description regarding terminated objects to `get` long help message
  - added printing of warning message in case of `get pods` if there are hidden pods
Fixes #22986
2016-08-15 22:49:37 +00:00
Girish Kalele 95111c457e endpoints controller: Write pod NodeName to endpointAddress in endpoint subsets 2016-08-15 15:12:15 -07:00
Girish Kalele c60ba61fe7 Add NodeName to EndpointAddress object 2016-08-15 15:11:51 -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 921c4604b1 Merge pull request #30466 from vishh/kubelet-as-root
Automatic merge from submit-queue

[Kubelet] Check if kubelet is running as uid 0

Related to #30176
2016-08-15 15:04:59 -07:00
Minhan Xia 85fdeb4742 add iptables util parameters to kubelet config type 2016-08-15 15:04:11 -07:00
Random-Liu 3910a66bb5 Add run-services-mode option, and start e2e services in a separate
process.
2016-08-15 14:45:01 -07:00
Kubernetes Submit Queue 967dc4234a Merge pull request #30582 from dims/fix-issue-30580
Automatic merge from submit-queue

Fix image verification when hostname is present in image

Deal better with the situation where a image name contains
a hostname as well.

Fixes #30580
2016-08-15 14:26:05 -07:00
Hongchao Deng ed79925dd6 pkg/storage: remove unused Config 2016-08-15 14:20:38 -07:00
Kubernetes Submit Queue 79ed7064ca Merge pull request #27970 from jingxu97/restartKubelet-6-22
Automatic merge from submit-queue

Add volume reconstruct/cleanup logic in kubelet volume manager

Currently kubelet volume management works on the concept of desired
and actual world of states. The volume manager periodically compares the
two worlds and perform volume mount/unmount and/or attach/detach
operations. When kubelet restarts, the cache of those two worlds are
gone. Although desired world can be recovered through apiserver, actual
world can not be recovered which may cause some volumes cannot be cleaned
up if their information is deleted by apiserver. This change adds the
reconstruction of the actual world by reading the pod directories from
disk. The reconstructed volume information is added to both desired
world and actual world if it cannot be found in either world. The rest
logic would be as same as before, desired world populator may clean up
the volume entry if it is no longer in apiserver, and then volume
manager should invoke unmount to clean it up.

Fixes https://github.com/kubernetes/kubernetes/issues/27653
2016-08-15 13:48:43 -07:00
Tim St. Clair db6629228f
Add AppArmor E2E test 2016-08-15 13:25:22 -07:00
Tim St. Clair 3c7896719b
Implement AppArmor Kubelet support 2016-08-15 13:25:17 -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
Kubernetes Submit Queue 69419a145a Merge pull request #29802 from jfrazelle/fix-go-vet-errors
Automatic merge from submit-queue

fix go vet errors

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

This fixes the `go vet` errors brought about by go 1.7 testing re (#28742).

The are all pretty trivial and mostly related to literal composites.

also related to #16086
2016-08-15 13:10:08 -07:00
Kubernetes Submit Queue da7e06eb4f Merge pull request #30596 from kubernetes/elasticsearch-example/fix-wording
Automatic merge from submit-queue

examples/elasticsearch: fix awkward sentence
2016-08-15 12:18:38 -07:00
Kubernetes Submit Queue 8a0f595ccf Merge pull request #30594 from kubernetes/issue-template/remove-emoji
Automatic merge from submit-queue

issue-template: remove emoji suggestion

Removes emoji suggestion since it doesn't generate a notification on the issue. 

When people 👍 the issue, it'll most likely won't have any effects, its better if people explain their thoughts through a reply
2016-08-15 12:18:28 -07:00