Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerOptions ¶
type ControllerOptions struct { // ExtraTags is a map of tags that will be attached to each dynamically provisioned // resource. ExtraTags map[string]string // ExtraVolumeTags is a map of tags that will be attached to each dynamically provisioned // volume. // DEPRECATED: Use ExtraTags instead. ExtraVolumeTags map[string]string // ID of the kubernetes cluster. KubernetesClusterID string // flag to enable sdk debug log AwsSdkDebugLog bool // flag to warn on invalid tag, instead of returning an error WarnOnInvalidTag bool // flag to set user agent UserAgentExtra string }
ControllerOptions contains options and configuration settings for the controller service.
func (*ControllerOptions) AddFlags ¶
func (s *ControllerOptions) AddFlags(fs *flag.FlagSet)
type NodeOptions ¶
type NodeOptions struct { // VolumeAttachLimit specifies the value that shall be reported as "maximum number of attachable volumes" // in CSINode objects. It is similar to https://kubernetes.io/docs/concepts/storage/storage-limits/#custom-limits // which allowed administrators to specify custom volume limits by configuring the kube-scheduler. Also, each AWS // machine type has different volume limits. By default, the EBS CSI driver parses the machine type name and then // decides the volume limit. However, this is only a rough approximation and not good enough in most cases. // Specifying the volume attach limit via command line is the alternative until a more sophisticated solution presents // itself (dynamically discovering the maximum number of attachable volume per EC2 machine type, see also // https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/347). VolumeAttachLimit int64 }
NodeOptions contains options and configuration settings for the node service.
func (*NodeOptions) AddFlags ¶
func (o *NodeOptions) AddFlags(fs *flag.FlagSet)
type ServerOptions ¶
type ServerOptions struct { // Endpoint is the endpoint that the driver server should listen on. Endpoint string // HttpEndpoint is the endpoint that the HTTP server for metrics should listen on. HttpEndpoint string // EnableOtelTracing enables opentelemetry tracing. EnableOtelTracing bool }
ServerOptions contains options and configuration settings for the driver server.
func (*ServerOptions) AddFlags ¶
func (s *ServerOptions) AddFlags(fs *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.