Commit Graph

1047 Commits (166a1356e83b1c271c0d58aa4d3fb69bab713072)

Author SHA1 Message Date
Kubernetes Submit Queue d67a03183a
Merge pull request #67687 from Lion-Wei/remote-reschrduler
Automatic merge from submit-queue. 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 rescheduler since scheduling DS pods by default scheduler is moving to beta

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

remove rescheduler since scheduling DS pods by default scheduler is moving to beta

**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 #64725

**Special notes for your reviewer**:

**Release note**:
```release-note
Remove rescheduler since scheduling DS pods by default scheduler is moving to beta.
```
2018-08-23 12:32:17 -07:00
liangwei 5ea138f4e9 remove rescheduler 2018-08-22 11:49:14 +08:00
Kubernetes Submit Queue 09cdfc5287
Merge pull request #67673 from javier-b-perez/debian-iptables
Automatic merge from submit-queue (batch tested with PRs 67298, 67518, 67635, 67673). 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>.

build/debian-iptables: make: support arguments for base and tag

**What this PR does / why we need it**:
Change debian-iptables makefile to support arguments for base image and tag.

**Special notes for your reviewer**:
Tested locally.

**Release note**:

```release-note
None
```
2018-08-21 18:33:10 -07:00
Javier B Perez 1b849f985b build/debian-iptable: make: support arguments for base and tag 2018-08-21 11:18:04 -07:00
Davanum Srinivas 9b43d97cd4
Add Labels to various OWNERS files
Will reduce the burden of manually adding labels. Information pulled
from:
https://github.com/kubernetes/community/blob/master/sigs.yaml

Change-Id: I17e661e37719f0bccf63e41347b628269cef7c8b
2018-08-21 13:59:08 -04:00
Kubernetes Submit Queue f6eb545ad3
Merge pull request #67365 from ixdy/update-debian-container-images
Automatic merge from submit-queue (batch tested with PRs 67396, 67097, 67395, 67365, 67099). 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>.

Update to debian-iptables v10.1 and hyperkube-base 0.10.1

**What this PR does / why we need it**: these images are based on the `debian-base` 0.3.2 images, which include CVE fixes (#67026) and permission fixes of the qemu-ARCH-static helper binary (#67026, #67283).

**Release note**:

```release-note
NONE
```
2018-08-15 05:45:24 -07:00
Kubernetes Submit Queue b9c17ec0d7
Merge pull request #67157 from dims/drop-kube-aggregator-container-image-from-release
Automatic merge from submit-queue (batch tested with PRs 66177, 66185, 67136, 67157, 65065). 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>.

Drop kube-aggregator container image from release

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

First version of this was only standalone, now the code is integrated into kube-apiserver. So the standalone binary and
container are no longer useful.

Change-Id: Ib9369de66b4ecb3451f73ba2a252526d6615b96f


**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
Remove unused binary and container image for kube-aggregator. The functionality is already integrated into the kube-apiserver.
```
2018-08-15 02:09:16 -07:00
Jeff Grafton 37bb013943 Update to debian-iptables v10.1 and hyperkube-base 0.10.1 2018-08-13 22:32:55 -07:00
Jeff Grafton 296fe185fa Update to use debian-base:0.3.2 2018-08-10 15:37:10 -07:00
Jeff Grafton df788bd66a Add missing tmpdir path to chmod 2018-08-10 15:32:14 -07:00
Jeff Grafton eb796ba1b0 Bump debian-base to 0.3.2 2018-08-09 15:59:25 -07:00
Jeff Grafton 0dee9f150b Only register qemu-user-static when necessary.
Also, don't re-download qemu-ARCH-static binaries for debian-iptables
2018-08-09 15:57:14 -07:00
Jeff Grafton 92fc7f18a2 ensure qemu-ARCH-static binary is world readable and executable 2018-08-09 15:55:20 -07:00
Satyadeep Musuvathy 025a0b3bf3 Upgrade debian-base to 0.3.1 for CVEs 2018-08-08 16:50:10 -07:00
Davanum Srinivas a66e1f089e
Drop kube-aggregator container image from release
First version of this was only standalone, now the code is being
vendored by anyone who wants to use it. So the standalone binary and
container are no longer useful.

Change-Id: Ib9369de66b4ecb3451f73ba2a252526d6615b96f
2018-08-08 15:57:52 -04:00
Kubernetes Submit Queue 32dd25a8ca
Merge pull request #66293 from MaciekPytel/unset_cdpath
Automatic merge from submit-queue (batch tested with PRs 66190, 66871, 66617, 66293, 66891). 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>.

Unset CDPATH in build scripts

**What this PR does / why we need it**:
Currently trying to build k8s fails if you have CDPATH set in your env. This is a minor change that allows building k8s without manually unsetting the variable. 

```release-note
```
2018-08-02 15:42:20 -07:00
Kubernetes Submit Queue b1e9e747fb
Merge pull request #66463 from m1kola/docs_how_to_build_specific_binary
Automatic merge from submit-queue. 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>.

Adds a build example with KUBE_BUILD_PLATFORMS

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

I didn't manage to find any guides about how to build the specific binary for the specific platform in docs (in this repo and in the community repo). Also it was quite hard for me to follow build scripts. At the end, I found help on the kubernetes-dev channel in Slack:`KUBE_BUILD_PLATFORMS` seems to do what I want. I think, would be great to have it documented somehow: The "Key scripts" section of the build doc seems to be a good place to mention it.

**Release note**:

```release-note
NONE
```
2018-07-20 17:21:43 -07:00
Kubernetes Submit Queue 81b072a40b
Merge pull request #66447 from liggitt/api-violation-owner
Automatic merge from submit-queue (batch tested with PRs 66341, 66405, 66403, 66264, 66447). 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>.

Move api rules list under api-approvers-owned package

Additions to this list should be rare and carefully reviewed

```release-note
NONE
```
2018-07-20 16:02:17 -07:00
Mikalai Radchuk 4685f91018 Adds a build example with KUBE_BUILD_PLATFORMS 2018-07-20 20:49:07 +01:00
Kubernetes Submit Queue 25df60bf6b
Merge pull request #66152 from Random-Liu/update-crictl
Automatic merge from submit-queue (batch tested with PRs 66152, 66406, 66218, 66278, 65660). 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>.

Update crictl to v1.11.1.

Update `crictl` to v1.11.1 to fix several bugs. Release note: https://github.com/kubernetes-incubator/cri-tools/releases/tag/v1.11.1

@kubernetes/sig-node-pr-reviews @kubernetes/sig-cluster-lifecycle-pr-reviews 
@kubernetes/sig-gcp-pr-reviews 
Signed-off-by: Lantao Liu <lantaol@google.com>

```release-note
Update crictl to v1.11.1.
```
2018-07-20 12:12:09 -07:00
Jordan Liggitt 9e7fbf42c8
Move api rules list under api-approvers-owned package 2018-07-20 10:16:08 -04:00
Christoph Blecker 5fcad99ee6
Only build generators for building platform 2018-07-19 15:08:11 -07:00
Lantao Liu 330ed52747 Update crictl to v1.11.1.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-07-19 01:02:53 +00:00
Maciej Pytel 6cdec82868 Unset CDPATH in build scripts 2018-07-17 15:06:32 +02:00
Kubernetes Submit Queue 614e3adda0
Merge pull request #65737 from roycaihw/api-linter
Automatic merge from submit-queue (batch tested with PRs 64181, 65737). 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>.

API linter framework and namesMatch API rule

**What this PR does / why we need it**:
Bump kube-openapi dependency to use the [API linter framework](https://github.com/kubernetes/kube-openapi/pull/83) in k/k OpenAPI spec generation procedure. 

Currently one API rule is enforced: 
"Go field names must be CamelCase. JSON field names must be camelCase. Other than capitalization of the initial letter, the two should almost always match. No underscores nor dashes in either."

**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 #65244

**Special notes for your reviewer**:
Most code change in this PR was generated (~1700 lines). Please see commits for detail.

**Release note**:

```release-note
NONE
```

/sig api-machinery
/cc @pwittrock @mbohlool
2018-07-13 18:00:00 -07:00
Haowei Cai 6ad8c5c596 Rename violations.report to violation_exceptions.list 2018-07-11 14:13:12 -07:00
Haowei Cai 3af6061e76 Use kube-openapi cmd in Make rules
check in existing API rule violations;
the Make rule fails if generated violation report differs from the
checked-in violation file and prints error message;
add documentation.
2018-07-10 17:53:24 -07:00
Benjamin Elder ca79547e92 fix visibility of testdata for //test/cmd:legacy-script 2018-07-06 16:08:20 -07:00
Kubernetes Submit Queue f29c1301a3
Merge pull request #65726 from ixdy/golang-1.10.3
Automatic merge from submit-queue (batch tested with PRs 65677, 65711, 65150, 65726). 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>.

Update to go1.10.3

**What this PR does / why we need it**: updates to build with go1.10.3; see list of changes [here](https://github.com/golang/go/issues?q=milestone%3AGo1.10.3).

We'll probably want to cherrypick this to release-1.11 as well.

**Release note**:

```release-note
Update to use go1.10.3
```

/assign @BenTheElder @cblecker
2018-07-03 16:35:14 -07:00
Kubernetes Submit Queue 2a54f83ef1
Merge pull request #65554 from rdodev/kubelet-postinstall-step
Automatic merge from submit-queue. 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>.

bazel: kubelet deb package postinstall step

**What this PR does / why we need it**:
Presently bazel build .deb (kubelet.deb specifically) does not auto-restart after installation. Adding a postinst control file fixes this.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
kubernetes/kubeadm#944
**Special notes for your reviewer**:

@chuckha  

```release-note
bazel deb package bugfix: The kubeadm deb package now reloads the kubelet after installation
```
2018-07-03 10:14:28 -07:00
Jeff Grafton 0333b8aadc Update to go1.10.3 2018-07-02 15:46:40 -07:00
Ruben Orduz 512eb62eeb adds post install step to kubeadm deb built by bazel
Signed-off-by: Ruben Orduz <rubenoz@gmail.com>
2018-07-02 17:10:50 -04:00
Kubernetes Submit Queue b525becead
Merge pull request #65319 from MaciekPytel/gke_manifests
Automatic merge from submit-queue (batch tested with PRs 65319, 64513, 65474, 65601, 65634). 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>.

Allow custom manifests in GCP master setup

Add a hook in GCE setup script to allow using custom manifests on master, so we can decouple some GKE changes from k8s. Note that this PR just adds a hook there is no change in default behavior.

```release-note
```
2018-06-29 12:15:05 -07:00
Maciej Pytel 7119c8bd07 Allow custom manifests in GCP master setup 2018-06-29 15:49:54 +02:00
Kubernetes Submit Queue 639fbaf9e2
Merge pull request #65338 from andrewsykim/65337
Automatic merge from submit-queue (batch tested with PRs 65338, 64535). 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 cloud-controller-manager deb from releases

**What this PR does / why we need it**:
Stop including cloud controller manager deb from Kubernetes releases. 

**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 # https://github.com/kubernetes/kubernetes/issues/65337 

```release-note
NONE
```
2018-06-22 21:28:02 -07:00
Jeff Grafton 4c7c058a61 Remove go_prefix from root BUILD file 2018-06-22 16:22:57 -07:00
Jeff Grafton 095a9e53ca Use new go_genrule from kubernetes/repo-infra based on go_path 2018-06-22 16:22:57 -07:00
Jeff Grafton e7f1eaf289 update to rules_go 0.12.1 2018-06-22 16:22:18 -07:00
Jeff Grafton bfc2d7bdd7 gazelle: disable proto rules 2018-06-22 16:22:18 -07:00
andrewsykim 3a002eaf26 remove cloud-controller-manager deb from releases 2018-06-22 19:11:38 -04:00
Kubernetes Submit Queue d0ff465b1c
Merge pull request #65313 from chuckha/cri-tools-dep
Automatic merge from submit-queue (batch tested with PRs 65301, 65291, 65307, 63845, 65313). 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>.

Adds cri-tools as a dependency to kubeadm deb/rpms

Closes kubernetes/kubeadm#942

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

**What this PR does / why we need it**:
This PR adds cri-tools as a dependency to kubeadm. Kubeadm code now requires crictl to exist on the system or an ignorable error will be thrown during init.

**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#942

**Special notes for your reviewer**:
I'm making a similar PR in the release repo as well.

**Release note**:
```release-note
NONE
```
2018-06-22 03:08:20 -07:00
Kubernetes Submit Queue ee7e59b756
Merge pull request #65321 from luxas/rpm_owners
Automatic merge from submit-queue. 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>.

Add OWNERS file for rpm packages to mirror the debs

**What this PR does / why we need it**:
Makes the rpm bazel package OWNERS match the deb one
Adds @chuckha as reviewer and @timothysc as an approver for both

**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/sig-cluster-lifecycle-pr-reviews @ixdy
2018-06-21 15:25:27 -07:00
Lucas Käldström b8e31b5306
Add OWNERS file for rpm packages to mirror the debs 2018-06-21 19:43:37 +03:00
Chuck Ha 2b8482aa29
Adds cri-tools as a dependency to kubeadm deb/rpms
Closes kubernetes/kubeadm#942

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-06-21 09:50:06 -04:00
William Zhang fc0d2d0009
The shell script shoud be "build/shell.sh"
The shell script shoud be "build/shell.sh"
2018-06-21 09:22:35 +00:00
Kubernetes Submit Queue f3a153f284
Merge pull request #65230 from chuckha/critools
Automatic merge from submit-queue (batch tested with PRs 65230, 57355, 59174, 63698, 63659). 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>.

Bumps cri-tools version to GA in bazel build

Fixes kubernetes/kubeadm#903

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

**What this PR does / why we need it**:
This PR bumps cri-tools version to appropriate version for k8s 1.11

**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#903

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-06-19 20:19:08 -07:00
Kubernetes Submit Queue 8bc2fb0207
Merge pull request #54372 from thockin/make-genfiles-cleanup
Automatic merge from submit-queue. 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>.

Overhaul Makefile for generated code

Calculate all go dependencies in a single Go program, rather than a complicated series of `go list` invocations and `Makefile` logic.  This simplifies the
Makefile dramatically.

Also adds tests to ensure the dependencies stay correct.  This test is pretty slow, though.

Also fixes a few anomalies found by the test.

Fixes #54371

```release-note
NONE
```
2018-06-19 18:43:43 -07:00
Chuck Ha 30181e542d
Bumps cri-tools version to GA in bazel build
Fixes kubernetes/kubeadm#903

The version in the spec file must be hardcoded because the `{filename}`
syntax in the tar command is a substitutaion by bazel which happens before
the spec file does its ownt %{} substitutions. Therefore, if we use %{version}
bazel will not be able to find {crictl-v%{version}-...} in its list of
files so no substituation will take place and the file will not be found.

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-06-19 14:55:41 -04:00
Lucas Käldström 42b7940a4b
cri-tools deb: Rename cri_tools to the correct cri-tools 2018-06-18 21:48:34 +03:00
immutablet 02e57ac118 Add kms-plugin-container.manifest to release manifest tarball. 2018-06-12 16:04:20 -07:00