Commit Graph

1289 Commits (8cbbbac27d427668a655fd704c6db17904520e42)

Author SHA1 Message Date
Marcin Wielgus 6ae3abd606 Bump Cluster Autoscaler to 0.7.0-beta1 2017-09-13 14:06:59 +02:00
Joe Betz 321420e1c9 Small fix in salt manifest for kube-apiserver for request-timeout flag 2017-09-11 16:37:38 -07:00
Kubernetes Submit Queue 11740e81ca Merge pull request #52171 from mwielgus/bskiba-owner
Automatic merge from submit-queue

Add bskiba to cluster-autoscaler config owners

Bskiba is a member of the Autoscaling team @ Google.
2017-09-08 08:28:33 -07:00
Marcin Wielgus fbb2db675b Add bskiba to cluster-autoscaler config owners 2017-09-08 16:00:14 +02:00
Marcin Wielgus ac4d7001d8 Bump cluster autoscaler to 0.7.0-alpha3 2017-09-08 15:54:48 +02:00
Marcin Wielgus 2da4b800db Bump cluster autoscaler to 0.7.0-alpha2 2017-09-06 13:24:03 +02:00
Kubernetes Submit Queue 712cb4d3e9 Merge pull request #51737 from MrHohn/kube-proxy-owner
Automatic merge from submit-queue (batch tested with PRs 51553, 51538, 51663, 51069, 51737)

Edit owner files for kube-proxy manifests

**What this PR does / why we need it**: We should have owner file for kube-proxy daemonset manifest.

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

**Special notes for your reviewer**:
/assign @bowei @thockin 
cc @dnardo @freehan @nicksardo 

**Release note**:

```release-note
NONE
```
2017-09-02 21:58:06 -07:00
Kubernetes Submit Queue 5632613c5b Merge pull request #51069 from MrHohn/kube-proxy-pod-priority
Automatic merge from submit-queue (batch tested with PRs 51553, 51538, 51663, 51069, 51737)

Allow enable pod priority feature gate for GCE and configure priority for kube-proxy

**What this PR does / why we need it**:
From #23225, this PR adds an option for user to enable pod priority feature gate using GCE startup scripts, and configure pod priority for kube-proxy when enabled.

The setup `priorityClassName: system` derives from: ce1485c626/staging/src/k8s.io/api/core/v1/types.go (L2536-L2542)

The plan is to configure pod priority for kube-proxy daemonset (https://github.com/kubernetes/kubernetes/pull/50705) in the same way.

**Special notes for your reviewer**:
cc @bsalamat @davidopp @thockin 

**Release note**:

```release-note
When using kube-up.sh on GCE, user could set env `ENABLE_POD_PRIORITY=true` to enable pod priority feature gate.
```
2017-09-02 21:58:04 -07:00
Matt Liggett ef0503b834 Add KUBE_APISERVER_REQUEST_TIMEOUT_SEC env var.
If set, connect it to kube-apiserver's --request-timeout flag.
2017-08-31 14:33:10 -07:00
Zihong Zheng 690ca9550d Edit owner files for kube-proxy 2017-08-31 13:56:47 -07:00
Zihong Zheng f2def6575c Configure pod priority for kube-proxy when enabled 2017-08-29 10:06:51 -07:00
Kubernetes Submit Queue 04b3ab9aba Merge pull request #50705 from MrHohn/kube-proxy-ds
Automatic merge from submit-queue (batch tested with PRs 50932, 49610, 51312, 51415, 50705)

Allow running kube-proxy as a DaemonSet when using kube-up.sh on GCE

**What this PR does / why we need it**:
From #23225, this PR adds an option for user to run kube-proxy as a DaemonSet instead of static pods using GCE startup scripts. By default, kube-proxy will run as static pods.

This is the first step for moving kube-proxy into a DaemonSet in GCE, remaining tasks will be tracked on #23225.

**Special notes for your reviewer**:
The last commit are purely for testing out kube-proxy as daemonset via CIs.

cc @kubernetes/sig-network-misc @kubernetes/sig-cluster-lifecycle-misc 

**Release note**:

```release-note
When using kube-up.sh on GCE, user could set env `KUBE_PROXY_DAEMONSET=true` to run kube-proxy as a DaemonSet. kube-proxy is run as static pods by default.
```
2017-08-29 01:17:45 -07:00
Zihong Zheng 6d35b94fc3 Add kube-proxy daemonset track to GCE startup scripts (GCI, Debian and CoreOS). 2017-08-28 13:31:07 -07:00
Zihong Zheng 79f2dc6ac4 Add kube-proxy daemonset as a cluster addon. 2017-08-24 18:56:00 -07:00
Di Xu 7c72594c85 update related files 2017-08-24 17:49:18 +08:00
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
Marcin Wielgus aac6f40f4e Bump Cluster Autoscaler to 0.6.1 2017-08-16 02:02:57 +02:00
Marcin Wielgus 38135a58b2 Set cluster autoscaler version to 0.6.1-beta2 2017-08-14 16:26:59 +02:00
Marcin Wielgus b9fb04286f Bump Cluster Autoscaler to 0.7.0-alpha1 2017-08-11 18:15:21 +02: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
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
Kubernetes Submit Queue d2c5dd64ee Merge pull request #49222 from yujuhong/fix-l7-backend
Automatic merge from submit-queue (batch tested with PRs 49222, 49333, 48708, 49337)

glbc: change the label of the l7-lb-controller pod

This ensures that the default http backend service doesn't include this
pod as its endpoint. This fixes #49159
2017-07-20 23:01:16 -07:00
Kubernetes Submit Queue 35d6cf086c Merge pull request #49212 from kawych/master
Automatic merge from submit-queue

Bump rescheduler version to v0.3.1

**What this PR does / why we need it**:
Bump Rescheduler version to v0.3.1 to log to STDERR.

**Which issue this PR fixes**
Fixes https://github.com/kubernetes/contrib/issues/2518

**Release note**:
```release-note
NONE
```
2017-07-20 02:15:23 -07:00
Kubernetes Submit Queue 042913d898 Merge pull request #47509 from billy2180/bump-mounttest-image-version-to-0.8
Automatic merge from submit-queue

Bump e2e mounttest image version to 0.8

Reduce the number of image files required for e2e test run
```release-note
NONE
```
2017-07-19 15:53:31 -07:00
Yu-Ju Hong 780af313d6 glbc: change the label of the l7-lb-controller pod
This ensures that the default http backend service doesn't include this
pod as its endpoint.
2017-07-19 15:15:54 -07:00
Karol Wychowaniec 3a5f4c2a78 Bump rescheduler version to v0.3.1 2017-07-19 17:51:20 +02:00
Maciej Pytel 04f7a96340 Fix typo in cluster-autoscaler config 2017-06-27 13:49:19 +02:00
Maciej Pytel b11175f73f Set cluster-autoscaler node balancing flag 2017-06-27 12:10:33 +02:00
Marcin Wielgus 083f46a7f7 Bump Cluster Autoscaler to 0.6.0 2017-06-26 17:32:48 +02:00
billy2180 1cda47a6d8 Bump e2e mounttest image version to 0.8 2017-06-24 17:48:16 +08:00
Marcin Wielgus f90d894ede Bump Cluster Autoscaler to 0.6.0-beta2 2017-06-23 19:41:32 +02:00
Kubernetes Submit Queue 8b0cd5b9c5 Merge pull request #47910 from mwielgus/75-sched
Automatic merge from submit-queue (batch tested with PRs 47906, 47910)

Reduce scheduler CPU request to 75m

On a 1 cpu master we are over budget with CPU requests. Components like npd or cluster autoscaler don't have *any* space to run. We need to reduce some requests.

cc: @gmarek @mikedanese @roberthbailey @davidopp @dchen1107
2017-06-22 12:54:19 -07:00
Kubernetes Submit Queue 83de1a01aa Merge pull request #47909 from mwielgus/add-ola
Automatic merge from submit-queue

Add aleksandra-malinowska to cluster-autoscaler salt definition owners

@aleksandra-malinowska is working on Cluster Autoscaler so she should be added to reviewers and approvers.
2017-06-22 09:32:16 -07:00
Kubernetes Submit Queue d30929c82e Merge pull request #47908 from mwielgus/10m-ca-request
Automatic merge from submit-queue

Reduce Cluster Autoscaler cpu request to 10m

We are super tight on 1 cpu master node. With the recent changes we cannot fit to the master if request is bigger than 10m. 

cc: @gmarek @MaciekPytel @aleksandra-malinowska
2017-06-22 09:32:12 -07:00
Marcin Wielgus 46b0dc64f5 Reduce CPU scheduler request to 75m 2017-06-22 17:57:57 +02:00
Marcin Wielgus a8fc9f51d3 Add aleksandra-malinowska to cluster-autoscaler salt definition owners 2017-06-22 17:09:33 +02:00
Marcin Wielgus 51958d5c49 Reduce Cluster Autoscaler cpu request to 10m 2017-06-22 16:59:53 +02:00
Aleksandra Malinowska 86f4f669cd Add liveness probe for cluster autoscaler 2017-06-22 11:53:45 +02:00
Marcin Wielgus 6a591d9dc1 Bump Cluster Autoscaler to 0.6.0-beta1 2017-06-21 23:58:15 +02:00
Kubernetes Submit Queue 26c431affa Merge pull request #47632 from mwielgus/node-taints-scripts
Automatic merge from submit-queue (batch tested with PRs 45268, 47573, 47632, 47818)

NODE_TAINTS in gce startup scripts

Currently there is now way to pass a list of taints that should be added on node registration (at least not in gce or other saltbased deployment). This PR adds necessary plumbing to pass the taints from user or instance group template to kubelet startup flags. 

```release-note
Taints support in gce/salt startup scripts. 
```

The PR was manually tested. 
```
NODE_TAINTS: 'dedicated=ml:NoSchedule'
```
in kube-env results in 
```
spec:
[...]
  taints:
  - effect: NoSchedule
    key: dedicated
    timeAdded: null
    value: ml
```

cc: @davidopp @gmarek @dchen1107 @MaciekPytel
2017-06-20 18:18:59 -07:00
Kubernetes Submit Queue d746cbbb39 Merge pull request #47634 from mwielgus/expander-price
Automatic merge from submit-queue (batch tested with PRs 46604, 47634)

Set price expander in Cluster Autoscaler for GCE

With CA 0.6 we will make price-preferred node expander the default one for GCE. For other cloud providers we will stick to the default one (random) until the community implement the required interfaces in CA repo.

https://github.com/kubernetes/autoscaler/issues/82

cc: @MaciekPytel @aleksandra-malinowska
2017-06-20 03:15:57 -07:00
Marcin Wielgus 9143569891 NODE_TAINTS in gce startup scripts 2017-06-20 00:51:56 +02:00
Kubernetes Submit Queue 440a85e77f Merge pull request #47458 from caseydavenport/standardize-cni-bin-dir
Automatic merge from submit-queue (batch tested with PRs 47669, 40284, 47356, 47458, 47701)

Standardize on home/kubernetes/bin for CNI

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

Standardizes where CNI plugins get installed on GCE.

**Which issue this PR fixes** 

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

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-06-19 15:25:04 -07:00
Kubernetes Submit Queue 1e76d9e1d5 Merge pull request #47356 from dashpole/master_critical_pods
Automatic merge from submit-queue (batch tested with PRs 47669, 40284, 47356, 47458, 47701)

Mark Static pods on the Master as critical

fixes #47277.

A known issue with static pods is that they do not interact well with evictions.  If a static pod is evicted or oom killed, then it will never be recreated.  To mitigate this, we do not evict static pods that are critical.  In addition, non-critical pods are candidates for preemption if a critical pod is scheduled to the node.  If there are not enough allocatable resources on the node, this causes the static pod to be preempted.

This PR marks all static pods in the kube-system namspace as critical.

cc @vishh @dchen1107
2017-06-19 15:25:01 -07:00
Marcin Wielgus 8d801d918d Set price expander in Cluster Autoscaler for gce 2017-06-19 23:52:47 +02:00
Casey Davenport 489b8c186f Standardize on home/kubernetes/bin for CNI 2017-06-19 11:33:13 -07:00
Kubernetes Submit Queue cc645a8c6f Merge pull request #46327 from supereagle/mark-network-plugin-dir-deprecated
Automatic merge from submit-queue (batch tested with PRs 46327, 47166)

mark --network-plugin-dir deprecated for kubelet

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

**Which issue this PR fixes** : fixes #43967

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-06-19 11:23:54 -07:00
Ryan Hitchman 783e400d99 Use echoserver:1.6 for better debugging and XSS prevention. 2017-06-16 15:47:15 -07:00
Nick Sardo 244df6ad6e Bump GLBC version to 0.9.5 2017-06-14 18:45:50 -07:00