kubernetes: k8s.io/kubernetes/pkg/controller/deployment Index | Files | Directories

package deployment

import "k8s.io/kubernetes/pkg/controller/deployment"

Package deployment contains all the logic for handling Kubernetes Deployments. It implements a set of strategies (rolling, recreate) for deploying an application, the means to rollback to previous versions, proportional scaling for mitigating risk, cleanup policy, and other useful features of Deployments.

Index

Package Files

deployment_controller.go progress.go recreate.go rollback.go rolling.go sync.go

type DeploymentController Uses

type DeploymentController struct {
    // contains filtered or unexported fields
}

DeploymentController is responsible for synchronizing Deployment objects stored in the system with actual running replica sets and pods.

func NewDeploymentController Uses

func NewDeploymentController(dInformer appsinformers.DeploymentInformer, rsInformer appsinformers.ReplicaSetInformer, podInformer coreinformers.PodInformer, client clientset.Interface) (*DeploymentController, error)

NewDeploymentController creates a new DeploymentController.

func (*DeploymentController) Run Uses

func (dc *DeploymentController) Run(workers int, stopCh <-chan struct{})

Run begins watching and syncing.

Directories

PathSynopsis
config
config/v1alpha1
util

Package deployment imports 30 packages (graph) and is imported by 72 packages. Updated 2019-08-27. Refresh now. Tools for package owners.