Skip to content

Commit 869218f

Browse files
feat: [container] support fleet registration via cluster update (#4235)
* feat: support fleet registration via cluster update PiperOrigin-RevId: 529131876 Source-Link: googleapis/googleapis@d175293 Source-Link: googleapis/googleapis-gen@b680d48 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYjY4MGQ0OGEwZjY3NjJkOTRlMGUxNGViZmZiNzg2OGU2YzU5MzM1YiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent 2421e93 commit 869218f

6 files changed

Lines changed: 117 additions & 95 deletions

File tree

packages/google-container/README.md

Lines changed: 70 additions & 71 deletions
Large diffs are not rendered by default.

packages/google-container/protos/google/container/v1/cluster_service.proto

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,6 +2065,9 @@ message ClusterUpdate {
20652065
// The desired node pool logging configuration defaults for the cluster.
20662066
NodePoolLoggingConfig desired_node_pool_logging_config = 116;
20672067

2068+
// The desired fleet configuration for the cluster.
2069+
Fleet desired_fleet = 117;
2070+
20682071
// The desired stack type of the cluster.
20692072
// If a stack type is provided and does not match the current stack type of
20702073
// the cluster, update will attempt to change the stack type to the new type.
@@ -2262,12 +2265,12 @@ message Operation {
22622265
//
22632266
// Examples:
22642267
//
2265-
// -
2266-
// `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
2267-
// -
2268-
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
2269-
// -
2270-
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
2268+
// -
2269+
// `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
2270+
// -
2271+
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
2272+
// -
2273+
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
22712274
string target_link = 7;
22722275

22732276
// [Output only] The name of the Google Compute Engine

packages/google-container/protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/protos/protos.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/protos/protos.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/samples/README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
* [Cluster_manager.update_master](#cluster_manager.update_master)
8181
* [Cluster_manager.update_node_pool](#cluster_manager.update_node_pool)
8282
* [Quickstart](#quickstart)
83-
* [Quickstart.test](#quickstart.test)
8483

8584
## Before you begin
8685

@@ -1248,23 +1247,6 @@ __Usage:__
12481247
`node packages/google-container/samples/quickstart.js`
12491248

12501249

1251-
-----
1252-
1253-
1254-
1255-
1256-
### Quickstart.test
1257-
1258-
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-container/samples/test/quickstart.test.js).
1259-
1260-
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-container/samples/test/quickstart.test.js,samples/README.md)
1261-
1262-
__Usage:__
1263-
1264-
1265-
`node packages/google-container/samples/test/quickstart.test.js`
1266-
1267-
12681250

12691251

12701252

0 commit comments

Comments
 (0)