Documentation
¶
Index ¶
- Constants
- func GetKubeadmBootstrap(opts KubeadmBootstrapOpts) (*bytes.Buffer, error)
- func GetKubeadmConfig(opts KubeadmYmlOpts) (*bytes.Buffer, error)
- func GetKubeadmExtraArgs(opts KubeadmExtraArgsOpts) (*bytes.Buffer, error)
- type KubeadmBootstrapOpts
- type KubeadmExtraArgsOpts
- type KubeadmExtraRuntimeOpts
- type KubeadmYmlOpts
Constants ¶
View Source
const DockerDaemonConfig = `` /* 199-byte string literal not displayed */
View Source
const DockerDaemonConfigPath = "/etc/docker/daemon.json"
View Source
const DockerKubeadmExtraArgs = `[Service]
Environment="DOCKER_OPTS=--exec-opt native.cgroupdriver=cgroupfs"
`
View Source
const DockerKubeadmExtraArgsPath = "/etc/systemd/system/docker.service.d/20-kubeadm-extra-args.conf"
View Source
const KubeadmBootstrapPath = "/opt/kube-spawn/bootstrap.sh"
View Source
const KubeadmConfigPath = "/etc/kubeadm/kubeadm.yml"
View Source
const KubeadmExtraArgsPath = "/etc/systemd/system/kubelet.service.d/20-kubeadm-extra-args.conf"
View Source
const KubeletTmpfiles = `d /var/lib/kubelet 0755 - - -`
View Source
const KubeletTmpfilesPath = "/etc/tmpfiles.d/kubelet.conf"
View Source
const RktletService = `` /* 299-byte string literal not displayed */
View Source
const RktletServicePath = "/etc/systemd/system/rktlet.service"
View Source
const WeaveNetworkdUnmask = `[Match]
Name=weave datapath vethwe*
[Link]
Unmanaged=yes
`
View Source
const WeaveNetworkdUnmaskPath = "/etc/systemd/network/50-weave.network"
Variables ¶
This section is empty.
Functions ¶
func GetKubeadmBootstrap ¶
func GetKubeadmBootstrap(opts KubeadmBootstrapOpts) (*bytes.Buffer, error)
func GetKubeadmConfig ¶
func GetKubeadmConfig(opts KubeadmYmlOpts) (*bytes.Buffer, error)
func GetKubeadmExtraArgs ¶
func GetKubeadmExtraArgs(opts KubeadmExtraArgsOpts) (*bytes.Buffer, error)
Types ¶
type KubeadmBootstrapOpts ¶
type KubeadmBootstrapOpts struct {
ContainerRuntime string
}
type KubeadmExtraArgsOpts ¶
type KubeadmExtraRuntimeOpts ¶
type KubeadmYmlOpts ¶
Click to show internal directories.
Click to hide internal directories.