Skip to content

Add support for configuring the Pod Snapshots feature#16096

Merged
shuyama1 merged 2 commits into
GoogleCloudPlatform:mainfrom
saketjajoo:gke-pod-snapshots
Jan 14, 2026
Merged

Add support for configuring the Pod Snapshots feature#16096
shuyama1 merged 2 commits into
GoogleCloudPlatform:mainfrom
saketjajoo:gke-pod-snapshots

Conversation

@saketjajoo

@saketjajoo saketjajoo commented Jan 8, 2026

Copy link
Copy Markdown
Member

The GKE Pod Snapshots feature is rolled out in a Public Preview mode. This change aims to update the terraform provider to include the config to enable/disable this feature when using the beta APIs.

Internal Ref: b/445922392.
Cross Ref: #15262 - this PR was created before the API change was rolled out to get an initial review and got closed due to inactivity. Now that the API change is rolled out in beta (public preview), I'm create this PR to resume the work.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

container: added `pod_snapshot_config` field to `google_container_cluster` resource (beta)

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jan 8, 2026
@github-actions github-actions Bot requested a review from shuyama1 January 8, 2026 00:16
@github-actions

github-actions Bot commented Jan 8, 2026

Copy link
Copy Markdown

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@shuyama1, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@saketjajoo

Copy link
Copy Markdown
Member Author

/cc @CoderSherlock

@modular-magician modular-magician added service/container and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Jan 8, 2026
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 2 insertions(+))
google-beta provider: Diff ( 3 files changed, 42 insertions(+))

Missing doc report (experimental)

The following resources have fields missing in documents.

  • google_container_cluster
    • Expected Document Path: /website/docs/r/container_cluster.html.markdown
    • Fields: [addons_config.pod_snapshot_config.enabled]

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 272
Passed tests: 256
Skipped tests: 15
Affected tests: 1

Click here to see the affected service packages
  • container

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerCluster_withAddons

Get to know how VCR tests work

@modular-magician

Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccContainerCluster_withAddons [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@CoderSherlock

Copy link
Copy Markdown

/LGTM

@github-actions

Copy link
Copy Markdown

@shuyama1 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

@shuyama1 shuyama1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. only some nit-picks for formatting. Should be good to go after!

@github-actions github-actions Bot requested a review from shuyama1 January 13, 2026 21:25
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 2 insertions(+))
google-beta provider: Diff ( 3 files changed, 42 insertions(+))

Missing doc report (experimental)

The following resources have fields missing in documents.

  • google_container_cluster
    • Expected Document Path: /website/docs/r/container_cluster.html.markdown
    • Fields: [addons_config.pod_snapshot_config.enabled]

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 272
Passed tests: 257
Skipped tests: 15
Affected tests: 0

Click here to see the affected service packages
  • container

🟢 All tests passed!

View the build log

@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 2 insertions(+))
google-beta provider: Diff ( 3 files changed, 42 insertions(+))

Missing doc report (experimental)

The following resources have fields missing in documents.

  • google_container_cluster
    • Expected Document Path: /website/docs/r/container_cluster.html.markdown
    • Fields: [addons_config.pod_snapshot_config.enabled]

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 272
Passed tests: 257
Skipped tests: 15
Affected tests: 0

Click here to see the affected service packages
  • container

🟢 All tests passed!

View the build log

@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 2 insertions(+))
google-beta provider: Diff ( 3 files changed, 42 insertions(+))

Missing doc report (experimental)

The following resources have fields missing in documents.

  • google_container_cluster
    • Expected Document Path: /website/docs/r/container_cluster.html.markdown
    • Fields: [addons_config.pod_snapshot_config.enabled]

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 272
Passed tests: 257
Skipped tests: 15
Affected tests: 0

Click here to see the affected service packages
  • container

🟢 All tests passed!

View the build log

@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 2 insertions(+))
google-beta provider: Diff ( 4 files changed, 43 insertions(+))

Missing doc report (experimental)

The following resources have fields missing in documents.

  • google_container_cluster
    • Expected Document Path: /website/docs/r/container_cluster.html.markdown
    • Fields: [addons_config.pod_snapshot_config.enabled]

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 272
Passed tests: 257
Skipped tests: 15
Affected tests: 0

Click here to see the affected service packages
  • container

🟢 All tests passed!

View the build log

@shuyama1 shuyama1 added this pull request to the merge queue Jan 14, 2026
Merged via the queue into GoogleCloudPlatform:main with commit 124c484 Jan 14, 2026
24 checks passed
@saketjajoo saketjajoo deleted the gke-pod-snapshots branch January 14, 2026 01:39
amukul-25 pushed a commit to amukul-25/magic-modules that referenced this pull request Jan 14, 2026
wuchris-g pushed a commit to wuchris-g/magic-modules that referenced this pull request Feb 5, 2026
JianweiQ pushed a commit to JianweiQ/magic-modules that referenced this pull request Feb 20, 2026
aditikumarii-google pushed a commit to aditikumarii-google/magic-modules that referenced this pull request Mar 10, 2026
ChuAmberZhang pushed a commit to ChuAmberZhang/magic-modules that referenced this pull request Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants