Class: Google::Apis::GkeonpremV1::VmwareLoadBalancerConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareLoadBalancerConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
Specifies the locad balancer config for the VMware user cluster.
Instance Attribute Summary collapse
-
#f5_config ⇒ Google::Apis::GkeonpremV1::VmwareF5BigIpConfig
Represents configuration parameters for an F5 BIG-IP load balancer.
-
#manual_lb_config ⇒ Google::Apis::GkeonpremV1::VmwareManualLbConfig
Represents configuration parameters for an already existing manual load balancer.
-
#metal_lb_config ⇒ Google::Apis::GkeonpremV1::VmwareMetalLbConfig
Represents configuration parameters for the MetalLB load balancer.
-
#seesaw_config ⇒ Google::Apis::GkeonpremV1::VmwareSeesawConfig
VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer.
-
#vip_config ⇒ Google::Apis::GkeonpremV1::VmwareVipConfig
Specifies the VIP config for the VMware user cluster load balancer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareLoadBalancerConfig
constructor
A new instance of VmwareLoadBalancerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareLoadBalancerConfig
Returns a new instance of VmwareLoadBalancerConfig.
4948 4949 4950 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4948 def initialize(**args) update!(**args) end |
Instance Attribute Details
#f5_config ⇒ Google::Apis::GkeonpremV1::VmwareF5BigIpConfig
Represents configuration parameters for an F5 BIG-IP load balancer.
Corresponds to the JSON property f5Config
4907 4908 4909 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4907 def f5_config @f5_config end |
#manual_lb_config ⇒ Google::Apis::GkeonpremV1::VmwareManualLbConfig
Represents configuration parameters for an already existing manual load
balancer. Given the nature of manual load balancers it is expected that said
load balancer will be fully managed by users. IMPORTANT: Please note that the
Anthos On-Prem API will not generate or update ManualLB configurations it can
only bind a pre-existing configuration to a new VMware user cluster.
Corresponds to the JSON property manualLbConfig
4916 4917 4918 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4916 def manual_lb_config @manual_lb_config end |
#metal_lb_config ⇒ Google::Apis::GkeonpremV1::VmwareMetalLbConfig
Represents configuration parameters for the MetalLB load balancer.
Corresponds to the JSON property metalLbConfig
4921 4922 4923 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4921 def @metal_lb_config end |
#seesaw_config ⇒ Google::Apis::GkeonpremV1::VmwareSeesawConfig
VmwareSeesawConfig represents configuration parameters for an already existing
Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
not generate or update Seesaw configurations it can only bind a pre-existing
configuration to a new user cluster. IMPORTANT: When attempting to create a
user cluster with a pre-existing Seesaw load balancer you will need to follow
some preparation steps before calling the 'CreateVmwareCluster' API method.
First you will need to create the user cluster's namespace via kubectl. The
namespace will need to use the following naming convention : -gke-onprem-mgmt
or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
local_name' to disambiguate collisions; for more context see the documentation
of 'VmwareCluster.local_name'. Once the namespace is created you will need to
create a secret resource via kubectl. This secret will contain copies of your
Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
Seesaw's SSH and Cert credentials. The credentials must be keyed with the
following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
ssh-ca-key', 'seesaw-ssh-ca-cert'.
Corresponds to the JSON property seesawConfig
4941 4942 4943 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4941 def seesaw_config @seesaw_config end |
#vip_config ⇒ Google::Apis::GkeonpremV1::VmwareVipConfig
Specifies the VIP config for the VMware user cluster load balancer.
Corresponds to the JSON property vipConfig
4946 4947 4948 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4946 def vip_config @vip_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4953 4954 4955 4956 4957 4958 4959 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4953 def update!(**args) @f5_config = args[:f5_config] if args.key?(:f5_config) @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config) @metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config) @seesaw_config = args[:seesaw_config] if args.key?(:seesaw_config) @vip_config = args[:vip_config] if args.key?(:vip_config) end |