Commit Graph

6139 Commits (a90d81620b9b1c9d31758e3faad6f60917f3ed6f)

Author SHA1 Message Date
Kubernetes Submit Queue 683f09c65e Merge pull request #50101 from bowei/owners
Automatic merge from submit-queue

Update OWNERS files for networking components

This will reduce the approval load for the top level tree owners

```release-note
NONE
```
2017-08-18 11:14:16 -07:00
Jeffrey Regan dbc22ad6fd Remove kubectl's dependence on schema file in pkg/api/validation.
**What this PR does / why we need it**:

Makes functions in validation/schema.go private to kubectl,
further isolating kubectl.

**Which issue this PR fixes**

Part of a series of PRs to address kubernetes/community#598

**Release note**:
```release-note
NONE
```
2017-08-16 16:38:28 -07:00
Marcin Wielgus aac6f40f4e Bump Cluster Autoscaler to 0.6.1 2017-08-16 02:02:57 +02:00
Arve Knudsen 7e3b8a59dc Base Fluentd image off debian:stretch-slim for systemd with LZ4 2017-08-15 15:55:13 +02:00
Kubernetes Submit Queue 55160e7cc1 Merge pull request #49322 from bsalamat/priority_admission
Automatic merge from submit-queue

Add Priority admission controller

**What this PR does / why we need it**: Add Priority admission controller. This admission controller checks creation and update of PriorityClasses. It also resolves a PriorityClass name of a pod to its integer value.

**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
Add Priority admission controller for monitoring and resolving PriorityClasses.
```

ref/ #47604
ref/ #48646
2017-08-15 03:13:15 -07:00
Kubernetes Submit Queue 7097b64308 Merge pull request #50633 from Cynerva/gkk/fix-labels-flake
Automatic merge from submit-queue (batch tested with PRs 50302, 50573, 50500, 50633, 50617)

Fix kubernetes-worker charm hook failure when applying labels

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

This fixes a failure that can occur in the kubernetes-worker charm when trying to apply node labels.

The failure is rare, and can occur in two situations that I've seen:
1. kube-apiserver is not up yet
2. kubelet has not registered itself as a node yet

Rather than give up right away, let's give the services a minute to come up.

**Release note**:

```release-note
Fix kubernetes-worker charm hook failure when applying labels
```
2017-08-14 20:42:23 -07:00
Kubernetes Submit Queue 66e692d171 Merge pull request #50636 from piosz/heap-bump
Automatic merge from submit-queue

Bumped Heapster version to 1.4.1
2017-08-14 14:49:07 -07:00
Piotr Szczesniak 31a822ee07 Bumped Heapster version to 1.4.1 2017-08-14 21:44:58 +02:00
George Kraft 6a354c6d29 Fix kubernetes-worker charm hook failure when applying labels 2017-08-14 13:38:07 -05:00
Kubernetes Submit Queue bc1a58ae3a Merge pull request #50614 from mwielgus/ca-0.6.1-beta2
Automatic merge from submit-queue

Set Cluster Autoscaler version to 0.6.1-beta2

To stabilise CA e2e tests.
2017-08-14 08:37:00 -07:00
Kubernetes Submit Queue 5e0a539cf1 Merge pull request #50611 from crassirostris/fix-kibana-startup
Automatic merge from submit-queue

Increase kibana CPU limit to sped up the startup

Similarly to Elasticsearch, Kibana requires some additional CPU during startup to build caches. 

Fixes https://github.com/kubernetes/kubernetes/issues/50610

/cc @piosz @coffeepac @aknuds1
2017-08-14 07:38:09 -07:00
Marcin Wielgus 38135a58b2 Set cluster autoscaler version to 0.6.1-beta2 2017-08-14 16:26:59 +02:00
Kubernetes Submit Queue bdf78980cc Merge pull request #49629 from wojtek-t/delete_v2_data_before_3_1_upgrade
Automatic merge from submit-queue (batch tested with PRs 50139, 49629)

Remove etcd v2 data when upgrading to 3.1.* version

@jpbetz @lavalamp
2017-08-14 04:01:52 -07:00
Mik Vyatskov 1b0e32480c Increase kibana CPU limit to sped up the startup 2017-08-14 11:49:32 +02:00
Kubernetes Submit Queue 00145732f5 Merge pull request #50520 from shyamjvs/allow-kubemark-test-args
Automatic merge from submit-queue

Add variables for passing test args to kubemark master components

cc @msau42 - This change will enable us to turn on extender in the scheduler in kubemark-scale job
2017-08-11 21:29:03 -07:00
Kubernetes Submit Queue 276bfb8cf1 Merge pull request #50506 from bskiba/external_config
Automatic merge from submit-queue (batch tested with PRs 50485, 49951, 50508, 50511, 50506)

Pass config to external Kubemark cluster in e2e tests

When cluster autoscaler is used in kubemark tests,
pass default kubeconfig as external cluster config.

@shyamjvs @gmarek 

**Release note**:
```
NONE
```
2017-08-11 20:38:01 -07:00
Kubernetes Submit Queue b0e066eed2 Merge pull request #50511 from crassirostris/fix-event-exporter
Automatic merge from submit-queue (batch tested with PRs 50485, 49951, 50508, 50511, 50506)

Update Stackdriver event exporter version

Fixes https://github.com/kubernetes/kubernetes/issues/50510
2017-08-11 20:37:58 -07:00
Kubernetes Submit Queue 8c63333fd0 Merge pull request #50525 from mwielgus/ca-0.7.0-alpha1
Automatic merge from submit-queue

Bump Cluster Autoscaler to 0.7.0-alpha1

To use more recent CA built from HEAD.
2017-08-11 15:03:47 -07:00
Jeff Grafton a7f49c906d Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
Jeff Grafton 33276f06be Use buildozer to remove deprecated automanaged tags 2017-08-11 09:31:50 -07:00
Marcin Wielgus b9fb04286f Bump Cluster Autoscaler to 0.7.0-alpha1 2017-08-11 18:15:21 +02:00
Shyam Jeedigunta 60e313bc19 Add variables for passing test args to kubemark master components 2017-08-11 16:03:47 +02:00
Beata Skiba ec73d28e1b Pass config to external Kubemark cluster in e2e tests
When cluster autoscaler is used in kubemark tests,
pass default kubeconfig as external cluster config.
2017-08-11 14:07:07 +02:00
Mik Vyatskov d64c8809af Update Stackdriver event exporter version 2017-08-11 12:11:25 +02:00
Kubernetes Submit Queue a755d3e577 Merge pull request #50386 from crassirostris/change-audit-policy
Automatic merge from submit-queue (batch tested with PRs 50386, 50374, 50444, 50382)

Add explicit API kind and version to the audit policy file on GCE

Adds an explicit API version and kind to the audit policy file in GCE configuration scripts. It's a prerequisite for https://github.com/kubernetes/kubernetes/pull/49115

/cc @tallclair @piosz
2017-08-10 05:33:54 -07:00
Kubernetes Submit Queue 0a981d4921 Merge pull request #50391 from pipejakob/get-kube-breakglass
Automatic merge from submit-queue (batch tested with PRs 49725, 50367, 50391, 48857, 50181)

New get-kube.sh option: KUBERNETES_SKIP_RELEASE_VALIDATION

**What this PR does / why we need it**:
This is an alternative solution to https://github.com/kubernetes/kubernetes/pull/49884. The goal is to be able to pull releases that were built by bazel jobs (both presubmit and postsubmit builds), which currently fail our regex validation against the version string.

This implementation is a simple "I know what I'm doing" breakglass option to turn regex validation off, whereas https://github.com/kubernetes/kubernetes/pull/49884 was to extend our validation to support the new formats of bazel build jobs. I'm testing the waters to see if this is a more palatable solution.

**Release note**:

```release-note
New get-kube.sh option: KUBERNETES_SKIP_RELEASE_VALIDATION
```

CC @BenTheElder @fejta @ixdy
2017-08-10 01:47:17 -07:00
Kubernetes Submit Queue 4e1d1dedab Merge pull request #50372 from x13n/fluentd
Automatic merge from submit-queue (batch tested with PRs 50300, 50328, 50368, 50370, 50372)

Bugfix: set resources only for fluentd-gcp container.

There is more than one container in fluentd-gcp deployment. Previous
implementation was setting resources for all containers, not just
the fluent-gcp one.

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

Bugfix; https://github.com/kubernetes/kubernetes/pull/49009 without this is eating more resources.

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

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2017-08-09 22:58:30 -07:00
Kubernetes Submit Queue c653437377 Merge pull request #50338 from zmerlynn/die-gke-die
Automatic merge from submit-queue

GKE deployment: Kill cluster/gke

kubernetes/test-infra#3983 migrated the remaining GKE jobs using the bash deployment (cluster/gke). All jobs are now on the gke `deployer` in `kubetest`.

Fixes kubernetes/test-infra#3307

```release-note
`cluster/gke` has been removed. GKE end-to-end testing should be done using `kubetest --deployment=gke`
```
2017-08-09 17:14:26 -07:00
Jacob Beacham e77830c71d New get-kube.sh option: KUBERNETES_SKIP_RELEASE_VALIDATION 2017-08-09 11:42:24 -07:00
Mik Vyatskov 782d87c405 Add explicit API kind and version to the audit policy file on GCE 2017-08-09 19:14:41 +02:00
Daniel Kłobuszewski b7935b9699 Bugfix: set resources only for fluentd-gcp container.
There is more than one container in fluentd-gcp deployment. Previous
implementation was setting resources for multiple containers, not just
the fluent-gcp one.
2017-08-09 15:44:06 +02:00
Kubernetes Submit Queue 3655685d64 Merge pull request #50330 from mwielgus/default-pricing
Automatic merge from submit-queue

Ensure that pricing expander is used by default in Cluster Autoscaler

Pricing expander was set as the default one for GCP, however on some occasion it was possible that AUTOSCALER_EXPANDER_CONFIG variable was not set resulting in using the the random expander.
2017-08-09 04:30:09 -07:00
Kubernetes Submit Queue 65574809cd Merge pull request #50333 from shyamjvs/add-debug-to-logexporter
Automatic merge from submit-queue (batch tested with PRs 50173, 50324, 50288, 50263, 50333)

Add debug logs to log-dump

ref https://github.com/kubernetes/test-infra/issues/3981

cc @fejta @krzyzacy
2017-08-09 02:22:00 -07:00
Kubernetes Submit Queue 5793be779b Merge pull request #50290 from piosz/mon-heapster
Automatic merge from submit-queue

Added monitoring sidecar for Heapster
2017-08-08 16:31:06 -07:00
Zach Loafman 0f12159ccd GKE deployment: Kill cluster/gke
kubernetes/test-infra#3983 migrated the remaining GKE jobs using the
bash deployment (cluster/gke).

Fixes kubernetes/test-infra#3307
2017-08-08 13:47:16 -07:00
Shyam Jeedigunta 7456716120 Add debug logs to log-dump 2017-08-08 21:43:09 +02:00
Marcin Wielgus d0bedba9e1 Ensure that pricing expander is used by default in Cluster Autoscaler 2017-08-08 20:52:07 +02:00
Shyam Jeedigunta 2eafc562fa Block on master-creation step for large clusters (>50 nodes) in kube-up 2017-08-08 14:09:15 +02:00
Piotr Szczesniak bad549d725 Added monitoring sidecar for Heapster 2017-08-08 13:15:43 +02:00
Kubernetes Submit Queue e2baa8e11c Merge pull request #49855 from zouyee/kiq
Automatic merge from submit-queue (batch tested with PRs 49855, 49915)

update dashboard image version

fix https://github.com/kubernetes/kubernetes/issues/50195
**What this PR does / why we need it:**
Updates dashboard addon to latest version. Changelog can be found [here](https://github.com/kubernetes/dashboard/releases/tag/v1.6.3).

**Release note:**
```
Update dashboard version to v1.6.3
```
2017-08-05 19:07:50 -07:00
Kubernetes Submit Queue 70b4db2023 Merge pull request #50082 from crassirostris/cleanup-fluentd-es
Automatic merge from submit-queue (batch tested with PRs 48532, 50054, 50082)

Refactored the fluentd-es addon

Refactor fluentd-elasticsearch addon:

- Decrease the number of files by moving RBAC-related objects in the same files where they're used
- Move the fluentd configuration out of the image
- Don't use PVC to avoid leaking resources in e2e tests
- Fluentd now ingest docker and kubelet logs that are written to journald
- Disable X-Pack, because it's not free

Fixes https://github.com/kubernetes/kubernetes/issues/41462
Fixes https://github.com/kubernetes/kubernetes/issues/49816
Fixes https://github.com/kubernetes/kubernetes/issues/48973
Fixes https://github.com/kubernetes/kubernetes/issues/49450

@aknuds1 @coffeepac Could you please take a look?

```release-note
Fluentd DaemonSet in the fluentd-elasticsearch addon is configured via ConfigMap and includes journald plugin
Elasticsearch StatefulSet in the fluentd-elasticsearch addon uses local storage instead of PVC by default
```
2017-08-05 05:14:03 -07:00
Kubernetes Submit Queue 361079af43 Merge pull request #49009 from x13n/fluentd
Automatic merge from submit-queue (batch tested with PRs 48487, 49009, 49862, 49843, 49700)

Enable overriding fluentd resources in GCP

**What this PR does / why we need it**: This enables overriding fluentd resources in GCP, when there is a need for custom ones.

**Release note**:

```release-note
NONE
```
2017-08-04 23:40:02 -07:00
Kubernetes Submit Queue b070227e89 Merge pull request #48366 from wongma7/flex-e2e
Automatic merge from submit-queue (batch tested with PRs 50119, 48366, 47181, 41611, 49547)

Add basic install and mount flexvolumes e2e tests

fixes https://github.com/kubernetes/kubernetes/issues/47010

These two tests install a skeleton "dummy" flex driver, attachable and non-attachable respectively, then test that a pod can successfully use the flex driver. They are labeled disruptive because kubelet and controller-manager get restarted as part of the flex install. IMO it's important to keep this install procedure as part of the test to isolate any bugs with the startup plugin probe code.

There is a bit of an ugly dependency on cluster/gce/config-test.sh because --flex-volume-plugin-dir must be set to a dir that's readable from controller-manager container and writable by the flex e2e test. The default path is not writable on GCE masters with read-only root so I picked a location that looks okay.

In the "dummy" drivers I trick kubelet into thinking there is a mount point by doing "mount -t tmpfs none ${MNTPATH} >/dev/null 2>&1", hope that is okay.

I have only tested on GCE and theoretically they may work on AWS but I don't think there is a need to test on multiple cloudproviders.

-->
```release-note
NONE
```
2017-08-04 14:29:34 -07:00
Mik Vyatskov 46f53daef0 Refactored the fluentd-es addon files, moved the fluentd configuration to ConfigMap 2017-08-04 20:05:15 +02:00
Kubernetes Submit Queue 4a8d041c4c Merge pull request #50088 from wojtek-t/ha_etcd_migration
Automatic merge from submit-queue

Fix etcd migration for HA clusters

@jpbetz 

Fix #43600
2017-08-04 09:44:14 -07:00
Matthew Wong 55a417e84f Add basic install and mount flexvolumes e2e tests 2017-08-04 10:39:24 -04:00
Kubernetes Submit Queue 68a722155b Merge pull request #50096 from nicksardo/bump-glbc-0.9.6
Automatic merge from submit-queue (batch tested with PRs 46685, 49863, 50098, 50070, 50096)

GCE: Bump GLBC version to 0.9.6

Closes #50095

**Release note**:
```release-note
GCE: Bump GLBC version to 0.9.6
```
2017-08-04 00:21:00 -07:00
Kubernetes Submit Queue d15baf69e1 Merge pull request #48969 from ixdy/update-kazel
Automatic merge from submit-queue (batch tested with PRs 50103, 49677, 49449, 43586, 48969)

Run kazel on the entire tree

**What this PR does / why we need it**: part of #47558: auto-generate `BUILD` files on the entire tree, since this is what `gazelle` does, and it'll make subsequent reviews easier if less is changing.

**Release note**:

```release-note
NONE
```
/assign
/release-note-none
2017-08-03 16:43:41 -07:00
Bowei Du 2f8dbae9be Update OWNERS files for networking components
This will reduce the approval load for the top level tree owners
2017-08-03 11:08:54 -07:00
Nick Sardo 97114d7343 Bump GLBC version to 0.9.6 2017-08-03 08:39:12 -07:00