batch-shipyard/config_templates/fs.yaml

103 строки
2.5 KiB
YAML

remote_fs:
resource_group: my-resource-group
location: <Azure region, e.g., eastus>
zone: null
managed_disks:
resource_group: my-disk-resource-group
sku: premium_lrs
disk_size_gb: 128
disk_names:
- p10-disk0a
- p10-disk1a
- p10-disk0b
- p10-disk1b
storage_clusters:
mystoragecluster:
resource_group: my-server-resource-group
hostname_prefix: mystoragecluster
ssh:
username: shipyard
ssh_public_key: /path/to/rsa/publickey.pub
ssh_public_key_data: ssh-rsa ...
ssh_private_key: /path/to/rsa/privatekey
generated_file_export_path: null
public_ip:
enabled: true
static: false
virtual_network:
name: myvnet
resource_group: my-vnet-resource-group
existing_ok: false
address_space: 10.0.0.0/16
subnet:
name: my-server-subnet
address_prefix: 10.0.0.0/24
network_security:
ssh:
- '*'
nfs:
- 1.2.3.0/24
- 2.3.4.5
glusterfs:
- 1.2.3.0/24
- 2.3.4.5
smb:
- 6.7.8.9
custom_inbound_rules:
myrule:
destination_port_range: 5000-5001
protocol: '*'
source_address_prefix:
- 1.2.3.4
- 5.6.7.0/24
file_server:
type: glusterfs
mountpoint: /data
mount_options:
- noatime
- nodiratime
server_options:
glusterfs:
performance.cache-size: 1 GB
transport: tcp
volume_name: gv0
volume_type: distributed
nfs:
'*':
- rw
- sync
- root_squash
- no_subtree_check
samba:
share_name: data
account:
username: myuser
password: userpassword
uid: 1002
gid: 1002
read_only: false
create_mask: '0700'
directory_mask: '0700'
vm_count: 2
vm_size: STANDARD_F16S
fault_domains: 2
accelerated_networking: false
vm_disk_map:
'0':
disk_array:
- p10-disk0a
- p10-disk1a
filesystem: btrfs
raid_level: 0
'1':
disk_array:
- p10-disk0b
- p10-disk1b
filesystem: btrfs
raid_level: 0
prometheus:
node_exporter:
enabled: false
port: 9100
options: []