Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
CheckerCmdOptions
// contains filtered or unexported fields
}
Checker provide functions for the preflight check.
type CheckerCmdOptions ¶
type CheckerCmdOptions struct {
types.GlobalCmdOptions
EnableSpdk bool
HugePageSize int
UserspaceDriver string
}
CheckerCmdOptions holds the options for the command.
type Installer ¶
type Installer struct {
InstallerCmdOptions
// contains filtered or unexported fields
}
Installer provide functions for the preflight install.
func (*Installer) Cleanup ¶
Cleanup deletes the DaemonSet created for the preflight install when it's installed with package manager.
func (*Installer) InstallByContainerOptimizedOS ¶
InstallByContainerOptimizedOS installs the dependencies on Container Optimized OS. It creates a ConfigMap and a DaemonSet. Then it waits for the DaemonSet to be ready.
func (*Installer) InstallByPackageManager ¶
InstallByPackageManager installs the dependencies with package manager. It creates a DaemonSet. Then it waits for the DaemonSet to complete and return the logs of output container within the DaemonSet, for example: ip-192-168-208-117:
info: - Successfully installed package nfs-client - Successfully installed package open-iscsi - Successfully installed package cryptsetup - Successfully probed module nfs - Successfully probed module iscsi_tcp - Successfully probed module dm_crypt - Successfully started service iscsid
type InstallerCmdOptions ¶
type InstallerCmdOptions struct {
types.GlobalCmdOptions
OperatingSystem string
UpdatePackages bool
EnableSpdk bool
SpdkOptions string
HugePageSize int
AllowPci string
DriverOverride string
RestartKubelet bool
RestartKubeletWindow string
}
InstallerCmdOptions holds the options for the command.