check

package
v0.0.0-...-1650b30 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDefaultDatastore

func CheckDefaultDatastore(clients clients.Interface, config *vsphere.VSphereConfig) error

CheckDefaultDatastore checks that the default data store name is short enough.

func CheckFolderList

func CheckFolderList(vmClient *govmomi.Client, config *vsphere.VSphereConfig) error

CheckFolderList tests that OCP has permissions to list volumes in Datastore. This is necessary to create volumes. The check lists datastore's "/", which must exist. The check tries to list "kubevols/". It tolerates when it's missing, it will be created by OCP on the first provisioning.

func CheckNodes

func CheckNodes(clients clients.Interface, vmClient *govmomi.Client, config *vsphere.VSphereConfig) error

CheckNodes tests that Nodes have spec.providerID (i.e. they run with a cloud provider) and all nodes have disk.enableUUID enabled.

func CheckPVs

func CheckPVs(clients clients.Interface, vmClient *govmomi.Client, config *vsphere.VSphereConfig) error

CheckPVs tests that datastore name in existing PVs is short enough.

func CheckStorageClasses

func CheckStorageClasses(clients clients.Interface, vmClient *govmomi.Client, config *vsphere.VSphereConfig) error

CheckStorageClasses tests that datastore name in storage classes is short enough.

func CheckTaskPermissions

func CheckTaskPermissions(vmClient *govmomi.Client) error

CheckFolderList tests that OCP has permissions to list volumes in Datastore. This is necessary to create volumes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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