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.21.1-rc.0
Published
Apr 8, 2021
Platform
js/wasm
Imports
6 packages
Last checked
8 minutes ago

Tools for package owners.