spec

package
v0.0.0-...-9e0e42b Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 1

Documentation

Overview

Package spec contains Kubernetes object specifications for gVisor setup.

Index

Constants

View Source
const (
	// SystemNamespace is the name of the Kubernetes system namespace.
	SystemNamespace = "kube-system"
	// PauseContainerImage is the name of a container image that does nothing.
	PauseContainerImage = "gcr.io/google-containers/pause"
)

Variables

View Source
var (
	// GKESandboxNodeSelector selects GKE Sandbox nodes on GKE.
	GKESandboxNodeSelector = map[string]string{/* contains filtered or unexported fields */}
)

Functions

func RunscInstallDaemonSet

func RunscInstallDaemonSet(image string, options InstallOptions) *appsv1.DaemonSet

RunscInstallDaemonSet returns a DaemonSet spec that installs runsc in Kubernetes.

Types

type InstallOptions

type InstallOptions struct {
	DaemonSetNamespace  string
	DaemonSetName       string
	Labels              map[string]string
	NodeSelector        map[string]string
	PauseContainerImage string
}

InstallOptions is the set of options to install runsc.

Jump to

Keyboard shortcuts

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