Skip to content

Add variable for k8s service account and remove hardcoded value#3634

Merged
parulbajaj01 merged 1 commit into
GoogleCloudPlatform:developfrom
parulbajaj01:gke-sa-account
Feb 4, 2025
Merged

Add variable for k8s service account and remove hardcoded value#3634
parulbajaj01 merged 1 commit into
GoogleCloudPlatform:developfrom
parulbajaj01:gke-sa-account

Conversation

@parulbajaj01

@parulbajaj01 parulbajaj01 commented Feb 3, 2025

Copy link
Copy Markdown
Contributor

Made k8s service account name configurable by user. Removed the hardcoded value and passed it through variable.

To test the changes:
Deployed gke-a3-ultragpu and ran the following command to verify - kubectl get serviceaccounts

Submission Checklist

NOTE: Community submissions can take up to 2 weeks to be reviewed.

Please take the following actions before submitting this pull request.

  • Fork your PR branch from the Toolkit "develop" branch (not main)
  • Test all changes with pre-commit in a local branch #
  • Confirm that "make tests" passes all tests
  • Add or modify unit tests to cover code changes
  • Ensure that unit test coverage remains above 80%
  • Update all applicable documentation
  • Follow Cluster Toolkit Contribution guidelines #

@parulbajaj01 parulbajaj01 added the release-improvements Added to release notes under the "Improvements" heading. label Feb 3, 2025
Comment thread modules/scheduler/gke-cluster/variables.tf Outdated
Comment thread examples/gke-a3-ultragpu/gke-a3-ultragpu-deployment.yaml Outdated

@annuay-google annuay-google left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please update job-template to use the service account as well

@parulbajaj01

Copy link
Copy Markdown
Contributor Author

Updated the changes

@annuay-google annuay-google left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@parulbajaj01 parulbajaj01 merged commit db2e337 into GoogleCloudPlatform:develop Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-improvements Added to release notes under the "Improvements" heading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants