Commit Graph

83 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Yang Lu
0965b577f4 Wait for kubelet & kube-proxy to be ready within 10s 2019-11-18 16:39:47 -08:00
Yu Liao
2552837850 serve hns.psm1 StackdriverLogging-v1-9.exe GetGcePdName.dll from GCS 2019-11-12 17:04:10 -08: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
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
Zang Li
2a3ab18654 Add dns capability to GCE window cluster 2019-09-04 18:45:25 -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
Peter Hornyack
3ac5c1565a Leave Windows Defender enabled for clusters on GCE 2019-08-19 16:55:00 -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