Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdNetwork ¶
func NewCmdNetwork(streams genericclioptions.IOStreams, client *k8s.LazyClient) *cobra.Command
NewCmdNetwork implements the base cluster deployment command
func NewCmdValidateEgress ¶ added in v0.9.6
Types ¶
type EgressVerification ¶ added in v0.14.0
type EgressVerification struct {
// ClusterId is the internal or external OCM cluster ID.
// This is optional, but typically is used to automatically detect the correct settings.
ClusterId string
// PlatformType is an optional override for which endpoints to test. Either 'aws' or 'hostedcluster'
// TODO: Technically 'gcp' is supported, but not functional yet
PlatformType string
// AWS Region is an optional override if not specified via AWS credentials.
Region string
// SubnetIds is an optional override for specifying an AWS subnet ID.
// Must be a private subnet to provide accurate results.
SubnetIds []string
// SecurityGroupId is an optional override for specifying an AWS security group ID.
SecurityGroupId string
// Debug optionally enables debug-level logging for underlying calls to osd-network-verifier.
Debug bool
// CaCert is an optional path to an additional Certificate Authority (CA) trust bundle, which is commonly used by a
// cluster-wide proxy.
// Docs: https://docs.openshift.com/rosa/networking/configuring-cluster-wide-proxy.html
CaCert string
// NoTls optionally ignores SSL validation on the client-side.
NoTls bool
// AllSubnets is an option for multi-AZ clusters that will run the network verification against all subnets listed by ocm
AllSubnets bool
// The timeout to wait when testing egresses
EgressTimeout time.Duration
// Whether to print out the version of osd-network-verifier being used
Version bool
// contains filtered or unexported fields
}
func (*EgressVerification) Run ¶ added in v0.14.0
func (e *EgressVerification) Run(ctx context.Context)
Run parses the EgressVerification input, typically sets values automatically using the ClusterId, and runs osd-network-verifier's egress check to validate AWS firewall prerequisites for ROSA. Docs: https://docs.openshift.com/rosa/rosa_install_access_delete_clusters/rosa_getting_started_iam/rosa-aws-prereqs.html#osd-aws-privatelink-firewall-prerequisites_prerequisites
Click to show internal directories.
Click to hide internal directories.