Package io.jenkins.plugins.kubernetes
Class NoDelayProvisionerStrategy
java.lang.Object
hudson.slaves.NodeProvisioner.Strategy
io.jenkins.plugins.kubernetes.NoDelayProvisionerStrategy
- All Implemented Interfaces:
ExtensionPoint
Implementation of
NodeProvisioner.Strategy
which will provision a new node immediately as
a task enter the queue.
In kubernetes, we don't really need to wait before provisioning a new node,
because kubernetes agents can be started and destroyed quickly- Author:
- runzexia
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Ping the nodeProvisioner as a new task enters the queue.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoDelayProvisionerStrategy
public NoDelayProvisionerStrategy()
-
-
Method Details
-
apply
- Specified by:
apply
in classNodeProvisioner.Strategy
-