Skip to content

Commit

Permalink
Add timeout tag to container node-pool disks.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=266284107
  • Loading branch information
tohaowu authored and cwilkes committed Sep 3, 2019
1 parent bd3a102 commit 29c2492
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions perfkitbenchmarker/providers/gcp/google_container_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ def _AddTags(self):
cmd.flags['metadata'] = util.MakeFormattedDefaultTags()
cmd.Issue()

cmd = util.GcloudCommand(self, 'compute', 'disks', 'add-labels', vm_name)
cmd.flags['labels'] = util.MakeFormattedDefaultTags()
cmd.Issue()

def _GetInstanceGroups(self):
cmd = util.GcloudCommand(self, 'container', 'node-pools', 'list')
cmd.flags['cluster'] = self.name
Expand Down

0 comments on commit 29c2492

Please sign in to comment.