Commit Graph

5987 Commits (dd88e3f32ec9e4f90a455b711cdc448a60639f0e)

Author SHA1 Message Date
Paulo Pires 3856d91ed8
Don't blame DNS spec on Kubernetes requirement for lower-case DNS labels. 2017-01-13 13:40:27 +00:00
deads2k 5d4795e14e run staging client-go update 2017-01-13 08:27:36 -05:00
Klaus Ma 25fe1e0d82 Made cache.Controller to be interface. 2017-01-13 13:33:23 +08:00
deads2k 05eb75612f replace global registry in apimachinery with global registry in k8s.io/kubernetes 2017-01-12 15:14:07 -05:00
Robert Rati 6a3ad93d6c [scheduling] Moved pod affinity and anti-affinity from annotations to api
fields. #25319
2017-01-12 14:54:29 -05:00
Kubernetes Submit Queue e73d66ce44 Merge pull request #37557 from sttts/sttts-update-ugorji
Automatic merge from submit-queue

Update ugorji/go/codec godep

In order to pick-up https://github.com/ugorji/go/issues/119 and to get rid of the workaround at https://github.com/kubernetes/kubernetes/pull/36909/files#diff-a09eb061a0fb0ef3c9ef9d696f1ad0b4R426.
2017-01-12 02:36:16 -08:00
Kubernetes Submit Queue 8d4cc53175 Merge pull request #39483 from deads2k/generic-15-deps-02-for-real
Automatic merge from submit-queue

move no k8s.io/kubernetes dep packages for genericapiserver

Move the next set of no-dep packages for genericapiserver.  Feel the ratchet click!

```
k8s.io/kubernetes/pkg/auth/authenticator/bearertoken -> k8s.io/apiserver/pkg/authentication/request/bearertoken
k8s.io/kubernetes/pkg/auth/authorizer/union -> k8s.io/apiserver/pkg/authorization/union
k8s.io/kubernetes/pkg/auth/group -> k8s.io/apiserver/pkg/authentication/group
k8s.io/kubernetes/pkg/httplog -> k8s.io/apiserver/pkg/httplog
k8s.io/kubernetes/pkg/ssh -> k8s.io/apiserver/pkg/ssh
k8s.io/kubernetes/pkg/storage/etcd/metrics -> k8s.io/apiserver/pkg/storage/etcd/metrics
k8s.io/kubernetes/pkg/util/cache -> k8s.io/apiserver/pkg/util/cache
k8s.io/kubernetes/plugin/pkg/auth/authenticator/request/anonymous -> k8s.io/apiserver/pkg/authentication/request/anonymous
k8s.io/kubernetes/plugin/pkg/auth/authenticator/request/union -> k8s.io/apiserver/pkg/authentication/request/union
k8s.io/kubernetes/plugin/pkg/auth/authenticator/request/x509 -> k8s.io/apiserver/pkg/authentication/request/x509
k8s.io/kubernetes/plugin/pkg/auth/authenticator/token/tokenfile -> k8s.io/apiserver/pkg/authentication/token/tokenfile
```

@sttts
2017-01-11 15:16:13 -08:00
Dr. Stefan Schimanski 59dfbe44f7 Remove Selfer codec impl from Verbs and add regression tests 2017-01-11 21:38:09 +01:00
deads2k c4fae4e690 mechanical repercussions 2017-01-11 15:20:36 -05:00
deads2k 5280c8d3ac moves of genericapiserver packages without dependencies 2017-01-11 15:06:38 -05:00
deads2k 261603ee9c add owners to apimachinery 2017-01-11 13:16:34 -05:00
deads2k 6a4d5cd7cc start the apimachinery repo 2017-01-11 09:09:48 -05:00
deads2k 70778cccfe k8s.io/apimachinery scripts 2017-01-11 08:15:34 -05:00
deads2k 4d7fcae85a mechanicals 2017-01-05 11:14:27 -05:00
deads2k b813e98a26 move no k8s.io/kubernetes dependencies round one 2017-01-05 11:09:42 -05:00
deads2k 442d2c1404 move pkg/auth/user to staging 2017-01-04 10:27:04 -05:00
Chao Xu 991963c925 run hack/update-staging-client-go.sh after the copy.sh changes 2016-12-30 01:17:33 -08:00
Chao Xu 6dcc31c114 update copy.sh to include pkg/util/workqueue 2016-12-30 01:17:33 -08:00
Chao Xu 3cd36e3604 run hack/update-staging-client-go.sh before the copy.sh changes 2016-12-30 01:17:32 -08:00
Maciej Szulik 43dfcd7a59 Remove extensions/v1beta1 Job - staging client 2016-12-17 00:10:35 +01:00
Robert Rati 11c577f092 [scheduling] Auto-generated file updates from moving node affinity from
annotations to api fields. #35518
2016-12-16 11:42:43 -05:00
Robert Rati 91931c138e [scheduling] Moved node affinity from annotations to api fields. #35518 2016-12-16 11:42:43 -05:00
Kubernetes Submit Queue 23cd9d7b05 Merge pull request #38736 from ixdy/build-tools-rename-back
Automatic merge from submit-queue

Rename root BUILD to BUILD.bazel, and rename build-tools/ back to build/

**What this PR does / why we need it**: undoes #35453. `build-tools/` was intended to be a temporary workaround until https://github.com/bazelbuild/bazel/issues/552 was fixed, which is has been, as of bazel 0.4.1.

**Which issue this PR fixes**: fixes #38126

FYI @thockin 

since this is likely to be rebase hell, my list of actions:
```console
$ git mv BUILD BUILD.bazel
$ git commit -a
$ git mv build-tools/ build/
$ sift -l 'build-tools' | xargs sed -i -e 's:build-tools/:build/:g'
$ git checkout HEAD docs/
$ git commit -a
```
2016-12-14 16:01:00 -08:00
Jeff Grafton 27d096d27d Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
Chao Xu f6f71c32b6 change release_1_5 to clientset in staging/copy.sh
modify update-codegen.sh
2016-12-14 12:39:36 -08:00
Maciej Szulik 6bc12f2a69 Fix staging/copy.sh to work on mac and linux 2016-12-12 17:47:39 +01:00
Clayton Coleman 9ff68e6667
generated: staging update 2016-12-10 18:05:56 -05:00
Clayton Coleman c52d510a24
refactor: generated 2016-12-10 18:05:53 -05:00
Kubernetes Submit Queue d9414bca99 Merge pull request #37463 from tanshanshan/comment-modify
Automatic merge from submit-queue (batch tested with PRs 36626, 37294, 37463, 37943, 36541)

Modify wrong comment

<!--  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**:

Modify wrong comment

Thanks!

**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
```
2016-12-08 00:23:13 -08:00
Clayton Coleman 17e3d661cf
generated: staging update 2016-12-03 19:10:55 -05:00
Clayton Coleman 5df8cc39c9
refactor: generated 2016-12-03 19:10:46 -05:00
Clayton Coleman a53d89a34a
staging fails on mac 2016-12-03 18:57:31 -05:00
Kubernetes Submit Queue 2e671715e0 Merge pull request #37885 from chentao1596/staging-readme-make-modifications
Automatic merge from submit-queue

staging/client-go: fix the wrong description

**What this PR does / why we need it**:
    Some mistakes has been found in the file "RADMME.md"(k8s.io/kubernetes/staging), may be it cause by original files has been removed or renamed. 
      It can not work very well if follow current description, so i changed it.
2016-12-02 19:27:25 -08:00
Kubernetes Submit Queue ee3289cce5 Merge pull request #36755 from deads2k/cli-09-extend-impersonate
Automatic merge from submit-queue (batch tested with PRs 36263, 36755, 37357, 37222, 37524)

add other impersonation fields to transport

Adds the group and extra fields to the impersation options in a rest and transport config.

@kubernetes/sig-auth
2016-12-02 16:26:45 -08:00
chentao1596 1af7ee01d9 make modifications for README 2016-12-02 09:54:16 +08:00
tanshanshan 64cab5e8b3 modify wrong comment 2016-11-30 09:54:41 +08:00
Kubernetes Submit Queue d9b339e35d Merge pull request #37319 from krzyzacy/kubelint
Automatic merge from submit-queue

eliminate kuberentes

Luckily only caught one from echo!

@kubernetes/test-infra-maintainers 

<!--  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**:
It's important, and really hard, to identify kuberentes from kubernetes. As a human being, one's brain tends to auto fix the spelling for you thus when a dev was staring at the log for a good 30-min or so he will start question about his life and belief.

Luckily this is the only place in k/k, it's super important to fix it to avoid future pain.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**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
```
2016-11-28 11:44:48 -08:00
Clayton Coleman 047855f980
generated: client to staging 2016-11-23 22:30:52 -06:00
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