Commit Graph

5449 Commits (c2b771d5c46ca3b2f58f72595fe07a4e56a63762)

Author SHA1 Message Date
Sen Lu 7d77a46c6c kuberentes 2016-11-22 14:18:50 -08:00
deads2k bbcf06167e run update staging 2016-11-15 08:10:31 -05:00
Marcin 75f47307d7 Updated stating client go 2016-11-11 19:40:31 +01:00
Mike Danese abe354034e readd staging/src/k8s.io/client-go/LICENSE 2016-11-09 16:55:52 -08:00
Marcin c679fee129 Update staging client-go 2016-11-09 15:46:17 -08:00
Kubernetes Submit Queue 82c488bd6e Merge pull request #36332 from MrHohn/kube-proxy-ratelimit-fix
Automatic merge from submit-queue

Default kube-proxy to the old behavior for proxier sync.

Fix #36281.

This PR defaults `minSyncPeriod` to 0 and makes kube-proxy fall back to the old behavior to fix the immediate problem #36266.

@bprashanth
2016-11-07 14:27:03 -08:00
Kubernetes Submit Queue cc7070d5d8 Merge pull request #35583 from justinsb/replace_ratelimit
Automatic merge from submit-queue

Create simple version of ratelimit package

Allows for better testing.
2016-11-07 00:01:18 -08:00
Zihong Zheng 55f75c37f7 Default to the old behavior for proxier sync. 2016-11-06 22:45:53 -08:00
Timothy St. Clair 1cb97b83ca Update generated componentconfig from adding minimum iptables sync to the proxy 2016-11-04 00:40:09 -05:00
Timothy St. Clair 2b012e822a Add minimum iptables sync period to the proxy, default is 2/sec 2016-11-04 00:38:35 -05:00
Justin Santa Barbara cebfc821a4 Create simple version of ratelimit package
Allows for more testing.
2016-10-30 20:55:03 -04:00
Justin Santa Barbara e7efadaab1 Remove juju ratelimit from godeps 2016-10-30 14:35:32 -04:00
Chao Xu 4287973d99 run copy.sh
fix test/e2e/disruption after running copy.sh
2016-10-29 14:44:07 -07:00
Chao Xu d3c0d04285 add update-staging-client-go.sh and verify-staging-client-go.sh;
disable verify-staging-client-go.sh until 1.5 code freeze
2016-10-29 14:20:39 -07:00
Rodolfo Carvalho c75ddfe76d Fix some typos 2016-10-18 18:24:38 +02:00
Chao Xu fb9bb501fb run copy.sh, remove 1.5 folder 2016-10-17 15:35:18 -07:00
Chao Xu 58c2881c88 copy.sh 2016-10-17 15:35:16 -07:00
Kubernetes Submit Queue c0bd6e8ea5 Merge pull request #33958 from juanvallejo/jvallejo/add-global-timeout-flag
Automatic merge from submit-queue

Add global timeout flag

**Release note**:
```release-note
Add a new global option "--request-timeout" to the `kubectl` client
```

UPSTREAM: https://github.com/kubernetes/client-go/pull/10

This patch adds a global timeout flag (viewable with `kubectl -h`) with
a default value of `0s` (meaning no timeout).

The timeout value is added to the default http client, so that zero
values and default behavior are enforced by the client.

Adding a global timeout ensures that user-made scripts won't hang for an
indefinite amount of time while performing remote calls (right now, remote
calls are re-tried up to 10 times when each attempt fails, however, there is
no option to set a timeout in order to prevent any of these 10 attempts from
hanging indefinitely).

**Example**
```
$ kubectl get pods # no timeout flag set - default to 0s (which means no
timeout)
NAME                      READY     STATUS    RESTARTS   AGE
docker-registry-1-h7etw   1/1       Running   1          2h
router-1-uv0f9            1/1       Running   1          2h

$ kubectl get pods --request-timeout=0 # zero means no timeout no timeout flag set
NAME                      READY     STATUS    RESTARTS   AGE
docker-registry-1-h7etw   1/1       Running   1          2h
router-1-uv0f9            1/1       Running   1          2h

$kubectl get pods --request-timeout=1ms
Unable to connect to the server: net/http: request canceled while
waiting for connection (Client.Timeout exceeded while awaiting headers)
```
2016-10-14 23:29:58 -07:00
juanvallejo 5dad125d48 bump(k8s.io/client-go): add Timeout field to 1.5 restclient 2016-10-14 09:57:45 -04:00
Ivan Shvedunov 2d420d2371 Fix misspellings of 'Kubernetes' 2016-10-13 22:49:21 +03:00
Kubernetes Submit Queue 7dcae5edd8 Merge pull request #25260 from duglin/minion
Automatic merge from submit-queue

Change minion to node

Continuation of #1111

I tried to keep this PR down to just a simple search-n-replace to keep
things simple.  I may have gone too far in some spots but its easy to
roll those back if needed - just let me know.

I avoided renaming `contrib/mesos/pkg/minion` because there's already
a `contrib/mesos/pkg/node` dir and fixing that will require a bit of work
due to a circular import chain that pops up. So I'm saving that for a
follow-on PR.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-09-28 20:08:59 -07:00
Doug Davis 9d5bac6330 Change minion to node
Contination of #1111

I tried to keep this PR down to just a simple search-n-replace to keep
things simple.  I may have gone too far in some spots but its easy to
roll those back if needed.

I avoided renaming `contrib/mesos/pkg/minion` because there's already
a `contrib/mesos/pkg/node` dir and fixing that will require a bit of work
due to a circular import chain that pops up. So I'm saving that for a
follow-on PR.

I rolled back some of this from a previous commit because it just got
to big/messy. Will follow up with additional PRs

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-09-28 10:53:30 -07:00
Chao Xu ee0922253f run copy.sh 2016-09-27 20:57:08 -07:00
Chao Xu d3bba2cf8d copy.sh 2016-09-27 20:46:04 -07:00
Chao Xu a397e306a4 run client-gen
run copy.sh
2016-09-26 15:40:36 -07:00
Chao Xu e17e0b19ab remove special clientrepo code from main repository gcp plugin
rename plugin/pkg/client/auth/plugins.go package name to auth

add the plugin import line in client-gen

update import_known_versions for release_1_5 clientset

change copy.sh
2016-09-26 15:40:29 -07:00
Chao Xu a4e62297d6 fix tests 2016-09-21 14:44:39 -07:00
Chao Xu ec4fe281b6 remove 1.4 staging; adding 1.5 2016-09-20 19:48:22 -07:00
Chao Xu c06e5f60b6 changes to copy.sh 2016-09-20 19:48:20 -07:00
Matt Liggett 3163b68d01 // client-go/copy.sh 2016-09-07 17:38:38 -07:00
Ryan Hitchman 4c7ef6561e Revert "Add e2e tests for eviction subresource." 2016-09-06 16:21:50 -07:00
Matt Liggett 7d89a4f697 // client-go/copy.sh 2016-09-06 12:09:50 -07:00
Kubernetes Submit Queue a8e96f73f2 Merge pull request #31980 from wongma7/pvc-genclient-copy
Automatic merge from submit-queue

Run copy.sh to update client-go for pvcs

Following up https://github.com/kubernetes/kubernetes/pull/31834 to copy the changes to client-go

Ought to be v1.4, only touches client-go. (same reasoning as here: https://github.com/kubernetes/kubernetes/pull/31644#issuecomment-243274461)
2016-09-02 23:26:52 -07:00
Matthew Wong 19ee7d4c6b Run copy.sh to update client-go for pvcs 2016-09-02 10:48:39 -04:00
Jordan Liggitt a869de61bd
Namespace certificates API group 2016-09-01 14:39:06 -04: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 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
Chao Xu 17fa2cedd9 add client-go examples;
update README
2016-08-31 13:19:49 -07:00
Chao Xu dbd8014af3 commit Godeps.json 2016-08-30 22:14:45 -07:00
Chao Xu a6c5d3331c run copy.sh 2016-08-30 22:14:45 -07:00
Chao Xu 2f43d080da call a go program to update Godeps.json in copy.sh 2016-08-30 22:14:45 -07:00
Matt Liggett a5f1dc44f5 // update-all and staging/.../client-go/copy.sh 2016-08-30 13:35:51 -07:00
Chao Xu 0c88db3fa5 minor client-go doc change 2016-08-25 16:26:54 -07:00
Chao Xu 82d01fc408 add the readme for the published client-go repository 2016-08-24 21:06:23 -07:00
Chao Xu f4f1701de2 run copy.sh 2016-08-24 13:09:13 -07:00
Chao Xu e83f5dfda6 keep vendor and godep folders in client repo 2016-08-24 13:08:56 -07:00
Daniel Smith 77f5813194 update generated files, including the client 2016-08-11 17:06:55 -07:00
Chao Xu adb75e1fd1 generated staging area 2016-08-09 14:07:54 -07:00
Chao Xu bc8d572f3a added copy.sh which cuts the client repo; made necessary changes to scripts in
the repo to cope with the client repo staging area; added symlink
vendor/k8s.io/client-go which pointed to the staging area.
2016-08-09 14:07:53 -07:00