Commit Graph

76340 Commits (e5eb6a21b13217d35878003b18bc5c25c8adbda8)

Author SHA1 Message Date
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
Laurent Bernaille a20735141c
Add flag to enable strict ARP 2019-03-26 10:13:17 +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
Anago GCB 63510c8eaf Kubernetes version v1.14.1-beta.0 openapi-spec file updates 2019-03-25 15:44:31 +00:00
Jorge Alarcon Ochoa 5650d782e0 Bump go-openapi/jsonpointer and go-openapi/jsonreference versions
xref: #75653

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-03-25 00:13:38 -04:00
Kubernetes Prow Robot 641856db18
Merge pull request #75530 from logicalhan/automated-cherry-pick-of-#75529-upstream-release-1.14
Automated cherry pick of #75529: bump required minimum go version to 1.12.1 (strings pkg compatibility)
2019-03-20 22:51:36 -07:00
Han Kang 98f94d830d bump required minimum go version to 1.12.1 (strings package compatibility) 2019-03-20 16:10:31 -07:00
Kubernetes Prow Robot 82481fadb5
Merge pull request #75489 from neolit123/automated-cherry-pick-of-#75487-origin-release-1.14
Automated cherry pick of #75487: Restore machine readability to the print-join-command output
2019-03-20 15:03:00 -07:00
Marques Johansson 6af50b9519 Restore machine readability to the print-join-command output
The output of `kubeadm token create --print-join-command` should be
usable by batch scripts. This issue was pointed out in:

https://github.com/kubernetes/kubeadm/issues/1454
2019-03-20 00:23:43 +02:00
Anago GCB 5052da0e84 Add/Update CHANGELOG-1.14.md for v1.14.0-rc.1. 2019-03-19 19:01:51 +00:00
Hannes Hoerl f5ee25e229 Merge remote-tracking branch 'origin/master' into release-1.14 2019-03-19 13:07:18 +00:00
Kubernetes Prow Robot 1d441c1f93
Merge pull request #75451 from liggitt/kubectl-username
Restore username and password kubectl flags
2019-03-18 23:44:20 -07:00
Kubernetes Prow Robot 5cc445dc8b
Merge pull request #75447 from liggitt/flaky-audit
Mark audit e2e tests as flaky
2019-03-18 21:56:19 -07:00
Kubernetes Prow Robot bcbf1bcfa9
Merge pull request #75422 from dims/move-to-golang-1.12.1-official-image
Move to golang 1.12.1 official image
2019-03-18 17:54:20 -07:00
Kubernetes Prow Robot 39277cdf4e
Merge pull request #75455 from dcbw/cni-0.7.5
build/gci: bump CNI version to 0.7.5
2019-03-18 16:36:19 -07:00
Dan Williams bfd8ad3268 build/gci: bump CNI version to 0.7.5 2019-03-18 17:16:42 -05:00
Jordan Liggitt a6034e511c Restore username and password kubectl flags 2019-03-18 17:16:49 -04:00
Kubernetes Prow Robot a4f2590bd8
Merge pull request #75371 from andyzhangx/smb-mount-win-lock
fix race condition issue for smb mount on windows
2019-03-18 13:40:21 -07:00
Jordan Liggitt 52bb829b20 Bump kube-cross image to 1.12.1-2 2019-03-18 15:51:19 -04:00
Kubernetes Prow Robot cd9f18bd7d
Merge pull request #75340 from pohly/framework-crd-utils
framework k8s.io/apiextensions-apiserver dependency
2019-03-18 12:26:22 -07:00
Jordan Liggitt cacafc1947 Mark audit e2e tests as flaky 2019-03-18 14:59:37 -04:00
Kubernetes Prow Robot aa9cbd112c
Merge pull request #75265 from JacobTanenbaum/ClearExternalIPs
Clear conntrack entries on 0 -> 1 endpoint transition with externalIPs
2019-03-18 11:06:23 -07:00
Kubernetes Prow Robot 28910bf2d7
Merge pull request #75387 from pjh/remove-use-release-node-binaries
Remove reference to USE_RELEASE_NODE_BINARIES.
2019-03-18 09:52:26 -07:00
Kubernetes Prow Robot b61baea135
Merge pull request #75420 from fabriziopandini/fix-kubeadm-init-output
fix kubeadm init output
2019-03-18 06:07:11 -07:00
fabriziopandini fcadf143a5 fix-kubeadm-init-output 2019-03-18 12:52:41 +01:00
Kubernetes Prow Robot 364b18cb9e
Merge pull request #75375 from frapposelli/GH-75236
Stop vsphere cloud provider from spamming logs with `failed to patch IP`
2019-03-18 03:45:12 -07:00
Hannes Hoerl 06860bb0cd Merge remote-tracking branch 'origin/master' into release-1.14 2019-03-18 09:40:27 +00:00
Kubernetes Prow Robot ebea037729
Merge pull request #75431 from fabriziopandini/fix-external-ca
fix kubeadm external CA Mode
2019-03-17 06:28:56 -07:00
fabriziopandini ff072aa639 fix-external-ca 2019-03-17 13:03:40 +01:00
Kubernetes Prow Robot fe8b1e24ee
Merge pull request #75425 from liggitt/kubeadm-insecure-port
Kubeadm insecure port
2019-03-16 17:24:55 -07:00
Jordan Liggitt d4591ea324 Revert "Stop using API server's `--insecure-port`"
This reverts commit 5b64a98689.
2019-03-16 16:24:49 -04:00
Kubernetes Prow Robot 1a24040447
Merge pull request #74781 from liggitt/http2-watch
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Kubernetes Prow Robot 3512757882
Merge pull request #75416 from tallclair/local-redirects
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00