Commit Graph

153 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
84d15ca322
Merge pull request #93765 from jeremyje/restartsd
Configure StackdriverLogging Windows service to restart on failure.
2020-11-12 23:26:23 -08:00
Kubernetes Prow Robot
9a85031a25
Merge pull request #96027 from lizhuqi/fluentd-config-update
Add keep_time_key setting to fluentd configuration
2020-11-12 16:02:39 -08:00
Jeremy Edwards
26cdcde3d5 Configure StackdriverLogging Windows service to restart on failure. 2020-11-11 21:04:21 -08:00
Julie Qi
9987d34016 Add keep_time_key setting to fluentd configuration 2020-10-29 16:44:00 -07:00
Barni S
73916e5a9b If image has stackdriver agent installed, use it.
Check if stackdriver agent is preinstalled in the image. If so configure and use it.
Else check for fluentbit agent
2020-10-28 13:34:44 -04:00
Barni S
847ae378ef Fix windows node startup failures.
1. cd to root dir before removing temp installer path. It was failing because we were trying to remove while being in the same dir.
2. Expand variables in a regular string and use it in the command. Expansion was failing in single quotes.
2020-10-15 16:17:22 -04:00
Barni S
bbe7b2ebed Use fluentbit as logging agent. Replace stackdriver 2020-10-14 18:27:09 -04:00
Kubernetes Prow Robot
446da13de1
Merge pull request #94975 from zshihang/hash
replace sha1 with sha512
2020-10-06 13:00:42 -07:00
Jing Xu
d02f3a84e1 Add gate to install CSI proxy
Add a gate ENABLE_CSI_PROXY to enable/disable csi proxy installation.
The default value is true
2020-10-02 16:37:08 -07:00
Jing Xu
f973c1d96e Add CSI proxy log to fluentd
Add csi proxy log
2020-09-29 22:57:31 -07:00
Shihang Zhang
e99dbbde62 replace sha1 with sha512 2020-09-23 11:27:20 -07:00
Jing Xu
0752b78081 Remove testcluster check for csi proxy
Remove testcluster check for csi proxy after it is beta
2020-09-18 16:15:17 -07:00
Kubernetes Prow Robot
9707537b72
Merge pull request #94267 from lizhuqi/hostname-override
Override hostname with instance name
2020-09-17 04:18:45 -07:00
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