Commit Graph

76170 Commits (dc734edb3c21012b2baa08f7645f2ab8915406d8)

Author SHA1 Message Date
Igor German dc734edb3c proxy: Take into account exclude CIDRs while deleting legacy real servers 2019-04-11 18:13:13 +03:00
Kubernetes Prow Robot e5a4a92fef
Merge pull request #76274 from krzysztof-jastrzebski/automated-cherry-pick-of-#76060-upstream-release-1.14
Automated cherry pick of #76060: Delete only unscheduled pods if node doesn't exist anymore.
2019-04-09 00:15:07 -07:00
Anago GCB c749f6775e Add/Update CHANGELOG-1.14.md for v1.14.1. 2019-04-08 18:21:48 +00:00
Krzysztof Jastrzebski 319930fe97 Delete only unscheduled pods if node doesn't exist anymore. 2019-04-08 19:31:57 +02:00
Anago GCB 2f2a038e16 Kubernetes version v1.14.2-beta.0 openapi-spec file updates 2019-04-08 17:02:01 +00:00
Kubernetes Prow Robot b7394102d6
Merge pull request #76100 from yujuhong/automated-cherry-pick-of-#76099-upstream-release-1.14
Automated cherry pick of #76099: GCE/Windows: disable stackdriver logging agent
2019-04-05 15:50:29 -07:00
Kubernetes Prow Robot 7fc21ccf92
Merge pull request #76102 from vllry/automated-cherry-pick-of-#75772-upstream-release-1.14
Automated cherry pick of #75772: Avoid panic in cronjob sorting
2019-04-05 14:29:52 -07:00
Kubernetes Prow Robot b5e1ea4a5e
Merge pull request #75742 from rhockenbury/automated-cherry-pick-of-#75515-upstream-release-1.14
Automated cherry pick of #75515: godeps: update vmware/govmomi to v0.20 release
2019-04-05 13:11:22 -07:00
Kubernetes Prow Robot 530d3dbb22
Merge pull request #76208 from kewu1992/automated-cherry-pick-of-#76111-upstream-release-1.14
Automated cherry pick of #76111: Fix empty array expansion error in cluster/gce/util.sh
2019-04-05 11:53:20 -07:00
Kubernetes Prow Robot 19d66e9a41
Merge pull request #75885 from kawych/automated-cherry-pick-of-#75362-upstream-release-1.14
Automated cherry pick of #75362: Update gcp images with security patches
2019-04-05 10:05:22 -07:00
Ke Wu aff81e2b0d Fix empty array expansion error in cluster/gce/util.sh
Empty array expansion causes "unbound variable" error in
bash 4.2 and bash 4.3.
2019-04-05 09:55:08 -07:00
Kubernetes Prow Robot da6808f1da
Merge pull request #76179 from vllry/automated-cherry-pick-of-#76109-upstream-release-1.14
Automated cherry pick of #76109: Removed cleanup for non-current kube-proxy modes in
2019-04-05 08:41:20 -07:00
Vallery Lancey 18e4a87b6c Fixed --cleanup-ipvs help text 2019-04-04 22:59:53 -07:00
Vallery Lancey dfb1caf504 Revert "Fixed old function signature in kube-proxy tests."
This reverts commit 29ba1b0372.
2019-04-04 22:59:53 -07:00
Vallery Lancey 8b10712192 Revert "Deprecated --cleanup-ipvs flag in kube-proxy"
This reverts commit 4f1bb2bd2f.
2019-04-04 22:59:53 -07:00
Vallery Lancey 8378f7bcb8 Fixed old function signature in kube-proxy tests. 2019-04-04 22:59:53 -07:00
Vallery Lancey 4034cad269 Depricated --cleanup-ipvs flag in kube-proxy 2019-04-04 22:59:53 -07:00
Vallery Lancey 21340c50d0 Removed cleanup for non-current kube-proxy modes in newProxyServer() 2019-04-04 22:59:53 -07:00
Kubernetes Prow Robot e169638264
Merge pull request #75956 from fabriziopandini/fix-kubeadm-upgrade-12-13-14
kubeadm : fix-kubeadm-upgrade-12-13-14
2019-04-04 16:07:19 -07:00
Kubernetes Prow Robot 2cd1cfe0b3
Merge pull request #76046 from liggitt/automated-cherry-pick-of-#75887-upstream-release-1.14
Automated cherry pick of #75887: Explicitly flush headers when proxying
2019-04-04 10:33:53 -07:00
Kubernetes Prow Robot 4e0bcf3cf7
Merge pull request #75996 from roycaihw/automated-cherry-pick-of-#75781-upstream-release-1.14
Automated cherry pick of #75781: kube-aggregator: bump openapi aggregation log level
2019-04-04 05:54:50 -07:00
Kubernetes Prow Robot ea325751f1
Merge pull request #75733 from losipiuk/automated-cherry-pick-of-#75480-upstream-release-1.14
Automated cherry pick of #75480: Update Cluster Autscaler version to 1.14.0
2019-04-04 02:28:52 -07:00
Kubernetes Prow Robot 71e429a832
Merge pull request #76101 from johnSchnake/automated-cherry-pick-of-#76039-upstream-release-1.14
Automated cherry pick of #76039: Finish saving test results on failure
2019-04-04 01:12:50 -07:00
Kubernetes Prow Robot e862736800
Merge pull request #75908 from pjh/automated-cherry-pick-of-#75855-upstream-release-1.14
Automated cherry pick of #75855: Disable GCE agent address management on Windows nodes.
2019-04-03 23:47:22 -07:00
Kubernetes Prow Robot 7151a59cbf
Merge pull request #75901 from neolit123/automated-cherry-pick-of-#75900-origin-release-1.14
Automated cherry pick of #75900: kubeadm: fix "upgrade plan" not working without k8s version
2019-04-03 23:47:15 -07:00
Kubernetes Prow Robot 9e2d66a1cb
Merge pull request #75851 from neolit123/automated-cherry-pick-of-#75847-origin-release-1.14
Automated cherry pick of #75847: fix-external-etcd
2019-04-03 23:47:08 -07:00
Kubernetes Prow Robot 67f265712b
Merge pull request #75841 from javier-b-perez/automated-cherry-pick-of-#75269-upstream-release-1.14
Automated cherry pick of #75269: gce: configure: validate SA has storage scope
2019-04-03 23:47:01 -07:00
Kubernetes Prow Robot 8465371a09
Merge pull request #75734 from rhockenbury/automated-cherry-pick-of-#74919-upstream-release-1.14
Automated cherry pick of #74919: Fix Windows to read VM UUIDs from serial numbers
2019-04-03 23:46:49 -07:00
Kubernetes Prow Robot b4af0fa29f
Merge pull request #75721 from DataDog/automated-cherry-pick-of-#75283-upstream-release-1.14
Automated cherry pick of #75283 upstream release 1.14
2019-04-03 22:24:49 -07:00
Tom Wanielista ae13b88a76 Avoid panic in cronjob sorting
This change handles the case where the ith cronjob may have its start
time set to nil.

Previously, the Less method could cause a panic in case the ith
cronjob had its start time set to nil, but the jth cronjob did not. It
would panic when calling Before on a nil StartTime.
2019-04-03 12:44:01 -07:00
John Schnake c6bb01d2a1 Finish saving test results on failure
The conformance image should be saving its results
regardless of the results of the tests. However,
with errexit set, when ginkgo gets test failures
it exits 1 which prevents saving the results
for Sonobuoy to pick up.

Fixes: #76036
2019-04-03 13:48:14 -05:00
Yu-Ju Hong 61ac8e3ee7 GCE/Windows: disable stackdriver logging agent
The logging service could not be stopped at times, causing node startup
failures. Disable it until the issue is fixed.
2019-04-03 10:46:30 -07:00
fabriziopandini 211bc613a0 fix-kubeadm-upgrade-12-13-14 2019-04-02 21:27:21 +02:00
Jordan Liggitt 5c7e2fdf7d Explicitly flush headers when proxying 2019-04-02 14:54:17 -04:00
Haowei Cai c3f272f024 kube-aggregator: bump openapi aggregation log level 2019-04-01 17:32:40 -07:00
Peter Hornyack 0b7e042e14 Disable GCE agent address management on Windows nodes.
With this metadata key set, "GCEWindowsAgent: GCE address manager
status: disabled" will appear in the VM's serial port output during
boot.

Tested:
PROJECT=${CLOUDSDK_CORE_PROJECT} KUBE_GCE_ENABLE_IP_ALIASES=true NUM_WINDOWS_NODES=2 NUM_NODES=2 KUBERNETES_NODE_PLATFORM=windows go run ./hack/e2e.go -- --up
cluster/gce/windows/smoke-test.sh

cat > iis.yaml <<EOF
apiVersion: v1
kind: Pod
metadata:
  name: iis
  labels:
    app: iis
spec:
  containers:
  - image: mcr.microsoft.com/windows/servercore/iis
    imagePullPolicy: IfNotPresent
    name: iis-server
    ports:
    - containerPort: 80
      protocol: TCP
  nodeSelector:
    beta.kubernetes.io/os: windows
  tolerations:
  - effect: NoSchedule
    key: node.kubernetes.io/os
    operator: Equal
    value: windows1809
EOF

kubectl create -f iis.yaml
kubectl expose pod iis --type=LoadBalancer --name=iis
kubectl get services
curl http://<service external IP address>
2019-03-29 16:57:38 -07:00
Lubomir I. Ivanov 275a748133 kubeadm: fix "upgrade plan" not working without k8s version
If the k8s version argument passed to "upgrade plan" is missing
the logic should perform the following actions:
- fetch a "stable" version from the internet.
- if that fails, fallback to the local client version.

Currentely the logic fails because the cfg.KubernetesVersion is
defaulted to the version of the existing cluster, which
then causes an early exit without any ugprade suggestions.

See app/cmd/upgrade/common.go::enforceRequirements():
  configutil.FetchInitConfigurationFromCluster(..)

Fix that by passing the explicit user value that can also be "".
This will then make the "offline getter" treat it as an explicit
desired upgrade target.

In the future it might be best to invert this logic:
- if no user k8s version argument is passed - default to the kubeadm
version.
- if labels are passed (e.g. "stable"), fetch a version from the
internet.
2019-03-29 21:54:25 +02:00
Marek Siarkowicz 93388c9fc2 Update gcp images with security patches
[stackdriver addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[fluentd-gcp addon] Bump fluentd-gcp-scaler to v0.5.1 to pick up security fixes.
[fluentd-gcp addon] Bump event-exporter to v0.2.4 to pick up security fixes.
[fluentd-gcp addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[metatada-proxy addon] Bump prometheus-to-sd v0.5.0 to pick up security fixes.
2019-03-29 13:31:44 +01:00
fabriziopandini 90cf8be11f fix-external-etcd 2019-03-29 02:18:42 +02:00
Javier Pérez Hernández 1d56d56f3d gce: configure: validate SA has storage scope
If the VM SA doesn't have storage scope associated, don't use the
token in the curl request or the request will fail with 403.
2019-03-28 12:34:49 -07:00
Kubernetes Prow Robot a9f35a67c8
Merge pull request #75656 from alejandrox1/bump-go-openapi-jsonpointer-and-jsonreference-v0.19.0
Bump go-openapi/jsonpointer and go-openapi/jsonreference versions
2019-03-27 09:54:50 -07:00
Doug MacEachern fdd0a45232 vSphere: add token auth support for tags client
SAML auth support for the vCenter rest API endpoint came to govmomi
a bit after Zone support came to vSphere Cloud Provider.

Fixes #75511
2019-03-26 16:02:06 -04:00
Doug MacEachern d35c86fd8a vsphere: govmomi rest API simulator requires authentication 2019-03-26 16:02:06 -04:00
Doug MacEachern 696303aa54 godeps: update vmware/govmomi to v0.20 release 2019-03-26 16:02:06 -04:00
Ben Moss 3acb81c767 Fix Windows to read VM UUIDs from serial numbers
Certain versions of vSphere do not have the same value for product_uuid
and product_serial. This mimics the change in #59519.

Fixes #74888
2019-03-26 11:22:23 -04:00
Łukasz Osipiuk d195255f4a Update Cluster Autscaler version to 1.14.0
No changes since 1.14.0-beta.2
Changelog: https://github.com/kubernetes/autoscaler/releases/tag/cluster-autoscaler-1.14.0
2019-03-26 15:39:15 +01:00
Laurent Bernaille 66d2fe9a9b
Do not delete existing VS and RS when starting 2019-03-26 10:19:25 +01:00
Kubernetes Prow Robot b805719a99
Merge pull request #75697 from jeefy/release-1.14
1.14 release notes fixes for 1.14 branch
2019-03-25 15:54:17 -07:00
Jeffrey Sica 93d7e18e39 1.14 release notes fixes 2019-03-25 17:43:12 -04:00
Anago GCB a2e9891cd6 Add/Update CHANGELOG-1.14.md for v1.14.0. 2019-03-25 17:02:08 +00:00