Commit Graph

161 Commits

Author SHA1 Message Date
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
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
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
Peter Hornyack
5c32b4bbb2 Windows GCE nodes: pull infra/pause container image during node setup 2019-05-16 11:45:56 -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
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
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
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
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
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
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
Yu-Ju Hong
40d0ae311c GCE: add EventLog registry key for docker 2019-02-21 17:47:32 -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