The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Kubernetes::Resource::Deployment

VERSION

version 1.06

my @pods = $deployment->get_pods()

Fetch a list of all pods belonging to this deployment.

my @sets = $deployment->get_rs()

Fetch a list of all replica sets belonging to this deployment.

$deployment->scale($replicas[, $timeout]);

Scales the deployment to the requested number of replicas. This method will poll waiting for the replicas to reach the requested value for the duration specified by $timeout in seconds.

On success, the string "scaled" is returned. On a timeout, 0 is returned.

If $timeout is -1, then the method will wait indefinitely.

A default scale timeout can be specified by passing scale_timeout to the constructor.

AUTHOR

Dave Mueller <dave@perljedi.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Liquid Web Inc.

This is free software, licensed under:

  The MIT (X11) License

SEE ALSO

Please see those modules/websites for more information related to this module.

CONSUMES