Jing Xu
555c8dbd1b
Update csi-proxy to use beta version
...
This PR update csi-proxy version, remove diskutil.exe and set up log
file
2020-09-09 18:43:39 -07:00
Kubernetes Prow Robot
8aaa7515e5
Merge pull request #94374 from jingxu97/Aug/csiproxyservice
...
Start CSI proxy as service
2020-09-02 18:21:40 -07:00
Jing Xu
28ab3488b6
Start CSI proxy as service
...
Now CSI proxy can support starting as service. Update node startup
script to create and start it as service
2020-09-02 13:28:09 -07:00
Julie Qi
16f85883c4
Override hostname with instance name
2020-08-28 18:03:40 -07:00
Marko Mudrinić
084bc9db43
Update cri-tools to v1.19.0
2020-08-28 15:34:42 +02:00
Jeremy Edwards
9a315cc2ec
Simplify and de-lint GCE Windows kube-up docs.
2020-08-17 10:23:39 -07:00
Jing Xu
116465bb04
Add test cluster check when starting csi proxy
...
Add the check for test cluster when starting csi proxy
2020-08-07 14:46:38 -07:00
Kubernetes Prow Robot
dbf6c456a2
Merge pull request #91835 from jingxu97/June/csi
...
Add csi-proxy installation into node setup script
2020-07-02 06:41:00 -07:00
Jing Xu
57d0dc540d
Add csi-proxy installation into node setup script
...
This PR follows the same step to install and start csi-proxy as kubelet
binary
2020-07-01 15:08:29 -07:00
Kubernetes Prow Robot
0a1e58913c
Merge pull request #92123 from YangLu1031/improveStackdriverInstallation
...
Stabilize StackdriverLogging installation
2020-06-16 04:04:05 -07:00
Yang Lu
0239a7d857
Stabilize stackdriver installation
2020-06-15 18:50:25 -07:00
Kubernetes Prow Robot
29f96dfa2d
Merge pull request #92063 from jingxu97/June/docker
...
Add WINDOWS_CONTAINER_RUNTIME env variable and set default to docker for windows node
2020-06-14 18:53:56 -07:00
Kubernetes Prow Robot
79960095dd
Merge pull request #91124 from barney-s/update_win_sd
...
Bump Stackdriver version to 1.11
2020-06-13 00:33:56 -07:00
Jing Xu
953597134b
Add WINDOWS_CONTAINER_RUNTIME env vairable
...
Now the default value of container runtime for linux is changed to
containerd. However, containerd is not ready to be used in Windows node.
THis PR adds a new env varabile to handle container runtime setup for
windows nodes. This way, linux and windows can set up their owe container runtime.
By default, linux uses containerd while windows uses dockerd
2020-06-12 17:22:12 -07:00
Yang Lu
c84eb12357
Flush cache to disk to persist setup status
2020-06-11 05:15:30 -07:00
Peter Hornyack
0a4f3f64a7
Repair syntax error in Windows-GCE startup script
2020-06-04 17:45:38 -07:00
Sascha Grunert
d2fc2d282d
Update cri-tools to v1.18.0
...
This updates cri-tools to the latest release as well as pointing the
artifacts to the new Google Cloud Bucket `k8s-artifacts-cri-tools`.
This reverts commit ce1840d253
.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-29 10:56:02 +02:00
Kubernetes Prow Robot
2f883e5802
Merge pull request #90618 from jingxu97/Mar/windows
...
Install diskutil into GCE windows node
2020-05-20 19:40:33 -07:00
Jing Xu
e71acffdfe
Install diskutil into GCE windows node
...
This PR installs a utility diskutil.exe into GCE windows node. This is a
workaround for csiproxy be able to get disk id by name. This utility
will be placed once issue is addressed.
2020-05-19 18:36:16 -07:00
Jakub Przychodzeń
ce1840d253
Revert "Update cri-tools to v1.18.0"
...
This reverts commit 4b3e023659
.
2020-05-19 11:19:39 +02:00
Sascha Grunert
4b3e023659
Update cri-tools to v1.18.0
...
Bump cri-tools to the latest version and update test scripts.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-18 13:38:41 +02:00
Barni S
d826b4b05c
Bump Stackdriver version to 1.11
2020-05-14 18:45:17 -04:00
Yu Liao
eb6ee368b9
Removed leftover comments for the deleted function Get_MgmtSubnet
2020-05-04 21:25:51 -07:00
Yu Liao
9684c13fba
switched to default non-masquerade destination ranges
2020-04-30 12:29:34 -07:00
Kubernetes Prow Robot
81a0e2f62b
Merge pull request #85923 from MrHohn/sig-gcp-owner-file
...
Migrate OWNERS file to apply the area/provider/gcp label
2020-04-02 19:03:46 -07:00
Peter Hornyack
55df85ba37
Update GCE Windows node images with March's Windows updates
2020-03-27 15:44:08 -07:00
Peter Hornyack
3583816112
Fix INFRA_CONTAINER variable references
...
Tested:
NUM_NODES=2 NUM_WINDOWS_NODES=2 KUBE_GCE_ENABLE_IP_ALIASES=true \
KUBERNETES_NODE_PLATFORM=windows \
LOGGING_STACKDRIVER_RESOURCE_TYPES=new \
KUBE_UP_AUTOMATIC_CLEANUP=true \
WINDOWS_NODE_OS_DISTRIBUTION=win2019 \
./cluster/kube-up.sh
2020-03-26 19:30:39 -07:00
Yu Liao
50c0827856
infra_container is passed in as env variable
2020-03-20 10:50:25 -07:00
Kubernetes Prow Robot
461a494f69
Merge pull request #87907 from pjh/configure-windows-gce-carefully
...
Separate containerd install from config, and other cleanups
2020-02-13 16:55:01 -08:00
Yu-Ju Hong
bcd975aa65
Replace Beta OS/arch labels with the GA ones
...
Beta OS/arch labels have been deprecated since 1.14.
This change replaces these labels with the GA ones.
2020-02-13 09:38:51 -08:00
Peter Hornyack
d61e90b0ee
Separate containerd install from config, and other cleanups
2020-02-12 10:57:14 -08:00
Yu Liao
81252a6d78
added env var WINDOWS_CNI_STORAGE_PATH and WINDOWS_CNI_VERSION
2020-02-07 12:44:13 -08:00
Peter Hornyack
cc7799a437
Update GCP Windows node image versions
...
- Makes Windows Server 2019 the default version for Windows clusters on
GCP, since 1809 will be EOL in a few months.
- Adds Windows Server version 1909 as a Windows node choice.
- Use Windows images with updates from January 2020.
- Cleans up the code that sets the node image.
2020-01-31 10:29:39 -08:00
Kubernetes Prow Robot
9f44f7ecc2
Merge pull request #87632 from pjh/multi-arch-smoke-test
...
Update GCE Windows smoke-test script to work with 1909 nodes.
2020-01-30 16:59:43 -08:00
Stephen Augustus
1174e6698e
cni: Update CNI version to v0.8.5
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 04:41:29 -05:00
Stephen Augustus
96f2588b61
cni: Update CNI download URLs to use new GCS bucket (k8s-artifacts-cni)
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 02:32:22 -05:00
Peter Hornyack
cb942c23a7
Update GCE Windows smoke-test script to work with 1909 nodes.
2020-01-28 17:07:59 -08:00
Kubernetes Prow Robot
15f96a807a
Merge pull request #86305 from saschagrunert/cri-tools
...
Update cri-tools to v1.17.0
2020-01-24 12:18:32 -08:00
Yu Liao
368fe70aed
bumped pause-win to 1.1.0
2020-01-21 13:42:00 -08:00
Sascha Grunert
7e5e7c141c
Update cri-tools to v1.17.0
...
Update the crictl binaries to the latest release
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-14 08:36:20 +01:00
Peter Hornyack
9b17de7462
Repair smoke-test for Windows GCE clusters
2020-01-08 14:00:50 -08:00
Kubernetes Prow Robot
8727eef79c
Merge pull request #85836 from YangLu1031/master
...
Add instructions about how to bring up e2e test cluster
2020-01-02 14:31:41 -08:00
Yang Lu
b88788b085
update to use e2e-up.sh instead of kubetest
2019-12-19 20:03:49 -08:00
Yang Lu
b4f5238535
Add instructions about how to use kubetest to bring up e2e test cluster
2019-12-19 15:09:34 -08:00
Peter Hornyack
0ae8b6ba59
Update subnet mask calculation for compatibility with future VNIC changes
2019-12-19 14:55:10 -08:00
Lantao Liu
c229c78af7
Upload containerd logs to stackdriver
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-12 11:49:14 -08:00
Kubernetes Prow Robot
a6f41a46a5
Merge pull request #85827 from barney-s/fix-windows-fluentd-config-hostname
...
Replace the hostname in the fluentd config file even if the file exists
2019-12-05 17:15:27 -08:00
barney-s
dd7430134a
Removing conditional check
...
Addressing review comment. Removing conditional check for fluentd config file path.
2019-12-05 10:35:47 -08:00
Zihong Zheng
5463eda704
Migrate OWNERS file to apply the area/provider/gcp label
2019-12-04 17:05:43 -08:00
Peter Hornyack
cff9751112
Update GCE Windows startup scripts for TPM-based authentication
...
"Shielded" nodes have a virtual TPM attached which is used for
generating the client certificate, instead of using a bootstrap
kubeconfig. Determining which to use happens during node startup based
on the instance metadata.
2019-12-04 13:57:59 -08:00
Barni S
a70a534736
Replace the hostname in the fluentd config file even if the file exists
2019-12-02 16:04:52 -08:00
Lantao Liu
e687bf4fe9
Use GCS bucket for crictl on windows.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-02 14:11:48 -08:00
Kubernetes Prow Robot
fe2ee4f09e
Merge pull request #85396 from Random-Liu/windows-containerd-on-gce
...
Add containerd windows support on GCE for test.
2019-12-02 12:22:57 -08:00
Yu Liao
bbc49d6b1f
catch the exception raised in Remove-HnsPolicyList
2019-11-27 15:43:39 -08:00
Lantao Liu
ee2418c7aa
Move hostdns.conf out of cni directory.
2019-11-27 11:48:58 -08:00
Lantao Liu
e66f4ca537
Add containerd windows support on GCE for test.
2019-11-27 11:48:58 -08:00
Kubernetes Prow Robot
a3a2c4230d
Merge pull request #85496 from tanjunchen/fix-invalid-urls
...
fix 1-12 number urls
2019-11-25 15:25:10 -08:00
Kubernetes Prow Robot
225aa3aa70
Merge pull request #85404 from yliaog/windows
...
added yliaog to OWNERS
2019-11-22 17:30:55 -08:00
tanjunchen
8f4a262d61
fix 1-12 number urls
2019-11-21 11:17:46 +08:00
Yang Lu
0965b577f4
Wait for kubelet & kube-proxy to be ready within 10s
2019-11-18 16:39:47 -08:00
Yu Liao
be78dd7526
added yliaog to OWNERS
2019-11-17 21:46:35 -08:00
Kubernetes Prow Robot
814ebe7678
Merge pull request #85084 from barney-s/win-stackdriver-startup-fix
...
Reorder stackdriver setup in windows startup script
2019-11-13 09:27:27 -08:00
Kubernetes Prow Robot
c68d04ffb4
Merge pull request #85018 from yliaog/windep
...
Windep
2019-11-13 09:27:08 -08:00
Yu Liao
2552837850
serve hns.psm1 StackdriverLogging-v1-9.exe GetGcePdName.dll from GCS
2019-11-12 17:04:10 -08:00
Barni S
b14612e346
Move stackdriver startup block after HNS stabilizes. Stackdriver is not functional if metadata-server doesnt respond. At this stage of the init script, metadata server is available
2019-11-08 17:28:12 -05:00
Benjamin Elder
83c56a0373
remove hack/e2e.go
2019-11-03 19:36:59 -05:00
Kubernetes Prow Robot
382f28ac63
Merge pull request #84538 from yliaog/windows
...
switched to use the pause image served from gcr
2019-10-30 21:56:26 -07:00
Yu Liao
6ca8bd4103
moved Pull-InfraContainer to the last
2019-10-29 16:00:39 -07:00
Yu Liao
f574071b8c
switched to use the pause image served from gcr
2019-10-29 14:25:31 -07:00
Yu Liao
573bf5cd49
switch cni plugin download to be from gcs bucket
2019-10-29 10:23:14 -07:00
Yu Liao
18f48e2cf6
removed powershell-yaml module dependency
2019-10-28 13:26:11 -07:00
Zang Li
f1ad24b0be
Remove the assumption of pod cidr of /24 in the gce window node start up script.
2019-10-07 12:18:37 -07:00
Jacek Kaniuk
46e7a14227
Ability to set up additional, bigger nodes during tests
2019-10-03 12:20:06 +02:00
Kubernetes Prow Robot
397ed0e825
Merge pull request #82314 from lzang/master
...
Add dns capability to GCE window cluster
2019-09-05 16:30:58 -07:00
Zang Li
2a3ab18654
Add dns capability to GCE window cluster
2019-09-04 18:45:25 -07:00
Angela Li
1d27242967
rebase
2019-09-04 15:32:25 -07:00
Angela Li
54d9f9a75b
Add comment
2019-09-04 15:30:38 -07:00
Angela Li
f24749594b
Adding ENABLE_STACKDRIVER_WINDOWS
2019-09-04 15:30:38 -07:00
Angela Li
53a2559e24
Install and start logging based on kube env
2019-09-04 15:30:38 -07:00
Peter Hornyack
9282e48ccc
Write the Stackdriver config separately from the installation.
...
This will let us preinstall the Stackdriver logging agent but still
configure it correctly when bringing up new Windows nodes.
The hostname in the config file looks the same before-and-after:
"logging.googleapis.com/local_resource_id" ${"k8s_node.e2e-test-peterhornyack-windows-node-group-6tw6"}
"logging.googleapis.com/local_resource_id" ${"k8s_node.e2e-test-peterhornyack-windows-node-group-mf5r"}
2019-08-29 12:22:33 -07:00
Yu-Ju Hong
48cc836717
GCE/Windows: use "return" as "continue" for ForEach-Object
...
Using `continue` would exit the current processing scope.
https://blogs.technet.microsoft.com/msftcam/2015/03/17/powershell-gotcha-foreach-object-and-continue/
2019-08-21 15:44:40 -07:00
Peter Hornyack
3ac5c1565a
Leave Windows Defender enabled for clusters on GCE
2019-08-19 16:55:00 -07:00
Kubernetes Prow Robot
2974adff27
Merge pull request #81337 from YangLu1031/master
...
Add instruction for "Application Default Credentials" to run e2e tests locally
2019-08-15 16:18:47 -07:00
Yang Lu
9d68d44e1f
Add instruction for "Application Default Credentials"
2019-08-14 10:27:58 -07:00
draveness
495faa22db
feat: cleanup pod critical pod annotations feature
2019-08-09 08:41:23 +08:00
draveness
d83526d253
Revert "feat: cleanup pod critical pod annotations feature"
...
This reverts commit b6d41ee5cc
.
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
5be1efe9bd
Merge pull request #79447 from almos98/start-stackdriver-workaround
...
Wait for StackdriverLogging service to stop before restarting it.
2019-07-12 14:11:06 -07:00
Alexion Ramos
6edbb95f53
Wait for StackdriverLogging service to stop before restarting it.
2019-07-11 17:54:38 -07:00
draveness
b6d41ee5cc
feat: cleanup pod critical pod annotations feature
2019-07-11 08:54:19 +08:00
Vallery Lancey
dc0f14312e
Removed deprecated --resource-container flag from kube-proxy.
2019-06-16 08:36:42 -07:00
Yu-Ju Hong
b300267a57
Add more approvers/reviewers to cluster/gce/windows
2019-06-04 11:42:55 -07:00
Yu-Ju Hong
4a7be385a1
Update README for GCE/Windows
...
Add instructions to create e2e clusters without building binaries
locally. Also update the instructions to build the binaries locally.
2019-06-03 11:17:50 -07:00
Kubernetes Prow Robot
b82d7cabf4
Merge pull request #78552 from mtaufen/use-auth-header
...
Windows startup scripts should use Authorization header for GCS requests
2019-06-01 12:12:41 -07:00
Michael Taufen
e2116ef572
Windows startup scripts should use Authorization header for GCS requests
...
Requests against private buckets will fail unless the VM has storage
scope and the default service account token is provided in the request
header.
This PR replicates the following Linux changes for Windows:
- https://github.com/kubernetes/kubernetes/pull/74142
- https://github.com/kubernetes/kubernetes/pull/75269
2019-05-30 16:55:55 -07:00
Peter Hornyack
d47dd75df8
GCE Windows nodes: leave firewall enabled.
2019-05-29 18:08:52 -07:00
Yu-Ju Hong
3b58a5d89f
GCE: Disable the Windows defender
...
This is a workaround for https://github.com/kubernetes/kubernetes/issues/75148
2019-05-23 17:51:32 -07:00
Kubernetes Prow Robot
3ba4111abe
Merge pull request #77958 from pjh/pause-image-official
...
Windows GCE nodes: pull infra/pause container image during node setup
2019-05-17 05:38:45 -07:00
Kubernetes Prow Robot
c48c3f400b
Merge pull request #77954 from pjh/cni-release-v0.8.0
...
Windows GCE nodes: use CNI plugins v0.8.0 release.
2019-05-17 02:04:45 -07:00
Peter Hornyack
5c32b4bbb2
Windows GCE nodes: pull infra/pause container image during node setup
2019-05-16 11:45:56 -07:00
Yu-Ju Hong
abed7cc0a9
GCE/Windows: add instructions about stackdriver logging in README
...
Setting LOGGING_STACKDRIVER_RESOURCE_TYPES ensures that the both Linux
and Windows nodes send logs to the same resources with the same tags.
2019-05-15 11:59:37 -07:00
Peter Hornyack
5d669f2946
Use CNI plugins v0.8.0 release.
2019-05-15 10:59:46 -07:00
Yu-Ju Hong
eadacaf058
GCE/Windows: ignore stopping errors for stackdriver
2019-05-07 17:17:34 -07:00
Yu-Ju Hong
9f65407833
GCE/Windows: send container logs to the proper resource
...
This PR fixes a bug where all container logs are sent to the "k8s_node"
resource by adding a "match" directive that applies only to container
logs.
2019-05-03 11:32:19 -07:00
Yu-Ju Hong
bee570a2f0
GCE/Windows: force kill the stackdriver processes when necessary
...
StackdriverLogging service sometimes cannot be stopped properly. This
work around the bug by force killing the processes.
2019-05-02 18:52:31 -07:00
Yu-Ju Hong
6e12de0744
GCE/Windows: Configure Docker to rotate container logs
2019-04-23 11:53:16 -07:00
Yu-Ju Hong
4cd2625719
GCE/Windows: enable stackdriver logging agent
...
This change bumps the stackdriver logging agent version to v1-9,
re-enable it, and change the script/configuration to:
* Create /var/log in the startup script, since the fluentd
configuration expects the directory to exists
* Add support for collecting kubelet/kube-proxy logs
2019-04-19 15:41:48 -07:00
Yu-Ju Hong
05074e9dde
GCE/Windows: add cluster-location to instance metadata
...
This will be used by stackdriver to annotate the logs.
2019-04-19 15:41:48 -07:00
Yu-Ju Hong
2a37067735
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:34:36 -07:00
Peter Hornyack
1814b0c495
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-28 17:28:18 -07:00
Peter Hornyack
0fbb246c30
Update GCE Windows README steps for running e2e tests.
2019-03-08 13:47:41 -08:00
Kubernetes Prow Robot
cf439192fb
Merge pull request #75139 from mtaufen/windows-kube-proxy-args
...
Windows kubeproxy flags cleanup
2019-03-08 00:53:28 -08:00
Michael Taufen
0d59d2a43e
Windows kubeproxy flags cleanup
...
- Pass most of the flags via kube-env, similar to Kubelet, to make it
easier to reconfigure.
- Use kube-proxy's kubeconfig file to pass the API server address,
rather than the --master flag.
- Make KUBEPROXY_ARGS a required variable in Windows kube-env, similar
to KUBELET_ARGS.
2019-03-07 14:45:34 -08:00
Michael Taufen
0a21d644f5
Rotate windows logs
2019-03-07 10:42:31 -08:00
Kubernetes Prow Robot
57da888ff4
Merge pull request #75055 from pjh/gce-windows-disable-defender-again
...
Disable Windows Defender in Windows nodes on GCE again.
2019-03-07 01:07:26 -08:00
Kubernetes Prow Robot
a60d44848f
Merge pull request #74748 from pjh/gce-windows-stackdriver
...
Install Stackdriver agent in Windows nodes on GCE.
2019-03-06 17:59:39 -08:00
Peter Hornyack
80c635880d
Disable Windows Defender in Windows nodes on GCE again.
...
This reverts commit fbf4fe4714
. Windows
Defender seems to be causing our Windows nodes to crash and reboot
during e2e tests, e.g.
https://gcsweb.k8s.io/gcs/kubernetes-jenkins/logs/ci-kubernetes-e2e-windows-gce/228/artifacts/e2e-228-36623-windows-node-group-q4 .
2019-03-06 11:42:03 -08:00
Kubernetes Prow Robot
5a89793f8e
Merge pull request #74612 from jingxu97/windows
...
Add GcePD windows support
2019-03-05 21:42:22 -08:00
Peter Hornyack
197513141e
Install Stackdriver agent in Windows test clusters.
2019-03-05 15:14:07 -08:00
Kubernetes Prow Robot
365c504e2b
Merge pull request #74928 from pjh/gce-windows-reenable-defender
...
Don't disable Windows Defender.
2019-03-05 11:10:25 -08:00
Peter Hornyack
fbf4fe4714
Don't disable Windows Defender.
2019-03-04 16:34:21 -08:00
Kubernetes Prow Robot
e001276b1d
Merge pull request #74836 from yujuhong/update-win-cni-config
...
GCE/Windows: exclude gateways from the IPAM subnet
2019-03-01 20:35:03 -08:00
Yu-Ju Hong
1f86bce95e
GCE/Windows: exclude gateways from the IPAM subnet
...
Exclude IPs assigned for gateways in the IPAM configuration.
2019-03-01 16:35:26 -08:00
Kubernetes Prow Robot
b8e05af7bf
Merge pull request #74736 from mtaufen/windows-kube-proxy-config
...
Stop setting --hostname-override on Windows kube-proxy and allow args to be extended remotely if necessary
2019-03-01 16:12:23 -08:00
Kubernetes Prow Robot
98c0d15f98
Merge pull request #74762 from pjh/gce-windows-dump-versions
...
Dump Windows version information during cluster bringup.
2019-03-01 01:08:36 -08:00
Kubernetes Prow Robot
824883d08a
Merge pull request #74754 from pjh/gce-windows-smoke-timeout
...
Increase Windows smoke-test timeout to 3 minutes.
2019-02-28 19:12:18 -08:00
Peter Hornyack
18a2a98d67
Dump Windows version information during cluster bringup.
2019-02-28 17:22:49 -08:00
Peter Hornyack
43556be50e
Enhance metadata fetching functions.
...
Introduce Get-InstanceMetadata which can be used to fetch
non-"attribute" metadata values.
2019-02-28 17:18:34 -08:00
Peter Hornyack
4181422a3c
Increase Windows smoke-test timeout to 3 minutes.
...
I recently lowered the timeout value to 2 minutes but this turned out to
be too aggressive for now. 3 minutes is usually long enough for the test
containers to come up.
Note that this test is only used during development, it does not run
continuously anywhere.
2019-02-28 14:22:35 -08:00
Kubernetes Prow Robot
4741785d29
Merge pull request #73650 from mtaufen/windows-upload-scripts
...
upload Windows startup scripts to GCS for CI
2019-02-28 11:51:25 -08:00
Michael Taufen
a76d132162
Stop setting --hostname-override on Windows kube-proxy and allow args to be extended remotely if necessary
...
--hostname-override should not be necessary, we can rely on kube-proxy
to auto-detect it just like we do in Kubelet.
I also added an optional variable to kube_env, KUBEPROXY_ARGS, that we
can use to remotely extend kube-proxy's command-line if necessary.
2019-02-28 10:13:07 -08:00
Jing Xu
5e04d200ee
Add GcePD windows support
...
This PR adds the support for GCEPD volume. For now, it uses a workaround
(https://github.com/pjh/gce-tools ) to get disk number in windows for a given GCE PD name.
2019-02-27 17:00:32 -08:00
Yu-Ju Hong
093e5a50ac
GCE/Windows: create a C:\tmp directory
...
This is required for running host path tests.
2019-02-26 10:59:06 -08:00
Michael Taufen
98edbf41bc
upload Windows startup scripts to GCS for CI
2019-02-25 16:44:57 -08:00
Yu-Ju Hong
b863655faa
GCE: switch to using e2eteam/pause:3.1 for pause containers
...
Stop building pause images on node startup.
2019-02-25 14:36:49 -08:00
Kubernetes Prow Robot
2aacb77374
Merge pull request #74444 from pjh/gce-windows-no-defender
...
Disable Windows Defender on Windows nodes.
2019-02-25 13:54:42 -08:00
Peter Hornyack
621df2cddb
Disable Windows Defender on Windows test nodes.
2019-02-22 18:35:38 -08:00
Kubernetes Prow Robot
46d7e9c784
Merge pull request #74381 from yujuhong/add-key
...
GCE: add EventLog registry key for docker
2019-02-22 17:58:44 -08:00
Yu-Ju Hong
40d0ae311c
GCE: add EventLog registry key for docker
2019-02-21 17:47:32 -08:00
Peter Hornyack
57ca6f007e
Enable OpenSSH on Windows nodes in test clusters.
...
Also switches to the most recent 64-bit version of OpenSSH for Windows.
Tested:
PROJECT=${CLOUDSDK_CORE_PROJECT} KUBERNETES_SKIP_CONFIRM=y NUM_NODES=2 \
NUM_WINDOWS_NODES=2 KUBE_GCE_ENABLE_IP_ALIASES=true TEST_CLUSTER=true \
./cluster/kube-up.sh
2019-02-21 14:03:43 -08:00
Peter Hornyack
6d78f2b666
Default to Windows Server version 1809 for Windows nodes.
...
Removes all references to 1803, including moving "win1803" directory to
just "windows". A single Windows directory suffices for now, if
necessary in the future we can shard it into directories for each
Windows version.
We've been running tests with Windows 1809 nodes for a couple days in
our fork without major problems:
https://testgrid.k8s.io/google-windows#windows-prototype&width=20 .
Testing on Azure is already using 1809:
https://testgrid.k8s.io/sig-windows#Conformance%20acs-engine%20on%20Azure&width=20 .
2019-02-21 09:44:44 -08:00