Documentation ¶
Overview ¶
Package tcnpazs implements a resource to gather all private subnets for the configured availability zones of a node pool. Like the clusterazs resource, we need logic to take the node pool subnet allocated by the ipam resource and split it according to the configured availability zones. We then have 1, 2 or 4 private subnet CIDRs we put into the controller context for further use in the tcnp resource. Note that the availability zones of a node pool cannot be updated upon creation due to the network splitting. In order to change availability zones one must delete and create node pools accordingly.
Index ¶
Constants ¶
View Source
const (
Name = "tcnpazs"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { CtrlClient ctrlClient.Client Logger micrologger.Logger }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) EnsureCreated ¶
func (*Resource) EnsureDeleted ¶
Click to show internal directories.
Click to hide internal directories.