This module creates a Toolkit runner that will install HTCondor on RedHat 7 or derivative operating systems such as the CentOS 7 release in the HPC VM Image.
It also exports a list of Google Cloud APIs which must be enabled prior to provisioning an HTCondor Pool.
It is expected to be used with the htcondor-configure and htcondor-execute-point modules.
The following code snippet uses this module to create startup scripts that install the HTCondor software and adds custom configurations using htcondor-configure and htcondor-execute-point.
- id: htcondor_install
source: community/modules/scripts/htcondor-install
- id: htcondor_configure_central_manager
source: modules/scripts/startup-script
settings:
runners:
- $(htcondor_install.install_htcondor_runner)
- $(htcondor_configure.central_manager_runner)
- id: htcondor_configure_access_point
source: modules/scripts/startup-script
settings:
runners:
- $(htcondor_install.install_htcondor_runner)
- $(htcondor_install.install_autoscaler_deps_runner)
- $(htcondor_install.install_autoscaler_runner)
- $(htcondor_configure.access_point_runner)
- $(htcondor_execute_point.configure_autoscaler_runner)
A full example can be found in the examples README.
This module enables Linux firewall rules that block access to the instance
metadata server for any POSIX user that is not root
or condor
. This prevents
user jobs from being able to escalate privileges to act as the VM. System
services and HTCondor itself can continue to do so, such as writing to Cloud
Logging. This feature can be disabled.
HTCondor is maintained by the Center for High Throughput Computing at the University of Wisconsin-Madison. Support for HTCondor is available via:
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.
Name | Version |
---|---|
terraform | >= 0.13.0 |
No providers.
No modules.
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
block_metadata_server | Use Linux firewall to block the instance metadata server for users other than root and HTCondor daemons | bool |
true |
no |
enable_docker | Install and enable docker daemon alongside HTCondor | bool |
true |
no |
Name | Description |
---|---|
gcp_service_list | Google Cloud APIs required by HTCondor |
install_autoscaler_deps_runner | Toolkit Runner to install HTCondor autoscaler dependencies |
install_autoscaler_runner | Toolkit Runner to install HTCondor autoscaler |
install_htcondor_runner | Runner to install HTCondor using startup-scripts |