package spec
import "gvisor.dev/gvisor/tools/gvisor_k8s_tool/spec"
Package spec contains Kubernetes object specifications for gVisor setup.
Index ¶
- Constants
- Variables
- func RunscInstallDaemonSet(image string, options InstallOptions) *appsv1.DaemonSet
- type InstallOptions
Constants ¶
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 ¶
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.
Source Files ¶
spec.go
- Version
- v0.0.0-20250605235530-a6711d1e1dc6 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 4 hours ago –
Tools for package owners.