kubeadm

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AuditPolicyPath = "/etc/kubernetes/policies/audit-policy.yaml"

AuditPolicyPath is the fixed location where kubernetes cluster audit policy files are placed.

Variables

This section is empty.

Functions

func GetEtcdLeaderClient

func GetEtcdLeaderClient(platform *platform.Platform) (*etcd.Client, error)

func GetOrCreateBootstrapToken

func GetOrCreateBootstrapToken(platform *platform.Platform) (string, error)

func NewClusterConfig

func NewClusterConfig(cfg *platform.Platform) api.ClusterConfiguration

NewClusterConfig constructs a default new ClusterConfiguration from a given Platform config

func NewInitConfig

func NewInitConfig(cfg *platform.Platform) api.InitConfiguration

func UploadControlPlaneCerts

func UploadControlPlaneCerts(platform *platform.Platform) (string, error)

func UploadEtcdCerts

func UploadEtcdCerts(platform *platform.Platform) (*certs.Certificate, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL