agent

package
v0.0.0-...-6f3db3d Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

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