You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cyclecloud/cluster-references/network-interface-reference.md
+35-13Lines changed: 35 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,40 +11,62 @@ ms.custom: compute-evergreen
11
11
12
12
Network Interface objects are rank 3, and subordinate to `node` or `nodearray`. `network-interface` represents an Azure Network Interface.
13
13
14
-
Multiple network interfaces may be attached to a single node for multi-homed VMs. Refer to the [VM Sizes](/azure/virtual-machines/linux/sizes) documentation to find the maxinum number of NICs for the selected VM SKU.
14
+
Multiple network interfaces may be attached to a single node for multi-homed VMs. Refer to the [VM Sizes](/azure/virtual-machines/linux/sizes) documentation to find the maximum number of NICs for the selected VM SKU.
15
15
16
16
### Example
17
17
18
-
Adding a `[[[network-interface]]]` section to a node adds controls to the default NIC. You can also add additional NICs and attach them to a VM.
18
+
Nodes will get a single network interface by default. Adding a `[[[network-interface]]]` section to a node lets the defaults be overridden. You can also add additional NICs and attach them to a VM.
19
19
20
-
This example attaches an existing NIC to a VM:
20
+
This example creates a node with two network interfaces, and places the second nic in a different subnet with two application security groups:
Attribute values that begin with `$` are referencing parameters.
35
39
36
40
## Attribute Reference
37
41
42
+
The `[[[network-interface]]]` block is most commonly used for single nodes and the attributes that reference singular properties (such as a private IP address) do not apply to node arrays. However, the block may be used to apply an existing Network Security Group or one or more Application Security Groups to nodes in an array.
43
+
38
44
Attribute | Type | Definition
39
-
------ | ----- | ----------
40
-
AssociatePublicIpAddress | Boolean | Associate a public IP address with the NIC (node only)
41
-
StaticPublicIpAddress | Boolean | If true, the IP address will be persisted between node restarts (node only)
42
-
EnableIpForwarding | Boolean | If true, allow IP forwarding (node only)
45
+
--------- | ---- | ----------
46
+
AssociatePublicIpAddress | Boolean | Associate a public IP address with the NIC
47
+
EnableIpForwarding | Boolean | If true, allow IP forwarding
48
+
SecurityGroup | String | Specify an existing Network Security Group Resource ID (overrides the default NSG created when a public IP is specified). This overrides the `NetworkSecurityGroupId`[node attribute](node-nodearray-reference.md), if any.
49
+
ApplicationSecurityGroups | String (list) | List of Application Security Groups by Resource ID
50
+
SubnetId | String | Subnet definition in the form `${rg}/${vnet}/${subnet}`. This overrides the `SubnetId`[node attribute](node-nodearray-reference.md).
51
+
Primary | Boolean | If set, marks this NIC as "primary" for the operating system.
43
52
PrivateIp | String | Assign a specific private IP address (node only)
44
53
NetworkInterfaceId | String | Specify an existing NIC by resource ID (node only)
45
-
SecurityGroup | String | Specify an existing Network Security Group Resouce ID (overrides the default NSG created when a public IP is specified)
46
-
ApplicationSecurityGroups | String (list) | List of Application Security Groups by Resource ID and separated by comma
54
+
StaticPublicIpAddress | Boolean | If true, the IP address will be persisted between node restarts (node only)
55
+
56
+
### Existing network interfaces
57
+
58
+
For head nodes, you can create a NIC separately and attach it to a node:
The `[[[network-interface]]]` block is most commonly used for single nodes/VMs and most of the attributes do not apply to nodearrays. However, the block may be used to apply an existing Network Security Group or one or more Application Security Groups to all nodes/VMs in the nodearray.
72
+
This networkinterface will not be modified or deleted by CycleCloud.
Copy file name to clipboardExpand all lines: articles/cyclecloud/cluster-references/node-nodearray-reference.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ There are a minimum of four required attributes to successfully start a node:
61
61
Attribute | Type | Definition
62
62
------ | ----- | ----------
63
63
MachineType | String | The Azure VM Size
64
-
SubnetId | String | Subnet definition in the form `${rg}/${vnet}/${subnet}`
64
+
SubnetId | String | Subnet definition in the form `${rg}/${vnet}/${subnet}`. Note this is *not* the full resource id.
65
65
Credentials | String | Name of the Cloud Provider account.
66
66
67
67
The fourth required attribute is related to an image. An image attribute is required
@@ -94,6 +94,7 @@ KeepAlive | Boolean | If true, CycleCloud will prevent the termination of this n
94
94
Locker | String | Specify the name of the locker from which to download project specs. See [Use Projects](~/how-to/projects.md)
95
95
BootDiagnosticsUri | String | Storage URI for boot diagnostics (example: https://mystorageaccount.blob.core.windows.net/), if specified. Storage charges will apply.
96
96
HybridBenefit | Boolean | If true, enables "Azure Hybrid Benefit" licensing for Windows VMs
97
+
NetworkSecurityGroupId | String | If given, the full resource id for a Network Security Group to use for this node. Note: this can also be specified as `SecurityGroup` on a [network interface](network-interface-reference.md).
97
98
EnableTerminateNotification (8.2.0+) | Boolean | If true, enables [Terminate Notification](/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-terminate-notification) to send events on VM deletion to the VM for local handling. This only applies to scaleset VMs.
98
99
TerminateNotificationTimeout (8.2.2+) | Relative Time | If terminate-notification is enabled, this controls how long VMs are given to handle the event before being deleted.
99
100
ThrottleCapacity (8.2.2+) | Boolean | If true, this nodearray will report 0 capacity to autoscalers for a default of 5 minutes after encountering a capacity issue
0 commit comments