Skip to content

JohnCEarls/starcluster-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

starcluster-plugins

Collection of my starcluster plugins

tagger.py

Starcluster plugin that adds tags to ec2 instances on startup

Copy to plugins folder and add similar to config

[plugin base-tagger]
setup_class=tagger.Tagger
tags = key:value, started-by:John C. Earls, project: testing,  mydate:[[date]], myalias:  [[alias]], localuser:[[localuser]], 

Has a few variables that can be used as values.

  • [[date]] - datetime in UTC
  • [[alias]] - node name
  • [[localuser]] - users name on computer that is starting the cluster
  • [[master]] - name of the master node for this starcluster

s3shell.py

Starcluster plugin that has nodes download a shell script from s3 and runs it on the node.

[plugin web-bootstrap]
setup_class=s3shell.S3ShellPlugin
s3_file_path=s3://<s3 bucket name>/<path>/<shell script>
user=root #optional, runs as sgeadmin by default

About

collection of my starcluster plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages