agent

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package agent to manage Kubernetes storage attach events.

Package agent to manage Kubernetes storage attach events.

Index

Constants

View Source
const (
	AgentMountSecurityModeEnv      = "AGENT_MOUNT_SECURITY_MODE"
	RookEnableSelinuxRelabelingEnv = "ROOK_ENABLE_SELINUX_RELABELING"
	RookEnableFSGroupEnv           = "ROOK_ENABLE_FSGROUP"

	// MountSecurityModeAny "any" security mode for the agent for mount action
	MountSecurityModeAny = "Any"
	// MountSecurityModeRestricted restricted security mode for the agent for mount action
	MountSecurityModeRestricted = "Restricted"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

Agent reference to be deployed

func New

func New(clientset kubernetes.Interface) *Agent

New creates an instance of Agent

func (*Agent) Start

func (a *Agent) Start(namespace, agentImage, serviceAccount string) error

Start the agent

type KubeletConfiguration

type KubeletConfiguration struct {
	KubeletConfig struct {
		VolumePluginDir string `json:"volumePluginDir"`
	} `json:"kubeletconfig"`
}

KubeletConfiguration represents the response from the node config URI (configz) in Kubernetes 1.8+

type NodeConfigControllerManager

type NodeConfigControllerManager struct {
	ComponentConfig componentconfig.KubeControllerManagerConfiguration `json:"componentconfig"`
}

NodeConfigControllerManager is a reference of all the configuration for the K8S node from the controllermanager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL