Commit Graph

1800 Commits

Author SHA1 Message Date
Kubernetes Publisher
a0aefdd1eb Merge pull request #67356 from yliaog/master
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s…

Kubernetes-commit: c179a9c9df4bfb6421258a5f31da9f595474ada4
2018-10-02 20:35:51 -07:00
He Xiaoxi
da56c29d61 Refactor scheduler factory test
Use `k8s.io/client-go/kubernetes/fake.Clientset` as the fake k8s client.

Signed-off-by: He Xiaoxi <xxhe@alauda.io>

Kubernetes-commit: a96a390d924d33ba7dda13761ff0eb1eb37a02b6
2018-10-02 23:46:17 +08:00
Ville Aikas
41406bf985 Add support for JSON patch in fake client
Kubernetes-commit: a363b153851326ece7f81f4c1ae0a1ab8700a209
2018-10-02 13:30:52 +00:00
mrIncompetent
30575d7a9f use signer interface for certificate creation
Kubernetes-commit: ef04b17ad8097db22755af05e2889b4d73eaf99f
2018-10-02 14:49:45 +02:00
Kubernetes Publisher
aa75b7764b Merge pull request #69125 from caesarxuchao/fix-dynamic-empty-scheme
Populates the fake dynamic client scheme

Kubernetes-commit: 43ce5fbf41411babfacd1f5dda9e30fb19691f1e
2018-10-02 04:08:21 +00:00
Joe Betz
155d5ec829 Update etcd client to 3.3.9
Kubernetes-commit: 4263c752115c3796ee5715c7de4cbc2e237809d3
2018-10-01 16:53:57 -07:00
Radek Pieczonka
2a9c6c4210 port-forward listen on address
adds an address flag to kubectl port-forward to allow to bind to a different ip then localhost

Kubernetes-commit: 4643c6e95e0a0cf6561554fb3b9a1bc59bcead0c
2018-10-01 08:52:50 +02:00
SataQiu
ed35c194bb Remove the redundant space
Kubernetes-commit: c9bc62542892a4f568a60cd423807e078c4e3ac9
2018-09-30 11:09:32 +08:00
Davanum Srinivas
61a24777f8 Add missing step to in-cluster-client-configuration example
If the permissions are not setup correctly the example fails.

Change-Id: I167ef68be66f8b56740236ae475c3b7fdcc0dfb5

Kubernetes-commit: d222c310aaa4ce8777094f4a37a920982aff794d
2018-09-28 14:46:01 -04:00
Kubernetes Publisher
78bf9020c4 Merge pull request #69035 from dmathieu/fake-eviction
Set api version and action name in fake evictions

Kubernetes-commit: 2e357e39c81673f916a81a0a4f485ed080043e25
2018-09-28 12:54:08 +00:00
k8s-ci-robot
c49eef9ec8
Merge pull request #466 from nikhita/release-9
Add client-go 9.0.0 changelog
2018-09-27 10:16:00 -07:00
Kubernetes Publisher
e2bc6cda8d Merge pull request #68866 from tanshanshan/error_fix_its
fix syntax error:'its'

Kubernetes-commit: 66b956e93b4d6adb44251fb925b8c41344f929fd
2018-09-27 07:27:37 +00:00
Chao Xu
97dc22a90a Populates the fake dynamic client scheme
Kubernetes-commit: db20e16b87b38ace132c375f9ae414a98b451d7b
2018-09-26 18:32:49 -07:00
Kubernetes Publisher
bb17ab6ef1 Merge pull request #68748 from p0lyn0mial/dynamic_lister_informer
adds dynamic lister

Kubernetes-commit: 23baf579c8cfc7d69fefac17ecd271321b15fc54
2018-09-26 23:34:42 +00:00
Kubernetes Publisher
44e7f0ea19 Merge pull request #66516 from tallclair/redirect
Add verification to apiserver redirect following

Kubernetes-commit: 109b67c291de3b9bda35c35e471b9064de6ff859
2018-09-26 23:33:41 +00:00
Kubernetes Publisher
4d3c94690f Merge pull request #68729 from TinySong/fix-client-go-typos
remove duplicated words in heap.go and interfaces.go

Kubernetes-commit: a641e1cba8c587aace2fd8bf012db3a15dd7a536
2018-09-26 07:35:54 +00:00
Kubernetes Publisher
a5d40177db Merge pull request #68245 from jingyih/remove_tagName_in_goDoc
*: Remove comment tags in GoDoc

Kubernetes-commit: a67689dfcab0ed547e1d060c414eae7c81629cc9
2018-09-25 15:32:50 +00:00
Kubernetes Publisher
087039522d Merge pull request #68238 from justinsb/update_reflect2_to_101
Update reflect2 to 1.0.1 (memory utilization fix)

Kubernetes-commit: a94ea824eb59e92188f166c302d7995ba9002667
2018-09-25 15:31:48 +00:00
Kubernetes Publisher
e39833ec3c Merge pull request #68215 from tanshanshan/fixtypo
fix error info

Kubernetes-commit: fe4ca268d76288d21de89de14388b1d4e2f20bbc
2018-09-25 15:31:00 +00:00
Damien Mathieu
b8d8ea0ef0 set api version and action name in fake evictions
Kubernetes-commit: 4e8a188dad443ccd5e9453361b785d98370c0b9a
2018-09-25 15:16:36 +02:00
Kubernetes Publisher
33124a8148 Merge pull request #67513 from novas0x2a/expose-port
export a method to expose which ports were forwarded

Kubernetes-commit: 4a627e9008a48fff8925131b97e372b2b15f6380
2018-09-25 11:34:40 +00:00
Nikhita Raghunath
c5518cda52 Update README to reflect 9.0.0 release 2018-09-22 13:23:30 +05:30
Nikhita Raghunath
3655b8b061 Add client-go 9.0.0 changelog 2018-09-22 13:23:22 +05:30
David Eads
cf91644e9c update client generator for local timeout
Kubernetes-commit: 493bc79c0432bdb53d87248e18ffcaa5caf9d08d
2018-09-21 09:11:54 -04:00
tanshanshan
0fa5515631 fix syntax error:'its'
Kubernetes-commit: 7dfe0dae64aa2f6cd579f9c88bdf84cccad94504
2018-09-20 09:45:46 +08:00
Kubernetes Publisher
93821fae80 Merge pull request #68790 from nikhita/client-go-install.md
Move INSTALL.md from k8s.io/client-go to staging

Kubernetes-commit: 259a59d93618f0266151a50018f3b3f3cbcfc0e4
2018-09-19 06:22:14 -07:00
k8s-ci-robot
ca74aedde1
Merge pull request #468 from nikhita/remove-install.md
Remove INSTALL.md
2018-09-19 05:04:59 -07:00
k8s-ci-robot
7f726ce02d
Merge pull request #467 from nikhita/bump-go-version-travis
Bump go version to 1.10.2 for travis
2018-09-19 04:34:29 -07:00
Nikhita Raghunath
91ab78faba Remove INSTALL.md
This is going to move to staging.
2018-09-19 15:58:43 +05:30
Nikhita Raghunath
0152131f08 Bump go version to 1.10.2 for travis 2018-09-19 15:40:27 +05:30
Nikhita Raghunath
c8e76297e1 Move INSTALL.md from k8s.io/client-go to staging
Kubernetes-commit: 331ae66491a775c24887413f44549d83b797b61e
2018-09-18 20:55:22 +05:30
Kubernetes Publisher
780aa459ed Merge pull request #68530 from wenjiaswe/68115
Rewrite finalURLTemplate used only for metrics because of dynamic client change

Kubernetes-commit: 817d420d6807d0b3bd0a4baa20d709ab755ad602
2018-09-17 19:39:44 +00:00
p0lyn0mial
bfcfd82283 adds dynamic informer factory
Kubernetes-commit: 4d479aff37edfcdb17ac5a5f89b1e3f95d118f30
2018-09-17 19:07:00 +02:00
p0lyn0mial
cf575eb079 adds dynamic lister
Kubernetes-commit: 8b43a0005a5bd3c2e415d55efb6c9d77c1c655b1
2018-09-17 19:07:00 +02:00
song
bd418b4186 remove duplicated words in heap.go and interfaces.go
Kubernetes-commit: dd4a8f9cab80aaf280ed5ed95a6facc26c00d928
2018-09-17 18:00:19 +08:00
Wenjia Zhang
13b096589c Rewrite finalURLTemplate used only for metrics because of dynamic client change
Kubernetes-commit: 99248b8fe1fe1c28188657d811dc7baf8cd12982
2018-09-14 11:31:21 -07:00
Kubernetes Publisher
86dcffcdde Merge pull request #66314 from jlowdermilk/cmdtokensource-reset
gcp client auth plugin: persist default cache on unauthorized

Kubernetes-commit: c04fe8c27c9053a37face46abfebc45b9ac23dd7
2018-09-14 08:06:50 +00:00
Guoliang Wang
b5eba4c261 Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize
Kubernetes-commit: c2622dd9d800280bcaeea9473340a4efb94946d2
2018-09-07 17:17:27 +08:00
Jingyi Hu
33fabb1e0f *: Remove comment tags in GoDoc
Adding blank line between comment tag and package name in doc.go. So
that the comment tags such as '+k8s:deepcopy-gen=package' do not show up
in GoDoc.

Kubernetes-commit: 61117761cd4a1b2e6ad9ff2d7eb915f3d2739dc6
2018-09-04 14:08:32 -07:00
Kubernetes Publisher
37c3c02ec9 Merge pull request #67555 from wgliang/opt/improve-performance
Automatic merge from submit-queue (batch tested with PRs 67555, 68196). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Not split nodes when searching for nodes but doing it all at once

**What this PR does / why we need it**:
Not split nodes when searching for nodes but doing it all at once.

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

**Special notes for your reviewer**:
@bsalamat

This is a follow up PR of #66733.

https://github.com/kubernetes/kubernetes/pull/66733#discussion_r205932531

**Release note**:

```release-note
Not split nodes when searching for nodes but doing it all at once.
```

Kubernetes-commit: a0b457d0e5ed54646fd01eac877efcea5be3216d
2018-09-04 19:08:50 +00:00
Justin Santa Barbara
3652287890 Update reflect2 to 1.0.1 (memory utilization fix)
Picking up https://github.com/modern-go/reflect2/pull/2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.

Kubernetes-commit: 970e4da4c6636b835175dc79a7492d22dc11ba33
2018-09-04 13:13:00 -04:00
tanshanshan
9a73dd2136 fix error info
Kubernetes-commit: 19c9df95ad7812f3f5bab39211c82316e72f91b4
2018-09-04 17:14:12 +08:00
Kubernetes Publisher
f06dbfd735 Merge pull request #67359 from mikedanese/reloadtoken
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

client: periodically reload InClusterConfig token

/sig auth
/sig api-machinery

```release-note
NONE
```

Kubernetes-commit: 7b6647a418c660f2c87f183f706b297f1cb573ca
2018-09-02 07:32:50 +00:00
Kubernetes Publisher
ec724c24d1 Merge pull request #67910 from liztio/cert-renewal
Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Kubeadm Cert Renewal

**What this PR does / why we need it**:

adds explicit support for renewal of certificates via command

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes kubernetes/kubeadm#206

**Special notes for your reviewer**:
The targeted documentation is at kubernetes/website#9712

**Release note**:

```release-note
Adds the commands `kubeadm alpha phases renew <cert-name>`
```

Kubernetes-commit: 17dde46baebe0b67421132af7b99b42d89ea4cd0
2018-09-01 03:41:45 +00:00
liz
22e1ddcc48 Actually renew certificates (using on-disk CAs)
Kubernetes-commit: 76be5ca581818227062f7d0638cb772bb862bdb9
2018-08-29 17:57:02 -04:00
Kubernetes Publisher
87935b98dd Merge pull request #67545 from sttts/sttts-auth-optional-kubeconfig
Automatic merge from submit-queue (batch tested with PRs 66960, 67545). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

delegated authn/z: optionally opt-out of mandatory authn/authz kubeconfig

This adds `RemoteKubeConfigFileOptional` field to the delegated authn/z option structs. If set to true, the authn/z kubeconfig file flags are optional. If no kubeconfig is given, all token requests are considered to be anonymous and no client CA is looked up in the cluster.

Prerequisite for https://github.com/kubernetes/kubernetes/pull/64149 and https://github.com/kubernetes/kubernetes/pull/67069.

Kubernetes-commit: 1b3a2dd0830ca0e02d5b95d2ecc0161d0c93a0c7
2018-08-28 23:27:43 +00:00
Kubernetes Publisher
31ff53b616 Merge pull request #66717 from bboreham/remove-timeoutFromListOptions
Automatic merge from submit-queue (batch tested with PRs 67323, 66717, 67038). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Remove unused function timeoutFromListOptions()

**What this PR does / why we need it**:
It removes a function which is not exported and not called or referenced.

Re-opening #60215 after rebase.

**Which issue(s) this PR fixes**
No issue.

**Special notes for your reviewer**:
I guess it would be useful to know what this was supposed to be doing. I just happened upon it when trying to understand how watch timeouts were configured.

**Release note**:
```release-note
NONE
```

Kubernetes-commit: 1bfbf861e92410dbed2cb8debdc2f841d0fd7719
2018-08-28 03:30:01 +00:00
Kubernetes Publisher
855e8fadf4 Merge pull request #64097 from damemi/hpa-metrics-specificity
Automatic merge from submit-queue (batch tested with PRs 67894, 64097). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

HPA metrics specificity improvements

**What this PR does / why we need it**:
Improves available specificity for HPA metrics by adding metric selector fields for metrics of Pods and Objects.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Implements this KEP: https://github.com/kubernetes/community/pull/2055

**Special notes for your reviewer**:
Need to add/update tests?

**Release note**:

```release-note
Introduces autoscaling/v2beta2 and custom_metrics/v1beta2, which implement metric selectors for Object and Pods metrics, as well as allowing AverageValue targets on Objects, similar to External metrics.
```

/assign @DirectXMan12

Kubernetes-commit: fdb5707194d56cbbd0da11c5be3a2a5653e714c9
2018-08-27 23:25:16 +00:00
Kubernetes Publisher
030d971055 Merge pull request #67809 from Pingan2017/dafaultfitler
Automatic merge from submit-queue (batch tested with PRs 67362, 67256, 67809). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

del unused func DefaultEventFilterFunc

**What this PR does / why we need it**:

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

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```

Kubernetes-commit: da62c170f724277bae45f6efed6085eb34566bc5
2018-08-27 19:24:36 +00:00
Pingan2017
ada81a0d75 del unused func DefaultEventFilterFunc
Kubernetes-commit: 655271f89b665d87f5de6ba292ed551999635612
2018-08-24 17:26:17 +08:00