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.8.0
Published
Sep 28, 2017
Platform
darwin/amd64
Imports
6 packages
Last checked
56 seconds ago

Tools for package owners.