package ephemeral

import "k8s.io/kubernetes/pkg/controller/volume/ephemeral"

Package ephemeral implements the controller part of https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes

It was derived from the expand controller.

Index

Types

type Controller

type Controller interface {
	Run(ctx context.Context, workers int)
}

Controller creates PVCs for ephemeral inline volumes in a pod spec.

func NewController

func NewController(
	ctx context.Context,
	kubeClient clientset.Interface,
	podInformer coreinformers.PodInformer,
	pvcInformer coreinformers.PersistentVolumeClaimInformer) (Controller, error)

NewController creates an ephemeral volume controller.

Source Files

controller.go doc.go

Directories

PathSynopsis
pkg/controller/volume/ephemeral/config
pkg/controller/volume/ephemeral/config/v1alpha1
pkg/controller/volume/ephemeral/metrics
Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
21 packages
Last checked
3 hours ago

Tools for package owners.