kubernetesk8s.io/kubernetes/pkg/kubelet/envvars Index | Files

package envvars

import "k8s.io/kubernetes/pkg/kubelet/envvars"

Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.

Index

Functions

func FromServices

func FromServices(services []*v1.Service) []v1.EnvVar

FromServices builds environment variables that a container is started with, which tell the container where to find the services it may need, which are provided as an argument.

Source Files

doc.go envvars.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
3 hours ago

Tools for package owners.