Commit Graph

8030 Commits (2e045695300f78c5da98aa8f6e22ee792b5abcee)

Author SHA1 Message Date
k8s-ci-robot 224448b858
Merge pull request #70754 from mikedanese/cluster-old
remove unused python-image from cluster/addons
2018-11-07 14:26:42 -08:00
k8s-ci-robot 9844baa2ff
Merge pull request #70696 from loburm/remove_cluster_autoscaler_spam
Filter out spammy audit logs from cluster autoscaler.
2018-11-07 12:53:19 -08:00
Mike Danese 586485d8c9 remove unused python-image from cluster/addons 2018-11-07 10:38:16 -08:00
k8s-ci-robot 7fe59165b6
Merge pull request #70193 from saad-ali/csiCRDAddon
Register CSI CRDs as addon
2018-11-06 23:55:56 -08:00
saad-ali a679486a5e Register CSI CRDs as addon 2018-11-06 10:58:09 -08:00
Marian Lobur 433be3410a Filter out spammy audit logs from cluster autoscaler. 2018-11-06 14:44:02 +01:00
k8s-ci-robot 123d0a74ef
Merge pull request #70610 from zhihuiwu/min-master-nodes
Fix a wrong judgement in elasticsearch_logging_discovery.go
2018-11-05 12:58:16 -08:00
zhihui wu eed65f75f9 Modify the judgement condtion in elasticsearch_logging_discovery.go
The number of endpoints's addresses can be greater or equal to the
value of "MINIMUM_MASTER_NODES".

Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-11-03 14:12:03 +08:00
Mike Danese 8c1e928501 gce: move more stuff into main and refactor detect whether configure-helpers.sh was sourced 2018-10-31 10:07:50 -07:00
xichengliudui 8477389e7c Fix some types
Fix some typos
2018-10-31 04:05:25 -04:00
Marc Power eb818f95d1 Bind coredns containers to linux nodes to avoid Windows scheduling 2018-10-26 11:47:17 -07:00
Jeff Grafton 7b93b50e40 Update to use kube-addon-manager:v8.9 2018-10-24 16:19:51 -07:00
Jeff Grafton 003404685d Update to use debian-iptables v11.0 and debian-hyperkube-base 0.12.0 2018-10-24 16:18:53 -07:00
k8s-ci-robot 4cbeddd7b2
Merge pull request #70094 from mwwolters/prepare-log-file-args
Changed prepare-log-file to take args for setting uid/gid for log files.
2018-10-24 12:32:53 -07:00
k8s-ci-robot 73c1a92bd9
Merge pull request #69152 from mkumatag/fix_manifest_push
Purge the manifest after the push
2018-10-24 01:06:10 -07:00
k8s-ci-robot cb4e809fe9
Merge pull request #68082 from aldarionsevero/master
fix typo: result is of that -> result of that
2018-10-23 21:22:23 -07:00
Mark Wolters c9d34073f2 Changed prepare-log-file to take args for setting uid/gid for log files. 2018-10-19 11:57:26 -07:00
Jeff Grafton 7a8696c331 Update to debian-base 0.4.0
Additionally, update the addon-manager to use kubectl v1.11.3.
2018-10-19 11:13:28 -07:00
k8s-ci-robot 12f726c33a
Merge pull request #68012 from wiremind/fluentd-concat
Fluentd: concatenate long logs
2018-10-18 22:57:06 -07:00
k8s-ci-robot 52de5c55e3
Merge pull request #69883 from chrisohaver/coredns-default
Make CoreDNS default in kubeup and update CoreDNS version/manifest in kubeup and kubeadm
2018-10-18 18:39:12 -07:00
Chris O'Haver 0cfb4bbe2c make coredns kubeup default, update manifest 2018-10-18 14:52:38 -04:00
k8s-ci-robot 7de4c007f7
Merge pull request #69858 from losipiuk/jobs-rbac
Grant permissions for batch/job to cluster-autoscaler
2018-10-17 01:22:14 -07:00
k8s-ci-robot 2c738b9861
Merge pull request #63618 from tallclair/addon-resizer
Fix addon-resizer version - 1.8.1
2018-10-16 20:39:44 -07:00
k8s-ci-robot a630801eec
Merge pull request #69832 from ixdy/no-qemu-in-cross-build
Move hyperkube symlink creation to base image and re-enable building of conformance image
2018-10-16 19:26:16 -07:00
k8s-ci-robot 46ad1ed00b
Merge pull request #69757 from Huang-Wei/e2e-unbound-var
fix issue that e2e script exits due to unbound variables
2018-10-16 17:53:11 -07:00
Cédric de Saint Martin def00298c3 Fluentd: concatenate long logs (>16KB) which have been splitted by Docker into several lines.
See https://github.com/kubernetes/kubernetes/issues/52444.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-10-16 23:44:37 +02:00
Cédric de Saint Martin 46c5c8e20a fluent-es-image: sort plugins in Gemfile.
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-10-16 23:44:37 +02:00
Cédric de Saint Martin 079136fd59 fluent-es-image: add fluentd-plugin-concat to gemfile.
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-10-16 23:44:37 +02:00
Jeff Grafton c761f779fc Base conformance image on debian-hyperkube-base:0.11.0 and reenable by default 2018-10-16 14:01:23 -07:00
Jeff Grafton 2d46adaec4 Use debian-hyperkube-base:0.11.0 and remove qemu registration 2018-10-16 14:01:23 -07:00
Łukasz Osipiuk 80e66596a5 Grant permissions for batch/job to cluster-autoscaler 2018-10-16 10:46:46 +02:00
Tim Allclair 0057624bde Update heapster eventer addon-resizer to 1.8.3 2018-10-15 10:47:25 -07:00
Tim Allclair 8a50e7ed4e Add kube-state-metrics nanny configuration 2018-10-15 10:46:19 -07:00
Tim Allclair 7b2bc84259 Fix addon-resizer version - 1.8.3 2018-10-15 10:46:19 -07:00
k8s-ci-robot 8928e70af9
Merge pull request #69737 from qingling128/master
Add tolerations for Stackdriver Logging and Metadata Agents.
2018-10-15 05:43:41 -07:00
k8s-ci-robot d20912c83f
Merge pull request #69728 from SataQiu/fix-2018101201
fix some typos
2018-10-13 21:47:08 -07:00
k8s-ci-robot dad536b41f
Merge pull request #69747 from ixdy/bazel-container-rules
Bazel: stop using deprecated docker_ rules and turn on stamping
2018-10-13 18:18:47 -07:00
k8s-ci-robot 8e4f7812b8
Merge pull request #69368 from dims/upstream-heptio-kube-conformance
upstream heptio/kube-conformance
2018-10-12 19:13:33 -07:00
Wei Huang e1af0c5fb1
fix issue that e2e script exits due to unbound variables 2018-10-12 17:54:20 -07:00
Jeff Grafton c34cbb2f70 Bazel: stop using deprecated docker_ rules and turn on stamping 2018-10-12 13:16:38 -07:00
Davanum Srinivas 6830bad2a6
upstream heptio/kube-conformance
Pick up some code from https://github.com/heptio/kube-conformance
Fix up build scripts for the new conformance image
Fix Header template and Copyright to make verify job go green
update README and add execute permissions for script

Change-Id: Ib6509acd816cc2fb3a516bfb8e0ff9e32bff8f79
2018-10-12 15:33:15 -04:00
k8s-ci-robot 1e4bab3376
Merge pull request #69186 from jpbetz/cluster-images-etcd-owners
Add jpbetz and wenjiaswe to cluster/images/etcd OWNERS
2018-10-12 11:19:49 -07:00
Ling Huang 85d8b5069b Add tolerations for Stackdriver Logging and Metadata Agents. 2018-10-12 11:15:33 -04:00
SataQiu e1d5b97f3f fix some typos 2018-10-12 22:29:18 +08:00
k8s-ci-robot 50f574f360
Merge pull request #68288 from loburm/truncating_backend
Enable audit logging truncating backend.
2018-10-11 18:26:34 -07:00
k8s-ci-robot 1aef63124b
Merge pull request #68920 from qingling128/master
Enable insertId generation, and update Stackdriver Logging Agent image to 0.5-1.5.36-1-k8s.
2018-10-11 13:44:51 -07:00
k8s-ci-robot 3d7d35ee8f
Merge pull request #68345 from smelchior/storageclass
change default storage class annotation for all storage-class addons
2018-10-10 19:08:06 -07:00
k8s-ci-robot 6b9de2bdc7
Merge pull request #69388 from cheftako/GetClusters
Differentiate multizone zonal from Regional Cluster.
2018-10-10 17:56:56 -07:00
k8s-ci-robot a8c7a3fd5e
Merge pull request #69322 from jpbetz/etcd-client-3.3.9
Update etcd client to 3.3 for 1.13
2018-10-10 17:56:46 -07:00
k8s-ci-robot b92cf0f329
Merge pull request #69452 from htkuan/fix/addons-elasticsearch-version
Update elasticsearch to v6.3.0
2018-10-10 16:46:21 -07:00
Daniel Kłobuszewski 299c7750ca
Add x13n to metadata-agent manifest OWNERS 2018-10-10 08:33:50 +02:00
Walter Fender 8b3099ced7 Differentiate multizone zonal from Regional Cluster.
Fixed go format and unit test.
Collapse lines.
Switched to using regional throughout and added warning for HA Zonal.
2018-10-09 11:28:22 -07:00
Ling Huang d8da1baf48 Enable insertId generation, update Stackdriver Logging Agent image to 0.5-1.5.36-1-k8s and add priorityClassName for Metadata Agent. 2018-10-09 13:42:40 -04:00
k8s-ci-robot 4966faab36
Merge pull request #69522 from wojtek-t/fix_env_setup
Fix overwriting env variables in kube-apiserver manifest
2018-10-09 04:46:12 -07:00
k8s-ci-robot 4ba5db087a
Merge pull request #69550 from tallclair/runtimeclass-spec
Allow an empty "" runtimeHandler
2018-10-09 01:06:20 -07:00
Tim Allclair db776ace25 Allow an empty "" runtimeHandler 2018-10-08 19:05:03 -07:00
Joe Betz 4263c75211 Update etcd client to 3.3.9 2018-10-08 13:34:34 -07:00
htkuan 1cdc9059ba Update elasticsearch to v6.3.0 2018-10-08 23:51:40 +08:00
wojtekt 3fdb5b92f4 Fix overwriting env variables in kube-apiserver manifest 2018-10-08 14:21:37 +02:00
Christoph Blecker 97b2992dc1
Update gofmt for go1.11 2018-10-05 12:59:38 -07:00
k8s-ci-robot 5602ab7761
Merge pull request #68379 from immutableT/kms-plugin-via-gke
Enable configure-helper.sh to support two scenarios for etcd level encryption: decryption and adding encryption to existing clusters.
2018-10-04 23:38:42 -07:00
immutablet 4bc62be0e6 Run kms-plugin in its own POD. 2018-10-04 09:19:57 -07:00
k8s-ci-robot 03494debe5
Merge pull request #69385 from bowei/update-owners
Update OWNERS files for GCE-related components
2018-10-04 07:51:36 -07:00
k8s-ci-robot f758b4d148
Merge pull request #69338 from MrHohn/autoscaler-1.3.0
Bump cluster-proportional-autoscaler to 1.3.0
2018-10-03 15:21:41 -07:00
k8s-ci-robot 82a52de097
Merge pull request #68247 from awly/fetch-exec-plugin-license
Fetch gke-exec-plugin license file along with the binary
2018-10-03 15:21:31 -07:00
Bowei Du 61b6079d58 Update OWNERS files for GCE-related components 2018-10-03 10:52:43 -07:00
k8s-ci-robot c1ad6e961a
Merge pull request #69337 from MrHohn/addon-manager-manifest-8.8
Bump addon-manager to v8.8
2018-10-03 04:44:17 -07:00
k8s-ci-robot c520b2cbc9
Merge pull request #69120 from aledbf/defaultbackend
Update default backend image
2018-10-03 04:43:39 -07:00
k8s-ci-robot 957d7ce8dd
Merge pull request #68450 from jeefy/dashboard-v1.10.0
Update dashboard version to v1.10.0
2018-10-03 03:34:03 -07:00
Zihong Zheng 0750f8bb23 Bump cluster-proportional-autoscaler to 1.3.0
- Rebase docker image on scratch.
2018-10-02 11:48:51 -07:00
Zihong Zheng 81eae648cb Bump addon-manager to v8.8
- Rebase docker image on debian-base:0.3.2.
2018-10-02 11:43:40 -07:00
Bowei Du ca5bdf388b Update defaultbackend to v1.5 2018-10-02 10:28:23 -07:00
k8s-ci-robot bcb197e666
Merge pull request #69315 from MrHohn/addon-manager-debian-update
Update addon-manager to use debian-base:0.3.2.
2018-10-02 04:26:34 -07:00
k8s-ci-robot da5730e883
Merge pull request #69033 from feiskyer/crictl-update
Update crictl to v1.12.0
2018-10-02 02:23:33 -07:00
Marian Lobur 3928818b64 Enable audit logging truncating backend. 2018-10-02 07:58:01 +02:00
Marian Lobur 5a118f9d2f Extract cpu requests to separate env variables. 2018-10-02 07:54:39 +02:00
k8s-ci-robot bf130aa29c
Merge pull request #69051 from cadmuxe/change_netd_node_selector
update netd node selector label to cloud.google.com/gke-netd-ready
2018-10-01 18:04:14 -07:00
k8s-ci-robot 0d5c8c2325
Merge pull request #67912 from yliaog/e2e
"gcloud beta compute networks subnets" does not work with the latest gcloud release
2018-10-01 18:03:55 -07:00
Zihong Zheng 6b949c848a Update addon-manager to use debian-base:0.3.2. 2018-10-01 16:59:05 -07:00
k8s-ci-robot 2a544bc709
Merge pull request #68565 from vantuvt/vantuvt-patch-1
Bug fix - revert metrics-server base CPU resources back to 40 mCPU
2018-10-01 10:59:15 -07:00
Manuel Alejandro de Brito Fontes f892a653cc
Update default backend image 2018-09-29 08:07:19 -03:00
Yu Liao f4482e3abb "gcloud beta compute networks subnets" stopped working, fails with the
erros:  - The request did not match the specified API.
"gcloud compute networks subnets" works with the latest gcloud release.
2018-09-28 15:42:20 -07:00
Van Tu d3b4f2dac4 Bug fix - revert metrics-server base CPU resources back to 40 mCPU
The reduction in base CPU resources resulted in a significant increase in
start times from ~30 second to 1-4 minutes.
2018-09-28 06:18:39 -04:00
Joe Betz 0a3bcb92be Add jpbetz and wenjiaswe to cluster/images/etcd OWNERS 2018-09-27 16:25:41 -07:00
Manjunath A Kumatagi db0aaee57f Purge the manifest after the push 2018-09-27 18:58:16 +05:30
k8s-ci-robot b113309057
Merge pull request #68837 from x13n/fluentd-gcp-scaler
Bump version of fluentd-gcp-scaler
2018-09-26 18:11:05 -07:00
Pengfei Ni fa42ba649a Update crictl to v1.12.0 2018-09-26 09:15:10 +08:00
k8s-ci-robot 54dd6e4f14
Merge pull request #68592 from jingax10/calico_yaml_branch
Add serviceaccounts permission for ClusterRole, required by Calico v3.2.0+.
2018-09-25 14:41:11 -07:00
Koonwah Chen dc57a69c4f update netd node selector label to cloud.google.com/gke-netd-ready 2018-09-25 14:03:33 -07:00
k8s-ci-robot 9c29560ac8
Merge pull request #68064 from gianrubio/fluentd-signal
fluentd doesn't receive the signal TERM
2018-09-25 03:52:00 -07:00
k8s-ci-robot 74e6ee1d34
Merge pull request #67174 from charrywanganthony/auditv1beta1Tov1_gce.sh
use v1 version of advanced audit policy in gce shell
2018-09-24 13:19:44 -07:00
k8s-ci-robot 95ab206e34
Merge pull request #68896 from ixdy/etcd-3.2.24-1
cluster/gce and test/: update etcd:3.2.24-0 image to etcd:3.2.24-1
2018-09-21 14:37:43 -07:00
k8s-ci-robot 9dc5bb56a6
Merge pull request #68492 from vishh/68372
Fix node label assignment for GCE k8s clusters.
2018-09-21 04:12:08 -07:00
k8s-ci-robot d39102d92e
Merge pull request #68900 from MrHohn/kube-dns-1.14.13
Bump kube-dns to 1.14.13
2018-09-20 20:35:46 -07:00
Jeff Grafton 8d8faa3355 Remove etcd 3.2.18 from the etcd image 2018-09-20 13:05:53 -07:00
Jeff Grafton 3388e0ce5f Update to use etcd:3.2.24-1 image 2018-09-20 12:40:26 -07:00
Zihong Zheng 576d6e5c92 Bump kube-dns to 1.14.13
- Update Alpine base image to 3.8.1.
- Build multi-arch images correctly.
2018-09-20 12:36:02 -07:00
k8s-ci-robot b33b0fb093
Merge pull request #68615 from loburm/revert_cpu_decrease
Revert "#67504: Decrease CPU requests of master components in two times."
2018-09-20 12:31:17 -07:00
k8s-ci-robot d1111a57d9
Merge pull request #59664 from mkumatag/manifest_infra
Manifest kubernetes infra images
2018-09-19 20:07:26 -07:00
Jeff Grafton 76256cceff
Continue using go1.8.7 in etcd image 2018-09-19 17:01:08 -07:00
Jeff Grafton 6f9dfe56f1 Update etcd image revision 2018-09-19 16:48:50 -07:00
Francois Tur 5c20fff19d
Revert "Add DNS pod resource monitoring option" 2018-09-19 14:54:29 -04:00
k8s-ci-robot ab02fd6f8a
Merge pull request #68683 from chrisohaver/trackdns
Add DNS pod resource monitoring option
2018-09-19 09:47:29 -07:00
Daniel Kłobuszewski 9454876318 Bump version of fluentd-gcp-scaler 2018-09-19 17:15:05 +02:00
k8s-ci-robot 95d3ce1578
Merge pull request #68739 from losipiuk/lo/ca-1.12
Update Cluster Autoscaler version 1.12.0
2018-09-19 06:22:04 -07:00
k8s-ci-robot 191949da4a
Merge pull request #68430 from prameshj/update-dns
Update kube-dns container images.
2018-09-18 23:41:31 -07:00
k8s-ci-robot 48203db09a
Merge pull request #68387 from Katharine/logdump-with-coverage
Add coverage profile retrieval to log dumps
2018-09-18 22:34:30 -07:00
Manjunath A Kumatagi 934d379aea Manifest for etcd image 2018-09-19 09:45:39 +05:30
Pavithra Ramesh 216dc8ada8 Update kube-dns container images.
This fixes an issue where SRV records were incorrectly being compressed.
Also updated kubedns version for kubeadm
Upgrade to 1.14.12 with manifest support. Runs dnsmasq version 2.78
2018-09-18 17:44:42 -07:00
Andrew Lytvynov cea579f3c4 Fetch gke-exec-plugin license file along with the binary 2018-09-18 15:49:15 -07:00
Chris O'Haver 7ea51a551c do not merge: test coredns with mem bump 2018-09-18 12:06:44 -04:00
k8s-ci-robot be74187a13
Merge pull request #68746 from DirectXMan12/bug/metrics-server-v0.3.1
Bump metrics-server to v0.3.1
2018-09-18 09:00:20 -07:00
Jeff Grafton b4635a829a Update to use debian-iptables v10.2 and debian-hyperkube-base 0.10.2 2018-09-17 21:10:04 -07:00
Solly Ross 13d59fde9e Bump metrics-server to v0.3.1
This fixes an issue with overly aggressive discardings of node data sets
when a single pod is missing data.
2018-09-17 11:34:29 -04:00
Łukasz Osipiuk f53537a37e Update Cluster Autoscaler version 1.12.0 2018-09-17 16:42:26 +02:00
Jing Ai 2bfdaadfde Add serviceaccounts permission for ClusterRole, required by Calico v3.2.0+. 2018-09-14 15:44:07 -07:00
Shyam JVS 73b014b51a
Revert "Enable CoreDNS as default for kube-up deployments" 2018-09-13 18:57:01 +02:00
Marian Lobur 1deb5acc2f Revert cpu resource decrease. 2018-09-13 11:13:07 +02:00
Vishnu kannan 9dc14488e3 1. Do not set Accelerator Node labels on master node in GCE k8s clusters
2. Do not set Preemptible node label on master node unless the master node is explicitly set to be preemptible.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2018-09-10 14:50:42 -07:00
Jeffrey Sica 55b01d97f0 update dashboard version 2018-09-09 21:13:00 -04:00
Kubernetes Submit Queue 59bcf0dadf
Merge pull request #67950 from dims/remove-e2e-image-puller
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.

Remove e2e-image-puller

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

A long time ago, We added the image prepulling as a workaround due to
the overwhelming amount of flake caused by pulling during the tests.
This functionality has been broken for a while now when we switched to a
COS image where mounting `docker` binary into `busybox` stopped working.
So we just have dead code we should clean up.

Change-Id: I538171a5c1d9361eee7f9e0a99655b88b1721e3e

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

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-09-07 11:19:36 -07:00
Kubernetes Submit Queue 361746266a
Merge pull request #68318 from timothysc/etcd-3-2-24
Automatic merge from submit-queue. 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.

Update default etcd server to 3.2.24 for kubernetes 1.12

**What this PR does / why we need it**:
Update default etcd server to 3.2.24 for kubernetes 1.12

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

**Special notes for your reviewer**:
NONE

**Release note**:

```
Update default etcd server to 3.2.24 for kubernetes 1.12
```

/assign @wojtek-t @jpbetz @dims 
/cc @kubernetes/sig-cluster-lifecycle-pr-reviews @gyuho
2018-09-07 04:42:11 -07:00
Katharine Berry 3578696846 DRY 2018-09-06 16:54:13 -07:00
Katharine Berry ed0f3f5d3c Don't bother dumping coverage info if it won't exist. 2018-09-06 16:24:32 -07:00
Katharine Berry e17499c8e6 Include coverage information when dumping logs. 2018-09-06 16:24:32 -07:00
Kubernetes Submit Queue 659092d8ba
Merge pull request #68191 from losipiuk/update-ca-1.12.0-beta.1-master
Automatic merge from submit-queue (batch tested with PRs 68119, 68191). 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.

Update cluster autoscaler to 1.12.0-beta.1

Update Cluster Autoscaler to version 1.12.0-beta.1 which is compatible with k8s 1.12.
Note: this is pre release version. Update to the final version of CA image will be done a week before k8s release deadline.

Version skip from 1.3.x to 1.12.x is to synchronize version numbering between Cluster Autoscaler and k8s core.
```release-note
NONE
```
2018-09-06 16:20:40 -07:00
Kubernetes Submit Queue 3811360d0b
Merge pull request #68299 from MrHohn/addon-manager-v-8-7
Automatic merge from submit-queue (batch tested with PRs 68087, 68256, 64621, 68299, 68296). 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.

Bump addon-manager to v8.7

**What this PR does / why we need it**:
Major changes:
- Support extra `--prune-whitelist` resources in kube-addon-manager.
- Update kubectl to v1.10.7.

Basically picking up https://github.com/kubernetes/kubernetes/pull/67743.

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

**Special notes for your reviewer**:
/assign @Random-Liu @mikedanese 

**Release note**:

```release-note
Bump addon-manager to v8.7
- Support extra `--prune-whitelist` resources in kube-addon-manager.
- Update kubectl to v1.10.7.
```
2018-09-06 14:49:43 -07:00
Kubernetes Submit Queue 5878b2877f
Merge pull request #68256 from mikedanese/nourand
Automatic merge from submit-queue (batch tested with PRs 68087, 68256, 64621, 68299, 68296). 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.

gce: use getrandom instead of urandom for on node rng

```release-note
NONE
```
2018-09-06 14:49:36 -07:00
Kubernetes Submit Queue 9dba077d02
Merge pull request #68280 from roberthbailey/cluster-deprecation-notice
Automatic merge from submit-queue. 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.

Cleaning up the cluster directory deprecation notice

- Remove link to the kube-deploy repo
 - Remove link to SaltStack

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

**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
```
2018-09-06 11:58:06 -07:00
Timothy St. Clair ad2ed0e7df Update default etcd server to 3.2.24 for kubernetes 1.12
Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
2018-09-06 10:24:57 -05:00
Sebastian Melchior f167413661
change default storage class annotation for all addons 2018-09-06 11:27:25 +02:00
Kubernetes Submit Queue a555044125
Merge pull request #67139 from NetApp/dev-random-fix-67091
Automatic merge from submit-queue. 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.

Fix an issue about generation of secret key with invalid key size in gce

Replace /dev/random to /dev/urandom to avoid generation of secret key with invalid key size.



**What this PR does / why we need it**:
In GCE env, AESGCM encryption of secrets by default generates a secret key with /dev/random which sometime generates a key with invalid size.
This cause the cluster/kube-up.sh to fail in gce environment.

This PR replaces /dev/random with  /dev/urandom to have a secret key generated consistently with right size.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
cluster/gce: generate consistent key sizes in config-default.sh using /dev/urandom instead of /dev/random  
```
2018-09-05 17:13:43 -07:00
Kubernetes Submit Queue e2e60d2707
Merge pull request #68161 from tallclair/runtimeclass-addon
Automatic merge from submit-queue (batch tested with PRs 68161, 68023, 67909, 67955, 67731). 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.

Register RuntimeClass CRD as an addon

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

Register the RuntimeClass CRD when the RuntimeClass feature gate is enabled. This is done in through the addon manager.

This is an alternative approach to https://github.com/kubernetes/kubernetes/pull/67924

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
For https://github.com/kubernetes/features/issues/585

**Release note**:
Covered by #67737
```release-note
NONE
```

/sig node
/kind feature
/priority important-soon
/milestone v1.12
2018-09-05 14:51:41 -07:00
Zihong Zheng e9127b0dba Bump addon-manager to v8.7
- Support extra `--prune-whitelist` resources in kube-addon-manager.
- Update kubectl to v1.10.7.
2018-09-05 11:01:01 -07:00
Mike Danese eac0410e45 gce: use getrandom instead of urandom for on node rng
In the context, our urandoms where generally safe, however getrandom has
built in invariants around entropy pool initialization, making getrandom
safe in all contexts. This should protect us from cryptopasta errors or
weird entropy issues.
2018-09-05 10:20:26 -07:00
Kubernetes Submit Queue e2d6362c09
Merge pull request #67691 from loburm/security_fixes
Automatic merge from submit-queue (batch tested with PRs 67691, 68147). 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.

Bump versions of components with latest security patches.

**What this PR does / why we need it**:
Upgrade versions of monitoring components used on GCP, to include latest security patches.

**Release note**:
```release-note
[fluentd-gcp-scaler addon] Bump fluentd-gcp-scaler to 0.4 to pick up security fixes.
[prometheus-to-sd addon] Bump prometheus-to-sd to 0.3.1 to pick up security fixes, bug fixes and new features.
[event-exporter addon] Bump event-exporter to 0.2.3 to pick up security fixes.
```
2018-09-05 09:49:31 -07:00
Robert Bailey 5b5dfe2366 Cleaning up the cluster directory deprecation notice.
- Remove link to the kube-deploy repo
 - Remove link to SaltStack
2018-09-05 02:00:05 -07:00
Mike Danese ad0208d720 gke: fix failing e2e tests 2018-09-04 21:58:02 -07:00
Kubernetes Submit Queue 4b4e1bec69
Merge pull request #67736 from cheftako/GetClusters
Automatic merge from submit-queue (batch tested with PRs 67736, 68123, 68138). 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.

Added support to get clusters in gce cloud provider.

**What this PR does / why we need it**:
Implemented the call to get all cluster objects in a zone for a project.
Also added code to allow the container api to be set in the gce.conf
file.

**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
```
2018-09-04 12:51:32 -07:00
yogesh 0f9c7b4c21 Fix for issue #67091
Replace /dev/random to /dev/urandom to avoid generation of secret key with invalid key size.
2018-09-04 13:45:23 -04:00
Davanum Srinivas ae0dde5c7d
Remove e2e-image-puller
A long time ago, We added the image prepulling as a workaround due to
the overwhelming amount of flake caused by pulling during the tests.
This functionality has been broken for a while now when we switched to a
COS image where mounting `docker` binary into `busybox` stopped working.
So we just have dead code we should clean up.

Change-Id: I538171a5c1d9361eee7f9e0a99655b88b1721e3e
2018-09-03 20:43:54 -04:00
Łukasz Osipiuk 1725d2358f Update cluster autoscaler to 1.12.0-beta.1 2018-09-03 14:42:30 +02:00
Kubernetes Submit Queue 1cfeede6d5
Merge pull request #68143 from shyamjvs/garbage-collect-kubemark-image
Automatic merge from submit-queue (batch tested with PRs 68127, 68143). 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.

GC kubemark image after cluster starts up

Last piece to fix https://github.com/kubernetes/kubernetes/issues/59567

/cc @wojtek-t 

```release-note
NONE
```
2018-09-03 04:45:32 -07:00
Marek Siarkowicz abe3554db8 Increase metrics-server scrape frequency to 30s 2018-09-03 10:06:17 +02:00
Kubernetes Submit Queue 888546c325
Merge pull request #68029 from neolit123/fluentd-owners
Automatic merge from submit-queue. 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.

cluster/addons: add labels to fluentd owner files

**What this PR does / why we need it**:
this PR adds SIG labels to fluentd OWNER files:
- cluster/addons/fluentd-elasticsearch/OWNERS
- cluster/addons/fluentd-gcp/OWNERS

**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**:
let me know if the labels need adjustment.

**Release note**:

```release-note
NONE
```

/assign @roberthbailey @mikedanese 
/cc @timothysc 
/sig gcp
/sig instrumentation
/kind cleanup
2018-09-02 12:51:38 -07:00
Kubernetes Submit Queue d293eba9f6
Merge pull request #68150 from spiffxp/add-spiffxp-to-bash-owners
Automatic merge from submit-queue. 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.

Add spiffxp to OWNERS files in bash-heavy dirs

I'm comfortable approving changes in hack/, I think I still need
to build up a corpus of reviews in build/ and cluster/ before I'm
comfortable asking for those rights. I'm willing to be voluntold
otherwise if existing approvers feel differently.

Approvers, WDYT?

```release-note
NONE
```
2018-08-31 21:56:33 -07:00
Kubernetes Submit Queue c2c393d879
Merge pull request #67743 from Random-Liu/kube-addon-extra-prune
Automatic merge from submit-queue. 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.

Support extra prune resources in kube-addon-manager.

The default prune whitelist resources in https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/apply.go#L531 are sometimes not enough.

One example is that when we remove an admission webhook running as an addon pod, after we remove the addon yaml file, the admission webhook pod will be pruned, but the `MutatingWebhookConfiguration`/`ValidationWebhookConfiguration` won't... If the webhook failure policy is `Fail`, this will break the cluster, and users can't create new pods anymore.

It would be good to at least make this configurable, so that users and vendors can configure it based on their requirement.

This PR keeps the default prune resource list exactly the same with before, just makes it possible to add extra ones.

@dchen1107 @MrHohn @kubernetes/sig-cluster-lifecycle-pr-reviews  @kubernetes/sig-gcp-pr-reviews 

Signed-off-by: Lantao Liu <lantaol@google.com>

**Release note**:
```release-note
Support extra `--prune-whitelist` resources in kube-addon-manager.
```
2018-08-31 21:56:12 -07:00
Kubernetes Submit Queue e4b0a935fa
Merge pull request #68152 from mikedanese/nopush
Automatic merge from submit-queue (batch tested with PRs 67571, 67284, 66835, 68096, 68152). 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.

cluster: delete some push remanents

```release-note
NONE
```
2018-08-31 20:41:46 -07:00
Kubernetes Submit Queue 6900a8042b
Merge pull request #67224 from grayluck/namespace-cloudprovider-rbac
Automatic merge from submit-queue (batch tested with PRs 65251, 67255, 67224, 67297, 68105). 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.

Add namespace for (cluster)role(binding) cloud-provider.

**What this PR does / why we need it**:
Add namespace for (cluster)role(binding) cloud-provider.
Change the addonmanager mode to be from reconcile to EnsureExists.

Needs to be cherrypicked together with https://github.com/kubernetes/kubernetes/pull/59686.

**Special notes for your reviewer**:
/assign @bowei @tallclair 
/sig auth

**Release note**:

```release-note
Role, ClusterRole and their bindings for cloud-provider is put under system namespace. Their addonmanager mode switches to EnsureExists.
```

Manual tested. Cluster can be created succesfully using kube-up.sh with desired (cluster)role(binding)s.
2018-08-31 19:25:33 -07:00
Lantao Liu 6a880b2567 Support extra prune resources in kube-addon-manager.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-08-31 18:43:48 -07:00
Kubernetes Submit Queue 2d7b92ee74
Merge pull request #68100 from vishh/add-node-termination-handle
Automatic merge from submit-queue (batch tested with PRs 64283, 67910, 67803, 68100). 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.

Adding GCE node termination handler as an optional addon. 

This step is a pre-requisite for auto-deploying that addon in GKE

cc @mikedanese
2018-08-31 16:46:45 -07:00
Tim Allclair a58008ee42 Register RuntimeClass CRD as an addon 2018-08-31 16:09:57 -07:00
Kubernetes Submit Queue 7c18e035ff
Merge pull request #68051 from Szetty/master
Automatic merge from submit-queue (batch tested with PRs 68051, 68130, 67211, 68065, 68117). 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.

Put fluentd back to host network

In the future we will want to monitor each system component that is deployed as a DaemonSet using only one instance of prometheus-to-sd (which will be deployed as a DaemonSet too), but for this we need all the system components to be part of host network. There is no port colision created with this change.
```release-note
Port 31337 will be used by fluentd
```
2018-08-31 15:32:34 -07:00
Mike Danese 1c41211456 cluster: delete some kube-push remanents 2018-08-31 14:48:31 -07:00
Aaron Crickenberger 3aafdc4419 Add spiffxp to OWNERS files in bash-heavy dirs
I'm comfortable approving changes in hack/, I think I still need
to build up a corpus of reviews in build/ and cluster/ before I'm
comfortable asking for those rights
2018-08-31 14:01:16 -07:00
Vishnu kannan ee65e6ac04 Adding GCE node termination handler as an optional addon.
This step is a pre-requisite for auto-deploying that addon in GKE.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2018-08-31 12:47:37 -07:00
Shyam Jeedigunta 63ce112d9e GC kubemark image after cluster starts up 2018-08-31 18:56:36 +02:00
Kubernetes Submit Queue eff30a31a7
Merge pull request #68120 from wojtek-t/configurable_etcd_servers
Automatic merge from submit-queue (batch tested with PRs 67756, 64149, 68076, 68131, 68120). 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.

Allow for configuring etcd servers addresses in gce
2018-08-31 09:06:42 -07:00
Kubernetes Submit Queue 36187c6a2e
Merge pull request #68076 from rajansandeep/corednsupdate112
Automatic merge from submit-queue (batch tested with PRs 67756, 64149, 68076, 68131, 68120). 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.

Update manifest and version for CoreDNS

**What this PR does / why we need it**:
Updates the manifest of CoreDNS and also bumps the version of CoreDNS to 1.2.2

**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/68020

**Special notes for your reviewer**:

**Release note**:

```release-note
CoreDNS is now v1.2.2 for Kubernetes 1.12
```
2018-08-31 09:06:35 -07:00
wojtekt 122b7a5f82 Allow for configuring etcd servers 2018-08-31 12:37:13 +02:00
Kubernetes Submit Queue ff46c0fe6b
Merge pull request #68077 from DirectXMan12/deployments/metrics-server-v0.3.0
Automatic merge from submit-queue (batch tested with PRs 68044, 68077). 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.

Update metrics-server to v0.3.0

v0.3.0 is the latest version of metrics-server, and brings a number of
internal stability improvements as well as some bugfixes and features.

NB: this currently disables Kubelet auth entirely, since this setup
needs to work on GKE for the tests, and GKE doesn't support delegated
Kubelet auth yet.  When that's rectified, we can switch this over to
use secure options.

```release-note
Update metrics-server to v0.3.0.
```
2018-08-31 03:04:32 -07:00
Solly Ross acf2d8ff1c Update metrics-server to v0.3.0
v0.3.0 is the latest version of metrics-server, and brings a number of
internal stability improvements as well as some bugfixes and features.

NB: this currently disables Kubelet auth entirely, since this setup
needs to work on GKE for the tests, and GKE doesn't support delegated
Kubelet auth yet.  When that's rectified, we can switch this over to
use secure options.
2018-08-30 12:10:09 -04:00
Sandeep Rajan 989f6667d2 prep for 1.12 2018-08-30 11:43:36 -04:00
Kubernetes Submit Queue 4219057223
Merge pull request #68060 from shyamjvs/bump-logexporter-version
Automatic merge from submit-queue. 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.

Bump logexporter version

/cc @wojtek-t 

```release-note
NONE
```
2018-08-30 08:39:16 -07:00
Lucas Severo a95b1353da fix typo: result is of that -> result of that 2018-08-30 12:03:36 -03:00
Kubernetes Submit Queue 58ead1c1e8
Merge pull request #65862 from loburm/remove_basic_audit
Automatic merge from submit-queue. 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.

Promote AdvancedAuditing to GA

**What this PR does / why we need it**:
Removes deprecated legacy code used for basic audit logging in favor of advanced audit logging.

```release-note
Promote AdvancedAuditing to GA, replacing the previous (legacy) audit logging mechanisms.
```
2018-08-30 07:31:23 -07:00
Giancarlo Rubio a37c8afe02 Pass the terminaton signal to fluentd 2018-08-30 13:58:14 +02:00
Shyam Jeedigunta 898fb4c936 Bump logexporter version 2018-08-30 12:13:31 +02:00
Arnold Szederjesi fcdef3ffcc Put fluentd back to host network 2018-08-30 10:44:04 +02:00
Kubernetes Submit Queue 7c2a9a0150
Merge pull request #67943 from Szetty/master
Automatic merge from submit-queue (batch tested with PRs 67745, 67432, 67569, 67825, 67943). 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.

Add flag for disabling prometheus-to-sd only for daemon sets

```release-note
NONE
```
2018-08-29 15:19:45 -07:00
Kubernetes Submit Queue ae6840fa3a
Merge pull request #67569 from fturib/coredns-default
Automatic merge from submit-queue (batch tested with PRs 67745, 67432, 67569, 67825, 67943). 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.

Enable CoreDNS as default for kube-up deployments

**What this PR does / why we need it**:
Enable CoreDNS as default (for kube-up installations)
It will allow to run CI tests to prepare graduation criteria for CoreDNS as Default

see : KEP - https://github.com/kubernetes/community/blob/master/keps/sig-network/0012-20180518-coredns-default-proposal.md
see also : https://github.com/kubernetes/features/issues/566

NOTE for release : I guess that CoreDNS as default server for k8s needs a longer description. This specific PR is to ensure we validate all e2e.

```release-note
Make CoreDNS be the default DNS server in kube-up (instead of kube-dns formerly). 
It is still possible to deploy kube-dns by setting CLUSTER_DNS_CORE_DNS=false.
```
2018-08-29 15:19:37 -07:00
Lubomir I. Ivanov aefb5b3c0e cluser/addons: add labels to fluentd owner files 2018-08-30 00:38:08 +03:00
Kubernetes Submit Queue a2f4f585af
Merge pull request #67947 from saravanan30erd/fluentd-elasticsearch
Automatic merge from submit-queue (batch tested with PRs 67067, 67947). 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>.

fixes fluentd configuration params in fluentd-elasticsearch addon

**What this PR does / why we need it**:
- fixes the errors/warnings in fluentd configuration.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
```
2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
2018-08-28 11:40:50 +0000 [warn]: parameter 'time_format' in <source>
  @id fluentd-containers.log
  @type tail
  path "/var/log/containers/*.log"
  pos_file "/var/log/es-containers.log.pos"
  time_format %Y-%m-%dT%H:%M:%S.%NZ
  tag "raw.kubernetes.*"
  read_from_head true
  <parse>
    @type "multi_format"
    <pattern>
      format json
      time_key "time"
      time_format "%Y-%m-%dT%H:%M:%S.%NZ"
      time_type string
    </pattern>
    <pattern>
      format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/
      time_format "%Y-%m-%dT%H:%M:%S.%N%:z"
      expression ^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$
      ignorecase false
      multiline false
    </pattern>
  </parse>
</source> is not used.
```

**Release note**:

```release-note
fixes the errors/warnings in fluentd configuration
```
2018-08-28 15:08:04 -07:00
Kubernetes Submit Queue b863b23010
Merge pull request #67893 from juju-solutions/master
Automatic merge from submit-queue (batch tested with PRs 67942, 67893). 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>.

Work on Juju charms:CSI, dyn config, cloud integration

**What this PR does / why we need it**: This PR updates the Juju charms with fixes/additions regarding. CSI, cloud integration, dynamic configs and cdk-addons

**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
```
2018-08-28 08:34:05 -07:00
Kubernetes Submit Queue 2eb14e3007
Merge pull request #64973 from nokia/k8s-sctp
Automatic merge from submit-queue (batch tested with PRs 67694, 64973, 67902). 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>.

SCTP support implementation for Kubernetes

**What this PR does / why we need it**: This PR adds SCTP support to Kubernetes, including Service, Endpoint, and NetworkPolicy.

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

**Special notes for your reviewer**:

**Release note**:

```release-note

SCTP is now supported as additional protocol (alpha) alongside TCP and UDP in Pod, Service, Endpoint, and NetworkPolicy.  

```
2018-08-28 07:21:18 -07:00
saravanan30erd c493bef26e fix the fluentd config params 2018-08-28 17:26:27 +04:00
Arnold Szederjesi 134f7f2a9d Add flag for disabling prometheus-to-sd only for daemon sets 2018-08-28 14:09:07 +02:00
yankaiz bea625fd65 Add namespace for (cluster)role(binding) cloud-provider.
Change the addonmanager mode to be from reconcile to EnsureExists.
2018-08-27 20:47:26 -07:00
Zihong Zheng 5c83a340bc Bump ip-masq-agent to v2.1.1
- Update debian-iptables image for CVEs.
- Change chain name to IP-MASQ to be compatible with the
pre-injected masquerade rules.
2018-08-27 16:30:04 -07:00
administrator 96922ceef0 set coredns as default for kube-up eployments 2018-08-27 20:30:41 +00:00
Cory Johns 7c2f5e328f Fix missed cloud-request-sent flags 2018-08-27 12:56:25 +00:00
Cory Johns 161540eb31 Fixes and improvements per review 2018-08-27 12:56:25 +00:00
Cory Johns ef10295e89 Add missing config for Azure integration 2018-08-27 12:56:25 +00:00
Cory Johns 99a631fc80 Add Azure Integrator support to k8s charms 2018-08-27 12:56:25 +00:00
Kevin W Monroe 809dc2c763 add uuid bits to master/worker to make it a bit easier on operators 2018-08-27 12:56:25 +00:00
Kevin W Monroe 0687655c53 add letters to source code to make native vsphere integration (reqs >= 1.12) 2018-08-27 12:56:25 +00:00
George Kraft fed74b7299 juju: Add kubelet-extra-config to kubernetes-worker (#145) 2018-08-27 12:56:25 +00:00
George Kraft 577849693e juju: Set kubelet dynamic-config-dir on Kubernetes 1.11+ (#144) 2018-08-27 12:56:25 +00:00
George Kraft 2f5735372d juju: Use KubeletConfiguration on Kubelet 1.10+ (#143) 2018-08-27 12:56:25 +00:00
Mike Wilson e19de54a4b Changing ceph CSI to use cdk-addons for template rendering 2018-08-27 12:56:25 +00:00
Konstantinos Tsakalozos 876859bb97 Add leadership layer to kubernetes-worker 2018-08-27 12:56:25 +00:00
Kevin W Monroe 800d016dd4 new snapd_refresh config to control snapd refresh frequency (#141)
* add snapd_refresh config and handlers to k8s-master and -worker

* lint readmes

* add snapd_refresh doc to the readme; make "max" less specific

* adjust wording to note snapd_refresh only affects store snaps
2018-08-27 12:56:25 +00:00
Mike Wilson 1b6268b616 Updating ceph to use CSI for k8s >= 1.10 2018-08-27 12:56:25 +00:00
Laszlo Janosi a6da2b1472 K8s SCTP support implementation for the first pull request
The requested Service Protocol is checked against the supported protocols of GCE Internal LB. The supported protocols are TCP and UDP.

SCTP is not supported by OpenStack LBaaS. If SCTP is requested in a Service with type=LoadBalancer, the request is rejected. Comment style is also corrected.

SCTP is not allowed for LoadBalancer Service and for HostPort. Kube-proxy can be configured not to start listening on the host port for SCTP: see the new SCTPUserSpaceNode parameter

changed the vendor github.com/nokia/sctp to github.com/ishidawataru/sctp. I.e. from now on we use the upstream version.

netexec.go compilation fixed. Various test cases fixed

SCTP related conformance tests removed. Netexec's pod definition and Dockerfile are updated to expose the new SCTP port(8082)

SCTP related e2e test cases are removed as the e2e test systems do not support SCTP

sctp related firewall config is removed from cluster/gce/util.sh. Variable name sctp_addr is corrected to sctpAddr in pkg/proxy/ipvs/proxier.go

cluster/gce/util.sh is copied from master
2018-08-27 05:56:27 +00:00
Walter Fender c0b7c42461 Added support to get clusters in gce cloud provider.
Implemented the call to get all cluster objects in a zone for a project.
Also added code to allow the container api to be set in the gce.conf
file.
Requested fix for @lavalamp. Fixed GetClusters to be GetManagedClusters.
Leaving ListClusters as ListClusters as it is part of the Cloud Clusters
interface, despite also being a "managed" call.
Remove copy pasta :D
Fixed method variable name.
2018-08-24 13:41:45 -07:00
Kubernetes Submit Queue 64de381a34
Merge pull request #67377 from shyamjvs/add-mig-startup-timeout
Automatic merge from submit-queue (batch tested with PRs 67377, 67801). 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 timeout to MIG wait-until-stable operation

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

/cc @wojtek-t @mborsz 
/sig cluster-lifecycle

```release-note
NONE
```
2018-08-24 04:50:00 -07:00
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
Kubernetes Submit Queue b5ba7a2c6e
Merge pull request #67705 from x13n/bugfix
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>.

Set --audit-webhook-mode flag properly based on the env variable

**What this PR does / why we need it**:
Audit webhook mode control via env variable is currently broken and this is the fix.

**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
```
2018-08-23 05:58:01 -07:00
Marian Lobur 3f730d4c25 Remove deprecated legacy audit logging code. 2018-08-23 12:08:54 +02:00
Daniel Kłobuszewski c4434855a6 Set --audit-webhook-mode flag properly based on the env variable 2018-08-22 15:25:26 +02:00