Package com.amazon.jenkins.ec2fleet
package com.amazon.jenkins.ec2fleet
-
ClassDescription
CloudNanny
is responsible for periodically running update (i.e.Enum to represent the reason for termination of an EC2 instance by the plugin.TheEC2FleetAutoResubmitComputerLauncher
is responsible for controlling: * howEC2FleetNodeComputer
s are launched * howEC2FleetNodeComputer
s connect to agentsEC2FleetNode
This is wrapper forComputerLauncher
to get notification when agent was disconnected and automatically resubmitQueue.Task
if reason is unexpected termination which usually means EC2 instance was interrupted.TheEC2FleetCloud
contains the main configuration values used while creating Jenkins nodes.TheEC2FleetNode
represents an agent running on an EC2 instance, responsible for creatingEC2FleetNodeComputer
.TheEC2FleetNodeComputer
represents the running state ofEC2FleetNode
that holds executors.This consumed by jelly fileEC2FleetStatusWidget/index.jelly
to render fleet information about all fleets, don't forget to update it if you change fields nameThis class should be thread safe, consumed by Jenkins and updated byEC2FleetStatusWidgetUpdater
TheEC2RetentionStrategy
controls when to takeEC2FleetNodeComputer
offline, bring it back online, or even to destroy it.Abstract state of different implementation ofEC2Fleet
Implementation ofNodeProvisioner.Strategy
which will provision a new node immediately as a task enter the queue.Decouple plugin code from dependencies for easy testing.