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.20.7
Published
May 12, 2021
Platform
js/wasm
Imports
6 packages
Last checked
47 seconds ago

Tools for package owners.