Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultRolloutResyncPeriod is the default time in seconds for rollout resync period DefaultRolloutResyncPeriod = 15 * 60 // DefaultMetricsPort is the default port to expose the metrics endpoint DefaultMetricsPort = 8090 // DefaultRolloutThreads is the default number of rollout worker threads to start with the controller DefaultRolloutThreads = 10 // DefaultExperimentThreads is the default number of experiment worker threads to start with the controller DefaultExperimentThreads = 10 // DefaultAnalysisThreads is the default number of analysis worker threads to start with the controller DefaultAnalysisThreads = 30 // DefaultServiceThreads is the default number of service worker threads to start with the controller DefaultServiceThreads = 10 // DefaultIngressThreads is the default number of ingress worker threads to start with the controller DefaultIngressThreads = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶ added in v0.5.0
type Manager struct {
// contains filtered or unexported fields
}
Manager is the controller implementation for Argo-Rollout resources
func NewManager ¶ added in v0.5.0
func NewManager( namespace string, kubeclientset kubernetes.Interface, argoprojclientset clientset.Interface, dynamicclientset dynamic.Interface, replicaSetInformer appsinformers.ReplicaSetInformer, servicesInformer coreinformers.ServiceInformer, ingressesInformer extensionsinformers.IngressInformer, secretInformer coreinformers.SecretInformer, jobInformer batchinformers.JobInformer, rolloutsInformer informers.RolloutInformer, experimentsInformer informers.ExperimentInformer, analysisRunInformer informers.AnalysisRunInformer, analysisTemplateInformer informers.AnalysisTemplateInformer, resyncPeriod time.Duration, instanceID string, metricsPort int, k8sRequestProvider *metrics.K8sRequestsCountProvider, defaultIstioVersion string, nginxIngressClasses []string, albIngressClasses []string, ) *Manager
NewManager returns a new manager to manage all the controllers
func (*Manager) Run ¶ added in v0.5.0
func (c *Manager) Run(rolloutThreadiness, serviceThreadiness, ingressThreadiness, experimentThreadiness, analysisThreadiness int, stopCh <-chan struct{}) error
Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers. It will block until stopCh is closed, at which point it will shutdown the workqueue and wait for workers to finish processing their current work items.
Click to show internal directories.
Click to hide internal directories.