Commit Graph

41 Commits (1a01154162341dfff89f9526324b30f1cfccec64)

Author SHA1 Message Date
Jeff Grafton a92c26d843 bazel: create genrules to produce debs and RPMs without arch-specific names 2019-02-23 15:44:34 -08:00
Jeff Grafton 02987016cc Mark lots of things with tag 'manual' 2019-02-22 18:50:21 -08:00
Jeff Grafton dfdfc2e5b8 Make debs, rpms, and docker images multiarch 2019-02-22 18:50:18 -08:00
Jeff Grafton e216995ef1 Update repo-infra, bazel-skylib, rules_docker, and rules_go dependencies
Also require bazel 0.18.0+
2019-02-12 17:55:10 -08:00
Roy Lenferink b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Benjamin Elder 4cd93dada4 add CNI_VERSION to build/workspace.bzl, use it to dedupe version 2018-12-03 20:19:47 -08:00
Duffie Cooley 2d7b386193
Add conntrack as a dependency of kubelet
FIXES: https://github.com/kubernetes/kubeadm/issues/1287

- This commit integrates the work of @jdetiber to fix bazel build
//build/rpms and also addresses an issue where not all common versions
of rpmbuild have the %{_sysctldir} macro.

- Since that macro points to /usr/lib/sysctl.d this commit just points
directly to that dir.

- This also adds conntrack as a dependency of kubelet for both rpm and
deb builds.

Signed-off-by: Duffie Cooley <dcooley@heptio.com>
2018-11-29 10:08:07 -08:00
Jason DeTiberus 3ee10e9ceb
Fix bazel //build/rpms
- Also update the kubernetes-cni requirement for both debs and rpms
  to match release packaging.
2018-11-28 16:51:59 -08:00
Ashwani Khemani a7ecb562b3 changes for update-bazel script 2018-10-25 10:57:24 -05:00
Ashwani Khemani b929ba01ef changes done to enable br_filter and ip_forward for debian packages 2018-10-25 10:55:13 -05: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
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 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
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
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
Lucas Käldström 42b7940a4b
cri-tools deb: Rename cri_tools to the correct cri-tools 2018-06-18 21:48:34 +03:00
Chuck Ha 03456a33f9
Adds a crictl package for kubeadm installs
Closes kubernetes/kubeadm#811

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-06-07 10:04:03 -04:00
Lucas Käldström b930d7f915
kubeadm: Update the dropin for the kubelet in v1.11 2018-06-05 20:16:40 +03:00
Jeff Grafton 1b503e0e3d Use the pkg_tar wrapper from kubernetes/repo-infra 2018-01-18 17:10:16 -08:00
Jonathan Basseri 85c5862552 Fix scheduler refs in BUILD files.
Update references to moved scheduler code.
2018-01-05 15:05:01 -08:00
Lucas Käldström cbd63cfd15 Fix kubeadm e2e CI build 2017-10-25 16:17:38 +01:00
Alexander Kanevskiy b0e1641f97 Improve deb and rpm packaging
- kubernetes-cni package now has proper version (0.5.1)
- Synchronize post-1.8 version of 10-kubeadm.conf file from release
  repository.
- Fix dependencies
- Improve descriptions in produced packages
2017-09-28 21:59:01 +03:00
Kubernetes Submit Queue 523ec9c78a Merge pull request #52304 from luxas/deb_owners
Automatic merge from submit-queue

Add OWNERS for build/debs

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

Makes this directory reflect the actual ownership over this file.
@mikedanese, @pipejakob and myself have worked on the kubeadm e2e CI and the building of debs using bazel, which this folder is responsible for.

@jbeda is already implicitely an owner here

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

```release-note
NONE
```
@kubernetes/sig-cluster-lifecycle-pr-reviews
2017-09-12 11:44:44 -07:00
Lucas Käldström 0ec5e0fd7a
Add OWNERS for build/debs 2017-09-11 22:02:44 +03:00
Lucas Käldström 84976f0ae2
kubeadm: Enable certificate rotation 2017-09-08 22:32:42 +03:00
Alexander Kanevskiy 19cb090381 Generate deb and rpms package with correct versions. 2017-09-01 00:20:29 +03:00
Mike Danese fe7ba9e748 kubeadm: use kubelet bootstrap instead of reimplementing 2017-07-27 09:21:24 -07:00
Michael Taufen 38aee0464d Providing kubeconfig file is now the switch for standalone mode
Replaces use of --api-servers with --kubeconfig in Kubelet args across
the turnup scripts. In many cases this involves generating a kubeconfig
file for the Kubelet and placing it in the correct location on the node.
2017-07-24 11:03:00 -07:00
Lucas Käldström c257eb358f
Reflect kubeadm-specific kubelet changes in the bazel debs 2017-06-26 09:29:27 +03:00
Mike Danese fd9c017d2d bazel: build rpms to match the debs that we output 2017-05-16 09:17:30 -07:00
Jeff Grafton e231d4280b Replace git_repository with http_archive and use ixdy's fork of bazel tools for pkg_tar 2017-05-03 10:13:06 -07:00
Kubernetes Submit Queue 46971d6d21 Merge pull request #45120 from ixdy/bazel-push-build
Automatic merge from submit-queue

Also upload debs to bin/$OS/$ARCH

**What this PR does / why we need it**: the bazel-built debs are used by the kubeadm e2e tests, so upload them too.

https://github.com/kubernetes/kubernetes/pull/44591#issuecomment-298084453

/assign @pipejakob 
/cc @mikedanese @spxtr 

**Release note**:

```release-note
NONE
```
2017-05-02 15:40:35 -07:00
Jeff Grafton 37eb292bc0 Update bazel build to dockerize cloud-controller-manager 2017-05-02 12:07:13 -07:00
Jeff Grafton f0e0a27f3e Also upload debs to bin/$OS/$ARCH 2017-04-28 13:25:12 -07:00
Mike Danese 82089af496 bazel: delete deb that doesn't build 2017-04-11 14:56:52 -07:00
deads2k 453651cbfc rename kubernetes-discovery to kube-aggregator 2017-01-10 12:27:42 -05:00
Jeff Grafton 20d221f75c Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
Mike Danese 35ca259464 uses debs to build k8s docker images 2017-01-04 15:35:49 -08:00
Jeff Grafton dd7c960aaf Rename build-tools/debs to build/debs 2016-12-15 11:10:23 -08:00