Class: Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig
- 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
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'.
Instance Attribute Summary collapse
-
#enable_ha ⇒ Boolean
(also: #enable_ha?)
Enable two load balancer VMs to achieve a highly-available Seesaw load balancer.
-
#group ⇒ String
In general the following format should be used for the Seesaw group name: seesaw-for-[cluster_name].
-
#ip_blocks ⇒ Array<Google::Apis::GkeonpremV1::VmwareIpBlock>
The IP Blocks to be used by the Seesaw load balancer Corresponds to the JSON property
ipBlocks
. -
#master_ip ⇒ String
MasterIP is the IP announced by the master of Seesaw group.
-
#stackdriver_name ⇒ String
Name to be used by Stackdriver.
-
#vms ⇒ Array<String>
Names of the VMs created for this Seesaw group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareAdminSeesawConfig
constructor
A new instance of VmwareAdminSeesawConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareAdminSeesawConfig
Returns a new instance of VmwareAdminSeesawConfig.
4302 4303 4304 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_ha ⇒ Boolean Also known as: enable_ha?
Enable two load balancer VMs to achieve a highly-available Seesaw load
balancer.
Corresponds to the JSON property enableHa
4273 4274 4275 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4273 def enable_ha @enable_ha end |
#group ⇒ String
In general the following format should be used for the Seesaw group name:
seesaw-for-[cluster_name].
Corresponds to the JSON property group
4280 4281 4282 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4280 def group @group end |
#ip_blocks ⇒ Array<Google::Apis::GkeonpremV1::VmwareIpBlock>
The IP Blocks to be used by the Seesaw load balancer
Corresponds to the JSON property ipBlocks
4285 4286 4287 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4285 def ip_blocks @ip_blocks end |
#master_ip ⇒ String
MasterIP is the IP announced by the master of Seesaw group.
Corresponds to the JSON property masterIp
4290 4291 4292 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4290 def master_ip @master_ip end |
#stackdriver_name ⇒ String
Name to be used by Stackdriver.
Corresponds to the JSON property stackdriverName
4295 4296 4297 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4295 def stackdriver_name @stackdriver_name end |
#vms ⇒ Array<String>
Names of the VMs created for this Seesaw group.
Corresponds to the JSON property vms
4300 4301 4302 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4300 def vms @vms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4307 4308 4309 4310 4311 4312 4313 4314 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4307 def update!(**args) @enable_ha = args[:enable_ha] if args.key?(:enable_ha) @group = args[:group] if args.key?(:group) @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks) @master_ip = args[:master_ip] if args.key?(:master_ip) @stackdriver_name = args[:stackdriver_name] if args.key?(:stackdriver_name) @vms = args[:vms] if args.key?(:vms) end |