Skip to content

Latest commit

 

History

History
118 lines (87 loc) · 4.72 KB

File metadata and controls

118 lines (87 loc) · 4.72 KB

Description

This module creates a bucket in which to store HTCondor configurations and a firewall rule that allows Managed Instance Group health checks to probe the health of HTCondor VMs.

Example

The following code snippet uses this module to create a startup script that installs HTCondor software and configures an HTCondor Central Manager. A full example can be found in the examples README.

- id: network1
  source: modules/network/pre-existing-vpc

- id: htcondor_install
  source: community/modules/scripts/htcondor-install

- id: htcondor_service_accounts
  source: community/modules/scheduler/htcondor-service-accounts

- id: htcondor_setup
  source: community/modules/scheduler/htcondor-setup
  use:
  - network1
  - htcondor_service_accounts

- id: htcondor_secrets
  source: community/modules/scheduler/htcondor-pool-secrets
  use:
  - htcondor_service_accounts

- id: htcondor_cm
  source: community/modules/scheduler/htcondor-central-manager
  use:
  - network1
  - htcondor_secrets
  - htcondor_service_accounts
  - htcondor_setup
  settings:
    instance_image:
      project: $(vars.project_id)
      family: $(vars.new_image_family)
  outputs:
  - central_manager_name

Support

HTCondor is maintained by the Center for High Throughput Computing at the University of Wisconsin-Madison. Support for HTCondor is available via:

License

Copyright 2022 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Requirements

Name Version
terraform >= 0.13.0

Providers

No providers.

Modules

Name Source Version
health_check_firewall_rule github.com/GoogleCloudPlatform/hpc-toolkit//modules/network/firewall-rules 9e695aab
htcondor_bucket github.com/GoogleCloudPlatform/hpc-toolkit//community/modules/file-system/cloud-storage-bucket/ 9e695aab

Resources

No resources.

Inputs

Name Description Type Default Required
access_point_service_account_email Service account e-mail for HTCondor Access Point string n/a yes
central_manager_service_account_email Service account e-mail for HTCondor Central Manager string n/a yes
deployment_name HPC Toolkit deployment name. HTCondor cloud resource names will include this value. string n/a yes
execute_point_service_account_email Service account e-mail for HTCondor Execute Points string n/a yes
labels Labels to add to resources. List key, value pairs. map(string) n/a yes
project_id Project in which HTCondor pool will be created string n/a yes
region Default region for creating resources string n/a yes
subnetwork_self_link The self link of the subnetwork in which Central Managers will be placed. string n/a yes

Outputs

Name Description
htcondor_bucket_name Name of the HTCondor configuration bucket