<s> from libcloud . container . types import Provider <EOL> from libcloud . container . providers import get_driver <EOL> from libcloud . container . utils . docker import HubClient <EOL> cls = get_driver ( Provider . KUBERNETES ) <EOL> conn = cls ( key = '<STR_LIT>' , <EOL> secret = '<STR_LIT>' , <EOL> host = '<STR_LIT>' ) <EOL> hub = HubClient ( ) <EOL> image = hub . get_image ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> for cluster in conn . list_clusters ( ) : <EOL> print ( cluster . name ) <EOL> if cluster . name == '<STR_LIT:default>' : <EOL> container = conn . deploy_container ( <EOL> cluster = cluster , <EOL> name = '<STR_LIT>' , <EOL> image = image ) </s>
