kubeadm

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AuditPolicyPath is the fixed location where kubernetes cluster audit policy files are placed.
	AuditPolicyPath              = "/etc/kubernetes/policies/audit-policy.yaml"
	EncryptionProviderConfigPath = "/etc/kubernetes/policies/encryption-provider-config.yaml"
)

Variables

This section is empty.

Functions

func GetClusterVersion

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

func GetNodeVersion

func GetNodeVersion(platform *platform.Platform, node v1.Node) string

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 NewControlPlaneJoinConfiguration

func NewControlPlaneJoinConfiguration(cfg *platform.Platform) ([]byte, error)

func NewInitConfig

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

func NewJoinConfiguration

func NewJoinConfiguration(cfg *platform.Platform) ([]byte, error)

func TestAudit

func TestAudit(p *platform.Platform, tr *console.TestResults)

Test k8s auditing functionality.

func TestEncryption

func TestEncryption(p *platform.Platform, tr *console.TestResults)

Test k8s encryption provider functionality.

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