Commit Graph

145 Commits

Author SHA1 Message Date
Ciprian Hacman
d01e9cedb1 Clean up logic for deprecated flag --container-runtime in scripts
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-20 11:19:08 +02:00
Sascha Grunert
f7f0f4b901
Update cri-tools to v1.23.0
Files promoted to `k8s-artifacts-cri-tools`:
https://console.cloud.google.com/storage/browser/k8s-artifacts-cri-tools/release/v1.23.0

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-01-17 15:02:53 +01:00
Kubernetes Prow Robot
461dc9e371
Merge pull request #104640 from lizhuqi/fluentd-1-17
Remove stackdriver version variable
2021-12-09 16:29:10 -08:00
Patrick Ohly
d2a8a81639 Package kube-log-runner as part of Kubernetes releases
kube-log-runner was formerly known as go-runner when it was originally introduced
in 393e0952e9
It was moved to kubernetes/release/images/build/go-runner later but is now
needed again in Kubernetes itself as replacement for the deprecated --log-file
klog feature: when bringing up a Windows node, kube-proxy.exe and kubelet.exe must be wrapped
with the helper binary to redirect output.

It got renamed to avoid a naming conflict with
test/conformance/image/go-runner and because the name was too vague.

Other downstream Kubernetes users may have a similar need, therefore it makes
sense to provide a prebuilt binary also in the release archives.
2021-11-04 10:00:26 +01:00
Mauricio Poppe
9e29cc042e KubeEnv var to enable Hyper-V in Windows 2021-10-29 07:07:33 +00:00
Michelle Tandya
e9e6a7cb6b Update the binary version file for NPD to 0.8.10-gke0.1 2021-10-14 20:55:41 +00:00
Julie Qi
6bf310d6aa Remove stackdriver version variable 2021-09-10 15:26:16 -07:00
Sascha Grunert
6a6e24702c
Update cri-tools to v1.22.0
This patch updates crictl to the latest available release.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-18 10:15:15 +02:00
“Ibrahim
aa9380e017 Add termination hook to the startup script - GCE Windows 2021-08-12 19:56:15 +00:00
Kubernetes Prow Robot
6751ae8f21
Merge pull request #104112 from mcshooter/dump-kube-env-from-startup-script
Log kube-env variables from startup script
2021-08-05 16:36:38 -07:00
Michelle Tandya
9cffbab037 Log kube-env variables from startup script 2021-08-04 22:53:52 +00:00
“Ibrahim
2cacfada26 Update Containerd version - GCE Windows 2021-07-22 18:34:11 +00:00
Kubernetes Prow Robot
119b8fc93e
Merge pull request #103057 from jeremyje/fixnet
GCE Windows: Set TCP/IP parameters to align with GCE optimal settings.
2021-07-08 14:01:44 -07:00
Kubernetes Prow Robot
d787eaa4d5
Merge pull request #103332 from mcshooter/updateNPDVersion
Update NPD release version and include windows defender config
2021-06-30 01:19:02 -07:00
Michelle Tandya
03f85e9ade Update NPD release version and include windows defender config 2021-06-30 00:00:32 +00:00
Jeremy Edwards
44360b315c GCE Windows: Upgrade to flb-exporter v0.17.0 which reduces log spam. 2021-06-21 23:46:27 +00:00
Jeremy Edwards
7839668877 GCE Windows: Set TCP/IP parameters to keep idle connections alive on GCE. 2021-06-21 23:00:32 +00:00
Kubernetes Prow Robot
1400be60ff
Merge pull request #102495 from jeremyje/fb177
GCE Windows: Upgrade to fluent-bit 1.7.7, 1.7.6 had a major regression.
2021-06-11 17:03:01 -07:00
Jeremy Edwards
47a7fcb17b GCE Windows: Only create NPD kubeconfig when the file path is defined. 2021-06-02 21:15:45 +00:00
Jeremy Edwards
3cb4f3e1bf GCE Windows: Upgrade to fluent-bit 1.7.7, 1.7.6 had a major regression. 2021-06-01 16:25:21 +00:00
Jeremy Edwards
54f3eb42e9 Upgrade Fluent-Bit 1.7.6. 2021-05-24 19:51:00 +00:00
Kubernetes Prow Robot
e830610854
Merge pull request #101539 from jeremyje/installnpd
Install Node Problem Detector on GCE Windows nodes
2021-05-18 20:16:50 -07:00
Jeremy Edwards
09f9537338 Install Node Problem Detector on GCE Windows nodes 2021-05-15 16:14:17 +00:00
Jeremy Edwards
2f87f280fe GCE Windows: Upgrade to fluent-bit 1.7.5 2021-05-14 21:23:30 +00:00
Jeremy Edwards
5c713379a0 GCE Windows: mkdir -p fluent-bit pos-files directory. 2021-04-29 22:52:38 +00:00
Jeremy Edwards
e62301c87d Fix fluent-bit configuration for GCE Windows. 2021-04-22 20:04:54 +00:00
Kubernetes Prow Robot
a96000311f
Merge pull request #100956 from saschagrunert/cri-tools
Update cri-tools to v1.21.0
2021-04-12 00:35:59 -07:00
“Ibrahim
ec38cfcd15 Update the containerd runtime binary path - gce 2021-04-09 23:36:58 +00:00
Sascha Grunert
33e0e035ea
Update cri-tools to v1.21.0
This updates crictl to the latest available release.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-04-09 11:05:13 +02:00
“Ibrahim
bc3f6c1be9 Fix the containerd service check 2021-03-19 23:35:05 +00:00
Kubernetes Prow Robot
158e1464ec
Merge pull request #99971 from ibabou/update-containerd
Update containerd config for gce
2021-03-16 15:56:56 -07:00
Jeremy Edwards
60df5606d6 Add Windows Defender exclusion for unpigz.exe 2021-03-09 19:52:25 +00:00
“Ibrahim
875396744f Update containerd config for gce 2021-03-09 01:13:44 +00:00
Kubernetes Prow Robot
b33b426dd0
Merge pull request #99742 from ibabou/containerd-register
Update gce Containerd initialization to handle the runtime existence case
2021-03-06 12:50:05 -08:00
Kubernetes Prow Robot
7c4a9823f5
Merge pull request #99793 from pjh/log-message-fix
Repair quotes for some Windows log messages
2021-03-04 13:39:40 -08:00
“Ibrahim
e58a0905de Update gce Containerd initialization to handle runtime existence case 2021-03-04 03:46:30 +00:00
Peter Hornyack
bacf7394cd Repair quotes for some Windows log messages 2021-03-03 12:40:53 -08:00
Peter Hornyack
3d2e9600d9 Dump detailed service information during Windows node startup 2021-03-02 15:55:40 -08:00
Michelle Tandya
904f0b628b Disable sample submission and MAPS Reporting from Windows Defender
Include logging when setting windows defender preferences

Log Window Defender preferences to show configuration changes

Move Defender configuration to be a part of Set-PrerequisiteOptions
2021-02-04 23:02:09 +00:00
Peter Hornyack
21592c23e1 GCE Windows: add 20H2; install docker when nodes are started 2021-01-22 09:58:22 -08:00
Peter Hornyack
edd58b1a4e Repair pigz URL
New Windows nodes are failing to start with:

windows-startup-script-ps1: Failed to download file from https://storage.googleapis.com/gke-release/winnode/pigz/prod/gke_windows/pigz/release/5/20201104-134221/pigz-$PIGZ_VERSION.zip.

With this fix, the nodes start successfully.
2021-01-14 16:12:05 -08:00
rajibmitra
69aae7aa6c Update cri-tools to v1.20.0
Signed-off-by: rajibmitra <rajib.jolite@gmail.com>
2021-01-12 19:02:51 +05:30
Jeremy Edwards
3b8f32dd90 Install pigz for GCE Windows Nodes. 2020-12-09 06:38:59 +00:00
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