Documentation ¶
Index ¶
Constants ¶
View Source
const (
LimitedSupportTemplate = "https://raw.githubusercontent.com/openshift/managed-notifications/master/osd/limited_support/egressFailureLimitedSupport.json"
)
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 // 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 // EgressTimeout The timeout to wait when testing egresses EgressTimeout time.Duration // Version Whether to print out the version of osd-network-verifier being used Version bool // Probe The type of probe to use for the verifier Probe string // CpuArchName the architecture to use for the compute instance CpuArchName string // GcpProjectId is used in the cases where we can't automatically get this from OCM GcpProjectID string // VpcName is the VPC where the verifier will run VpcName string // 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 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.