Package com.amazon.jenkins.ec2fleet
package com.amazon.jenkins.ec2fleet
-
ClassDescription
CloudNannyis responsible for periodically running update (i.e.Enum to represent the reason for termination of an EC2 instance by the plugin.TheEC2FleetAutoResubmitComputerLauncheris responsible for controlling: * howEC2FleetNodeComputers are launched * howEC2FleetNodeComputers connect to agentsEC2FleetNodeThis is wrapper forComputerLauncherto get notification when agent was disconnected and automatically resubmitQueue.Taskif reason is unexpected termination which usually means EC2 instance was interrupted.TheEC2FleetCloudcontains the main configuration values used while creating Jenkins nodes.TheEC2FleetNoderepresents an agent running on an EC2 instance, responsible for creatingEC2FleetNodeComputer.TheEC2FleetNodeComputerrepresents the running state ofEC2FleetNodethat holds executors.This consumed by jelly fileEC2FleetStatusWidget/index.jellyto 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 byEC2FleetStatusWidgetUpdaterTheEC2RetentionStrategycontrols when to takeEC2FleetNodeComputeroffline, bring it back online, or even to destroy it.Abstract state of different implementation ofEC2FleetImplementation ofNodeProvisioner.Strategywhich will provision a new node immediately as a task enter the queue.Decouple plugin code from dependencies for easy testing.