File tree Expand file tree Collapse file tree 9 files changed +75
-0
lines changed Expand file tree Collapse file tree 9 files changed +75
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ gcs_upload(
38
38
":_binary-artifacts-and-hashes",
39
39
"//build/release-tars:release-tars-and-hashes",
40
40
"//cluster/gce/gci:gcs-release-artifacts-and-hashes",
41
+ "//cluster/gce/windows:gcs-release-artifacts-and-hashes",
41
42
],
42
43
tags = ["manual"],
43
44
# Use for_platforms to format the upload path based on the configured
@@ -53,6 +54,7 @@ gcs_upload(
53
54
upload_paths = select(for_platforms(for_all = {
54
55
"//build/release-tars:release-tars-and-hashes": "",
55
56
"//cluster/gce/gci:gcs-release-artifacts-and-hashes": "extra/gce",
57
+ "//cluster/gce/windows:gcs-release-artifacts-and-hashes": "extra/gce/windows",
56
58
"//:_binary-artifacts-and-hashes": "bin/{OS}/{ARCH}",
57
59
})),
58
60
)
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ filegroup(
17
17
"//cluster/gce/addons:all-srcs" ,
18
18
"//cluster/gce/gci:all-srcs" ,
19
19
"//cluster/gce/manifests:all-srcs" ,
20
+ "//cluster/gce/windows:all-srcs" ,
20
21
],
21
22
tags = ["automanaged" ],
22
23
)
Original file line number Diff line number Diff line change
1
+ load ("@io_k8s_repo_infra//defs:build.bzl" , "release_filegroup" )
2
+
3
+ # Having the Windows code from the GCE cluster deploy hosted with the release is
4
+ # useful for GKE. This list should match the list in k8s.io/release/lib/releaselib.sh.
5
+
6
+ # IMPORTANT PLEASE NOTE:
7
+ # Any time the file structure in the `windows` directory changes, `windows/BUILD`
8
+ # and `k8s.io/release/lib/releaselib.sh` must be manually updated with the changes.
9
+ # We HIGHLY recommend not changing the file structure, because consumers of
10
+ # Kubernetes releases depend on the release structure remaining stable.
11
+ release_filegroup (
12
+ name = "gcs-release-artifacts" ,
13
+ srcs = [
14
+ "common.psm1" ,
15
+ "configure.ps1" ,
16
+ "k8s-node-setup.psm1" ,
17
+ "testonly/install-ssh.psm1" ,
18
+ "testonly/user-profile.psm1" ,
19
+ ],
20
+ visibility = ["//visibility:public" ],
21
+ )
22
+
23
+ filegroup (
24
+ name = "package-srcs" ,
25
+ srcs = glob (["**" ]),
26
+ tags = ["automanaged" ],
27
+ visibility = ["//visibility:private" ],
28
+ )
29
+
30
+ filegroup (
31
+ name = "all-srcs" ,
32
+ srcs = [":package-srcs" ],
33
+ tags = ["automanaged" ],
34
+ visibility = ["//visibility:public" ],
35
+ )
Original file line number Diff line number Diff line change 1
1
# Starting a Windows Kubernetes cluster on GCE using kube-up
2
2
3
+ ## IMPORTANT PLEASE NOTE!
4
+ Any time the file structure in the ` windows ` directory changes, ` windows/BUILD `
5
+ and ` k8s.io/release/lib/releaselib.sh ` must be manually updated with the changes.
6
+ We HIGHLY recommend not changing the file structure, because consumers of
7
+ Kubernetes releases depend on the release structure remaining stable.
8
+
3
9
## Bring up the cluster
4
10
5
11
Prerequisites: a Google Cloud Platform project.
@@ -185,3 +191,4 @@ These steps are based on
185
191
user@kubernetes-minion-windows-group-mk0p:C:\\etc\\kubernetes\\logs \
186
192
kubetest-logs/
187
193
```
194
+
Original file line number Diff line number Diff line change 18
18
and scripts for configuring Windows nodes.
19
19
#>
20
20
21
+ # IMPORTANT PLEASE NOTE:
22
+ # Any time the file structure in the `windows` directory changes, `windows/BUILD`
23
+ # and `k8s.io/release/lib/releaselib.sh` must be manually updated with the changes.
24
+ # We HIGHLY recommend not changing the file structure, because consumers of
25
+ # Kubernetes releases depend on the release structure remaining stable.
26
+
21
27
# Disable progress bar to increase download speed.
22
28
$ProgressPreference = ' SilentlyContinue'
23
29
Original file line number Diff line number Diff line change 17
17
Top-level script that runs on Windows nodes to join them to the K8s cluster.
18
18
#>
19
19
20
+ # IMPORTANT PLEASE NOTE:
21
+ # Any time the file structure in the `windows` directory changes, `windows/BUILD`
22
+ # and `k8s.io/release/lib/releaselib.sh` must be manually updated with the changes.
23
+ # We HIGHLY recommend not changing the file structure, because consumers of
24
+ # Kubernetes releases depend on the release structure remaining stable.
25
+
20
26
$ErrorActionPreference = ' Stop'
21
27
22
28
# Turn on tracing to debug
Original file line number Diff line number Diff line change 36
36
# Execute functions manually or run configure.ps1.
37
37
#>
38
38
39
+ # IMPORTANT PLEASE NOTE:
40
+ # Any time the file structure in the `windows` directory changes, `windows/BUILD`
41
+ # and `k8s.io/release/lib/releaselib.sh` must be manually updated with the changes.
42
+ # We HIGHLY recommend not changing the file structure, because consumers of
43
+ # Kubernetes releases depend on the release structure remaining stable.
44
+
39
45
# TODO: update scripts for these style guidelines:
40
46
# - Remove {} around variable references unless actually needed for clarity.
41
47
# - Always use single-quoted strings unless actually interpolating variables
Original file line number Diff line number Diff line change 22
22
clusters. DO NOT USE THIS MODULE FOR PRODUCTION.
23
23
#>
24
24
25
+ # IMPORTANT PLEASE NOTE:
26
+ # Any time the file structure in the `windows` directory changes, `windows/BUILD`
27
+ # and `k8s.io/release/lib/releaselib.sh` must be manually updated with the changes.
28
+ # We HIGHLY recommend not changing the file structure, because consumers of
29
+ # Kubernetes releases depend on the release structure remaining stable.
30
+
25
31
Import-Module - Force C:\common.psm1
26
32
27
33
$OPENSSH_ROOT = ' C:\Program Files\OpenSSH'
Original file line number Diff line number Diff line change 19
19
powershellposse.com
20
20
#>
21
21
22
+ # IMPORTANT PLEASE NOTE:
23
+ # Any time the file structure in the `windows` directory changes, `windows/BUILD`
24
+ # and `k8s.io/release/lib/releaselib.sh` must be manually updated with the changes.
25
+ # We HIGHLY recommend not changing the file structure, because consumers of
26
+ # Kubernetes releases depend on the release structure remaining stable.
27
+
22
28
23
29
# Function to create the new local user first
24
30
function New-LocalUser
You can’t perform that action at this time.
0 commit comments