package etcd
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/etcd"
Index ¶
- func CreateLocalEtcdStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.MasterConfiguration) error
- func GetEtcdPodSpec(cfg *kubeadmapi.MasterConfiguration) v1.Pod
Functions ¶
func CreateLocalEtcdStaticPodManifestFile ¶
func CreateLocalEtcdStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.MasterConfiguration) error
CreateLocalEtcdStaticPodManifestFile will write local etcd static pod manifest file.
func GetEtcdPodSpec ¶
func GetEtcdPodSpec(cfg *kubeadmapi.MasterConfiguration) v1.Pod
GetEtcdPodSpec returns the etcd static Pod actualized to the context of the current MasterConfiguration NB. GetEtcdPodSpec methods holds the information about how kubeadm creates etcd static pod mainfests.
Source Files ¶
local.go
Directories ¶
Path | Synopsis |
---|---|
cmd/kubeadm/app/phases/etcd/spec |
- Version
- v1.9.6
- Published
- Mar 20, 2018
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 19 seconds ago –
Tools for package owners.