Commit Graph

126 Commits

Author SHA1 Message Date
Kubernetes Publisher 703ba1a5e6 Merge pull request #71047 from pivotal-k8s/bump-k8s-utils
Bump k8s.io/uitls to 8e7ff06

Kubernetes-commit: 409bfc4337f34ed119e66cb6cdd8f95e5deea5a1
2018-11-29 23:38:03 +00:00
Hannes Hörl ab00f06fb8 Bump k8s.io/uitls to 8e7ff06
The reason for the bump is the new functionality of the
k8s.io/utils/exec package which allows
- to get a hold of the process' std{out,err} as `io.Reader`s
- to `Start` a process and `Wait` for it

This should help on addressing #70890 by allowing to wrap std{out,err}
of the process to be wrapped with a `io.limitedReader`.

It also updates
- k8s.io/kubernetes/pkg/probe/exec.FakeCmd
- k8s.io/kubernetes/pkg/kubelet/prober.execInContainer
- k8s.io/kubernetes/cmd/kubeadm/app/phases/kubelet.fakeCmd
to implement the changed interface.

The dependency on 'k8s.io/utils/pointer' to the new version has also
been bumped in some staging repos:
- apiserver
- kube-controller-manager
- kube-scheduler

Kubernetes-commit: 0d4b5c98f81a3e04b18610f983eb1b68e5fa11bf
2018-11-14 23:10:07 +00:00
Kubernetes Publisher 1c4e861025 Merge pull request #70889 from dims/update-cadvisor-and-other-repos-for-klog-take-2
Update cadvisor and other repos for klog

Kubernetes-commit: a3ccea9d8743f2ff82e41b6c2af6dc2c41dc7b10
2018-11-10 19:39:44 +00:00
Davanum Srinivas c5eb6b7106 Update all the staging Godeps.json
Change-Id: I64b30c68a606b4f5c095a66496a1e48c4d62ea88

Kubernetes-commit: 68ce375d0039738df5a2a837122215f3224f1fde
2018-11-09 16:41:26 -05:00
Davanum Srinivas 49c5602c40 Move from glog to klog
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
  * github.com/kubernetes/repo-infra
  * k8s.io/gengo/
  * k8s.io/kube-openapi/
  * github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods

Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135

Kubernetes-commit: 954996e231074dc7429f7be1256a579bedd8344c
2018-11-09 13:49:10 -05:00
Kubernetes Publisher 90c1474b3e Merge pull request #70718 from cblecker/godep-round-a-million
Fork godep to fix inconsistent abbreviation size

Kubernetes-commit: e998d6c2bc83385d98186a87e95a0f947e121ec1
2018-11-08 06:00:33 +00:00
Kubernetes Publisher be18b68f3d Merge pull request #70663 from wenjiaswe/gonet110
Upgrade golang.org/x/net image to release-branch.go1.10

Kubernetes-commit: 471aff6673ebe4ac9c9219a7579d23831e1146be
2018-11-07 22:07:06 +00:00
Christoph Blecker d68a744514 Update godeps
Kubernetes-commit: d15da2c586ba27df895c22486b1b527852c6363d
2018-11-06 16:23:59 -08:00
Wenjia Zhang b3e0bfa7c1 update staging godeps for golang.org/x/net/... to release-branch.go1.10
Kubernetes-commit: adf155ee9f9dfa023069282ec195f9eb8d1ce0fe
2018-11-06 15:49:50 -08:00
Kubernetes Publisher bda7ad8c44 Merge pull request #70453 from liggitt/api-owners
Update API-related owners files

Kubernetes-commit: c81a4a09cf07083265591a9f48c53e80c13d3ebd
2018-11-01 01:32:04 +00:00
Jordan Liggitt ca466fe0b0 Update API-related owners files
Kubernetes-commit: 8c20bdaf4661f8764c7a7f2e42674aa6a9bf5d70
2018-10-30 17:05:08 -04:00
Kubernetes Publisher 93e49a87bb Merge pull request #69322 from jpbetz/etcd-client-3.3.9
Update etcd client to 3.3 for 1.13

Kubernetes-commit: a8c7a3fd5e707243af68b10a8a581c2c59248222
2018-10-11 07:43:46 +00:00
Kubernetes Publisher a9337666b2 sync: update godeps 2018-10-09 09:16:00 +00:00
Joe Betz e5bd1648a7 Update etcd client to 3.3.9
Kubernetes-commit: 4263c752115c3796ee5715c7de4cbc2e237809d3
2018-10-01 16:53:57 -07:00
Kubernetes Publisher 481b4013cb Merge pull request #68195 from luxas/consolidate_componentconfig_code_standards
Automatic merge from submit-queue (batch tested with PRs 67950, 68195). 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.

Consolidate componentconfig code standards

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

This PR fixes a bunch of very small misalignments in ComponentConfig packages:
 - Add sane comments to all functions/variables in componentconfig `register.go` files
 - Make the `register.go` files of componentconfig pkgs follow the same pattern and not differ from each other like they do today.
 - Register the `openapi-gen` tag in all `doc.go` files where the pkg contains _external_ types.
 - Add the `groupName` tag where missing
 - Fix cases where `addKnownTypes` was registered twice in the `SchemeBuilder`
 - Add `Readme` and `OWNERS` files to `Godeps` directories if missing.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```

/assign @sttts @thockin

Kubernetes-commit: a6eb49f0dc9a6d9fecf7ff4a8edeaa382b55ac50
2018-09-09 20:48:53 +00:00
Lucas Käldström 2f5cf004fe Standardize componentconfig code/comment patterns
Kubernetes-commit: 83d53ea1c2aeda3619c3aafeb9cf7e50c124058e
2018-09-06 13:42:02 +03:00
Kubernetes Publisher 4a2a2a430c Merge pull request #66840 from janetkuo/job-ttl
Automatic merge from submit-queue (batch tested with PRs 66840, 68159). 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.

TTL for cleaning up Jobs after they finish

**What this PR does / why we need it**: https://github.com/kubernetes/features/issues/592

**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 #64470 
For https://github.com/kubernetes/features/issues/592

**Special notes for your reviewer**: @kubernetes/sig-apps-pr-reviews 

**Release note**:

```release-note
Add a TTL machenism to clean up Jobs after they finish.
```

Kubernetes-commit: c50a3471242fa33a111d493711c3477e691ccdea
2018-09-04 20:49:35 -07:00
Kubernetes Publisher b072c8ef26 Merge pull request #67469 from stewart-yu/stewart-controller-manager-kubecomponentconfig
Automatic merge from submit-queue (batch tested with PRs 65074, 67469). 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.

Move kube-controller-manager ComponentConfig external types to `k8s.io/kube-controller-manager`

**What this PR does / why we need it**:
As the title describe:
split `kube-controller-manager` component api into their own packages:

- external component api located in `k8s.io/kube-controller-manager/config/v1alpha/types.go`;
- internal component api located in `pkg/controller/apis/config/types.go`

**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 #
ref: [kubernetes/community#2354](https://github.com/kubernetes/community/pull/2354)

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```

Kubernetes-commit: 1fc36a5743bc02d62ddaac6cd41b71f0ef191ce2
2018-09-09 20:48:53 +00:00
Dr. Stefan Schimanski f604b8f180 Initial commit 2018-09-07 09:26:23 +02:00
Janet Kuo a8d03f8010 Autogen
make clean && make generated_files

Kubernetes-commit: 13b76d5fb4eb680a78eb9760f8bf0b2dd4d75d9c
2018-09-04 11:24:24 -07:00
stewart-yu 0e426cdd38 add OWNERS file
Kubernetes-commit: 3fd3e40803776a54613739274ba6cbb5df47b00b
2018-08-29 10:44:06 +08:00
stewart-yu b26487f065 [kube-controller-manager] auto-generated file
Kubernetes-commit: cef2ab756cc69415ef4af741da1b669c9a612ad2
2018-09-04 13:39:13 +08:00
stewart-yu 2b2942ee71 [kube-controller-manager] auto-generated file about run godeps
Kubernetes-commit: 3f50614ff7b91a4d1263fd332b26df83f8578eee
2018-08-16 10:17:45 +08:00
stewart-yu 8d7e64fff8 [kube-controller-manager] create package to hold kube-controller-manager component api
Kubernetes-commit: 1c6c45563f4fb959de2880cd57e490ba5b921766
2018-09-04 19:02:08 +08:00
stewart-yu b18b7e2ada [kube-controller-manager] just only remove struct and default about KubeControllerManagerConfiguration from pkg/apis/componentconfig
Kubernetes-commit: be4a437e71f11f5d2467ae515a2487a58b9e4ecb
2018-09-04 17:57:13 +08:00
Janet Kuo 2c92bd60c2 Make number of workers configurable
Kubernetes-commit: cbdc9b671f33b0f0679e790cc462b25d1476a3af
2018-08-14 15:31:32 -07:00