View on
MetaCPAN
Kevin Johnson > Net-Kubernetes-1.07 > Net::Kubernetes::Resource::ReplicationController

Download:
Net-Kubernetes-1.07.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  2
Open  2
View/Report Bugs
Module Version: 1.07   Source   Latest Release: Net-Kubernetes-1.08

NAME ^

Net::Kubernetes::Resource::ReplicationController - Object representatioon of a Kubernetes Replication Controller

VERSION ^

version 1.07

my(@pods) = $rc->get_pods()

Fetch a list off all pods belonging to this replication controller.

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

Scales the replication controller 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 ^

syntax highlighting: