Commit Graph

34749 Commits

Author SHA1 Message Date
derekwaynecarr
f42ee94554 Ignore v1 bindings in namespace controller deletion 2016-09-01 16:10:51 -04:00
Kubernetes Submit Queue
4e1ff53bb2 Merge pull request #31730 from pmorie/kubelet-attach-detach-update
Automatic merge from submit-queue

Make it possible to enable controller-managed attach-detach on existing nodes

Fixes #31673.  Now, if a node already exists with the given name on Kubelet startup, the Kubelet will reconcile the value of the controller-managed-attach-detach annotation so that existing nodes can have this feature turned on and off by changing the Kubelet configuration.

cc @kubernetes/sig-storage @kubernetes/rh-cluster-infra
2016-09-01 07:31:18 -07:00
Kubernetes Submit Queue
164eebe3a4 Merge pull request #31874 from wojtek-t/fix_service_alloc
Automatic merge from submit-queue

Fix TestServiceAlloc flake

Fix #31850 

This bug was introduced in https://github.com/kubernetes/kubernetes/pull/31756

@lavalamp @smarterclayton - FYI ^^
2016-09-01 06:51:58 -07:00
Kubernetes Submit Queue
f6eb28765f Merge pull request #31870 from gmarek/cache-size
Automatic merge from submit-queue

Increase registry cache size for services to handle big clusters

We noticed a problem with too small cache in a load test on a big cluster. This PR will slightly increase apiserver memory footprint, but it's safe otherwise. This should get in v1.4. @pwittrock
2016-09-01 05:44:11 -07:00
Wojciech Tyczynski
41518feb0a Fix TestServiceAlloc flake 2016-09-01 14:27:25 +02:00
Kubernetes Submit Queue
ef2dde9c48 Merge pull request #31868 from wojtek-t/enable_more_inflight_requests
Automatic merge from submit-queue

Make it possible to set higher limit for in-flight requests in test

Ref #31589
2016-09-01 04:42:01 -07:00
gmarek
9c2d3a5677 Increase registry cache size for services to handle big clusters 2016-09-01 13:35:54 +02:00
Kubernetes Submit Queue
ce1e17f338 Merge pull request #31865 from wojtek-t/higher_client_qps_in_load
Automatic merge from submit-queue

Higher client qps in load

Fix #31589
2016-09-01 04:28:58 -07:00
Wojciech Tyczynski
9c687add6b Make it possible to set higher limit for in-flight requests in test 2016-09-01 12:58:49 +02:00
Wojciech Tyczynski
22b160e552 Allow for configuring max inflight requests in kubemark 2016-09-01 11:46:37 +02:00
Wojciech Tyczynski
2f41f2d794 Increase QPS limit in load test client 2016-09-01 11:46:37 +02:00
Kubernetes Submit Queue
e35675cf59 Merge pull request #31821 from mwielgus/event-name-sync
Automatic merge from submit-queue

Sync event names in federated controller

cc: @quinton-hoole
2016-09-01 01:48:25 -07:00
Kubernetes Submit Queue
f512ec3af8 Merge pull request #31826 from mwielgus/rs-events
Automatic merge from submit-queue

Events for federated replica set controller

cc: @quinton-hoole @jianhuiz @kubernetes/sig-cluster-federation
2016-09-01 01:48:20 -07:00
Kubernetes Submit Queue
0c911ab701 Merge pull request #31644 from caesarxuchao/commit-staging-Godeps
Automatic merge from submit-queue

Commit staging godeps

<!--  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**:
Committed the client-go/1.4/Godeps/Godeps.json, so user can run `godep restore` after they `go get` the entire repo.

Added a Go program to modify the Godesp.json to make it usable.

FYI @thockin
2016-08-31 23:02:02 -07:00
Kubernetes Submit Queue
2a28917e0a Merge pull request #31756 from lavalamp/logmore
Automatic merge from submit-queue

Log useful information on 500's; include error message in error (!!)

Diagnose #31728
2016-08-31 20:31:45 -07:00
Kubernetes Submit Queue
8afd3c3297 Merge pull request #31751 from caesarxuchao/client-go-examples
Automatic merge from submit-queue

Add client-go examples

We'll wait for the publish bot to published this to kubernetes/client-go

cc @devin-donnelly

ref: https://github.com/kubernetes/kubernetes.github.io/pull/1127
2016-08-31 19:50:26 -07:00
Kubernetes Submit Queue
00d8322571 Merge pull request #31829 from timstclair/flake
Automatic merge from submit-queue

Add retries to service environment variable test

Fixes (hopefully): https://github.com/kubernetes/kubernetes/issues/30548#issuecomment-243907466

/cc @euank @dchen1107
2016-08-31 19:11:06 -07:00
Kubernetes Submit Queue
b03de0abe7 Merge pull request #31758 from vishh/issue-30567
Automatic merge from submit-queue

Make pods e2e retry getting logs from web-sockets

Hopefully fixes #30567
2016-08-31 18:32:47 -07: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
Kubernetes Submit Queue
ac6f92fbcb Merge pull request #31733 from kubernetes/rmmh-owners-autoscaling
Automatic merge from submit-queue

Fix test owners for horizontal pod autoscaling.
2016-08-31 17:52:55 -07:00
Kubernetes Submit Queue
3d30787abc Merge pull request #31719 from nikhiljindal/kubectlHelp
Automatic merge from submit-queue

Adding clusters to the list of valid resources printed by kubectl help

Ref https://github.com/kubernetes/kubernetes/issues/25592

Adding clusters to the list of valid resources printed by kubectl help with a clear message that it only works when talking to federation apiserver.
In future, we should replace the hard coded list with a dynamic list generated using APIServer's discovery API.

```release-note
Adding clusters to the list of valid resources printed by kubectl help
```


cc @kubernetes/kubectl @kubernetes/sig-cluster-federation
2016-08-31 17:52:53 -07:00
Tim St. Clair
f9a2c07c20
Add retries to service environment variable test 2016-08-31 16:46:03 -07:00
Kubernetes Submit Queue
199338a551 Merge pull request #31759 from nikhiljindal/fedSwaggerDoc
Automatic merge from submit-queue

Generating API reference docs for federation apiserver

Fixes #30541 

Adding a script `update-federation-api-reference-docs.sh` similar to the existing `update-api-reference-docs.sh` for kube-apiserver. Have moved the common parts to `hack/lib/swagger.sh`.
The new script will produce API reference docs for federation-apiserver.

Next step will be to surface these docs at kubernetes.io.

cc @kubernetes/sig-cluster-federation @kubernetes/sig-api-machinery @caesarxuchao
2016-08-31 15:33:43 -07:00
Kubernetes Submit Queue
29c9a373d7 Merge pull request #31497 from jianhuiz/federation-cluster-in-meta-test
Automatic merge from submit-queue

test Metadata.ClusterName not saved into etcd

integration test that verifies that we are not storing ClusterName in etcd.

#28921
@nikhiljindal  @deepak-vij @quinton-hoole
2016-08-31 14:53:53 -07:00
Marcin Wielgus
118de37dbe Sync event names in federated controller 2016-08-31 23:40:53 +02:00
Marcin Wielgus
d1bfb3f8ff Events for federated replica set controller 2016-08-31 23:35:20 +02:00
Paul Morie
1805d30b67 Reconcile value of controller-managed attach-detach annotation on existing nodes in Kubelet startup 2016-08-31 17:04:54 -04:00
Daniel Smith
1a23f5a79f Log useful information on 500's
* include error message in error (!!)
* add test verifying error message is correct for service ip allocation
2016-08-31 13:46:40 -07:00
nikhiljindal
633c549040 Autogenerated commit by running update-federation-api-reference-docs.sh 2016-08-31 13:21:42 -07:00
nikhiljindal
209d544bed Adding a script to update federation API reference docs 2016-08-31 13:21:42 -07:00
Chao Xu
17fa2cedd9 add client-go examples;
update README
2016-08-31 13:19:49 -07:00
Kubernetes Submit Queue
e693a61991 Merge pull request #31659 from timstclair/aa-nodestatus
Automatic merge from submit-queue

Append "AppArmor enabled" to the Node ready condition message

As discussed, add a "AppArmor enabled" message to the node ready condition message. This is a temporary solution to surfacing the AppArmor status until node feature reporting is enabled.

Example:
```
$ kubectl get nodes e2e-test-stclair-minion-group-lmvk -o yaml
...
  - lastHeartbeatTime: 2016-08-30T00:52:11Z
    lastTransitionTime: 2016-08-30T00:43:28Z
    message: kubelet is posting ready status. AppArmor enabled
    reason: KubeletReady
    status: "True"
    type: Ready
...
```

---

1.4 justification:

- Risk: Low. This is a small change to append a human readable message.
- Rollback: Nothing depends on this functionality.
- Cost: Not knowing whether AppArmor is actually supported by a node. Although pods should be rejected if it's not enabled, we can't do anything for older (< v1.4) nodes. This positive affirmation provides confirmation that AppArmor is enabled for the current version.
2016-08-31 12:35:00 -07:00
Kubernetes Submit Queue
07556d5e1a Merge pull request #31636 from derekwaynecarr/ns-controller-flake
Automatic merge from submit-queue

Improve e2e framework namespace deletion

This PR addresses the following:

1. framework would delete same namespace multiple times in subsequent test if ns failed to delete in previous test.  this caused incorrect error reporting on subsequent tests.  updated framework to call delete on all namespaces, and then always clear out namespaces to delete.
1. deleteNs was not verifying all content was removed from the namespace, just pods.  this made flakes hard to debug in tests that did not create pods and whose namespace didnt delete.  updated framework to verify all content is removed from namespace.
1. improved debugging output when namespace did not delete with more detail on what remains.
2016-08-31 11:45:08 -07:00
Kubernetes Submit Queue
1d0f168158 Merge pull request #31800 from mtaufen/eviction-wait-before-try-admit
Automatic merge from submit-queue

Wait before trying to start a new pod after the eviction test

This should stop the test from flaking while we figure out why there is a mismatch between the reported pressure condition and the eviction manager's decision to evict due to memory pressure.

/cc @vishh @dchen1107 @yujuhong
2016-08-31 11:26:05 -07:00
Kubernetes Submit Queue
ae940c09f3 Merge pull request #31744 from mwielgus/rs-fix-2
Automatic merge from submit-queue

Clean-up and fixes in federated replica set

* Create and update consistent with other controllers. Previously an annotation update on federated rs would not trigger local rs update.
* Use of federatedUpdater. The previous code use talked to clusters manually, assuming that the stats values in the local rs would be automatically and immediately updated. These stats are updated by controllers so they are not immediately updated and the currently existing stats can be used for building federated rs stats.
* Trigger a rs recheck after some operations are executed.

cc: @quinton-hoole @jianhuiz @wojtek-t @kubernetes/sig-cluster-federation
2016-08-31 11:25:01 -07:00
Kubernetes Submit Queue
1063731234 Merge pull request #31705 from mwielgus/secrets-events
Automatic merge from submit-queue

Events for federated secrets controller

cc: @quinton-hoole @nikhiljindal @kubernetes/sig-cluster-federation
2016-08-31 11:03:45 -07:00
Michael Taufen
b3e9875fcc Wait before trying to start a new pod after the eviction test
This should stop the test from flaking while we figure out why there is
a mismatch between the reported pressure condition and the eviction
manager's decision to evict due to memory pressure.
2016-08-31 10:42:20 -07:00
derekwaynecarr
367cc42541 E2E framework ignores whitelisted resources when verifying namespace deletion 2016-08-31 13:41:14 -04:00
derekwaynecarr
83cc808ffb Fix duplicate namespace deletion errors, improve namespace deletion error output 2016-08-31 13:32:22 -04:00
Marcin Wielgus
7258b8e4f6 Events for federated secrets controller 2016-08-31 18:57:40 +02:00
Marcin Wielgus
4c55babcf8 Clean-up and fixes in federated replica set 2016-08-31 18:53:54 +02:00
Kubernetes Submit Queue
39fbfd00ea Merge pull request #31787 from gmarek/scheduledCondition
Automatic merge from submit-queue

Make a scheduler predicates test resiliant to race for scheduledCondi…

Fix #31341

@pwittrock - this fixes a P1 flake.

FYI @mwielgus - I don't think that the race that caused this flake can impact cluster autoscaling, but you probably should know about it.

cc @wojtek-t
2016-08-31 09:30:38 -07:00
Tim St. Clair
3808243b9e
Append "AppArmor enabled" to the Node ready condition message 2016-08-31 09:27:47 -07:00
Kubernetes Submit Queue
d0a2d17ec1 Merge pull request #31782 from wojtek-t/bump_pod_nanny_version_2
Automatic merge from submit-queue

Bump addon-resizer version

Fix #31105
2016-08-31 08:51:36 -07:00
jianhuiz
893f499fb8 test Metadata.ClusterName not saved into etcd 2016-08-31 08:12:41 -07:00
Kubernetes Submit Queue
a93b979881 Merge pull request #31699 from gmarek/allnodesready
Automatic merge from submit-queue

AllNodesReady waits for all system pods to be running

Fix #29820

cc @pwittrock @dchen1107
2016-08-31 07:46:45 -07:00
gmarek
94c9997daf Make a scheduler predicates test resiliant to race for scheduledCondition 2016-08-31 15:57:38 +02:00
gmarek
f8dbdc1695 AllNodesReady waits for all system pods to be running 2016-08-31 15:08:01 +02:00
Wojciech Tyczynski
3c64346e24 Bump addon-resizer version 2016-08-31 14:53:13 +02:00
Marek Grabowski
ebe733e469 Merge pull request #31770 from kubernetes/revert-31614-bump_pod_nanny_version
Revert "Bump addon-resizer version in heapster"
2016-08-31 08:53:44 +02:00