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/operator-nexus/howto-run-instance-readiness-testing.md
+20-19Lines changed: 20 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,25 +28,32 @@ The Instance Readiness Test (IRT) framework is an optional/add-on tool for the N
28
28
## Tests executed with IRT
29
29
- Validate that l3 domains in the fabric subscription and resource group exist after all tests on the resources under test are done.
30
30
- Validate that there are l3 networks created in the testing resource group after all tests on the resources under test are done.
31
-
- Validate that ApiserverAuditRequestsRejectedTotal metric data is present within the last 10 minutes.
32
-
Every average metric should be greater than 0.
33
-
- Validate that ContainerMemoryUsageBytes metric data is present within the last 10 minutes.
34
-
Every average metric should be greater than 0.
31
+
- Validate that NodeOsInfo metric data for a baremetal machine is present within the last 10 minutes.
32
+
Every count metric should be greater than 0.
33
+
- Validate that IdracPowerOn metric data is present within the last 10 minutes.
34
+
Every count metric should be greater than 0.
35
35
- Validate that CorednsDnsRequestsTotal metric data is present within the last 10 minutes.
36
36
Every average metric should be greater than 0.
37
-
- Validate that EtcdServerIsLeader metric data is present within the last 10 minutes. Every count metric should be greater than 0.
38
37
- Validate that FelixClusterNumHosts metric data is present within the last 10 minutes.
39
38
Every average metric should be greater than 0.
40
-
- Validate that IdracPowerOn metric data is present within the last 10 minutes. Every count metric should be greater than 0.
41
-
- Validate that KubeDaemonsetStatusCurrentNumberScheduled metric data is present within the last 10 minutes. Every average metric should be greater than 0.
42
-
- Validate that KubeletRunningPods metric data is present within the last 10 minutes.
39
+
- Validate that TyphaConnectionsAccepted metric data is present within the last 10 minutes.
40
+
Every average metric should be greater than 0.
41
+
- Validate that KubeDaemonsetStatusCurrentNumberScheduled metric data is present within the last 10 minutes.
43
42
Every average metric should be greater than 0.
43
+
- Validate that EtcdServerIsLeader metric data is present within the last 10 minutes.
44
+
Every average metric should be greater than 0.
45
+
- Validate that ApiserverAuditRequestsRejectedTotal metric data is present within the last 10 minutes.
46
+
There should be at least one timeseries data entry.
44
47
- Validate that KubevirtInfo metric data is present within the last 10 minutes.
45
48
Every average metric should be greater than 0.
46
-
- Validate that NodeOsInfo metric data for a baremetal machine is present within the last 10 minutes.
47
-
Every count metric should be greater than 0.
48
-
- Validate that TyphaConnectionsAccepted metric data is present within the last 10 minutes.
49
+
- Validate that ContainerMemoryUsageBytes metric data is present within the last 10 minutes.
50
+
Every average metric should be greater than 0.
51
+
- Validate that KubeletRunningPods metric data is present within the last 10 minutes.
49
52
Every average metric should be greater than 0.
53
+
- Validate that CpuUtilizationMax metric data for fabric network device is present within the last 10 minutes.
54
+
At least one non-zero metric should exist.
55
+
- Validate that MemoryAvailable metric data is present within the last 10 minutes.
56
+
At least one non-zero metric should exist.
50
57
- Test the transmission of IPv4 TCP data between two virtual machines using iPerf3 and affinity settings in the ARM template.
51
58
The test ensures that the data throughput exceeds 60 Mbps.
52
59
- Test the transmission of IPv6 TCP data between two virtual machines using iPerf3 and affinity settings in the ARM template.
@@ -125,7 +132,7 @@ For access to the nexus-samples GitHub repository
125
132
* Networks to use for the test are specified in a "networks-blueprint.yml" file, see [Input Configuration](#input-configuration).
126
133
- A way to download the IRT release package, for example, curl, wget, etc.
127
134
- The ability to create a service principal with the correct roles.
128
-
- The ability to read secrets from the KeyVault, see [Service Principal](#create-service-principal-and-security-group) section for more details.
135
+
- The ability to read secrets from the KeyVault, see [Service Principal](#create-service-principal-and-security-group) section for more details.
129
136
- The ability to create security groups in your Active Directory tenant.
130
137
131
138
## Input configuration
@@ -186,13 +193,7 @@ IRT requires a service principal with the correct permissions in order to intera
186
193
187
194
#### Create service principal and security group
188
195
189
-
The supplemental script, `create-service-principal.sh` creates a service principal with these role assignments or add role assignments to an existing service principal. The following role assignments are used:
190
-
191
-
*`Contributor` - For creating and manipulating resources
192
-
*`Storage Blob Data Contributor` - For reading from and writing to the storage blob container
193
-
*`Azure ARC Kubernetes Admin` - For ARC enrolling the NKS cluster
194
-
*`ACR Pull` - For pulling Images from ACR
195
-
*`Key Vault Secrets User` - for reading secrets from a key vault
196
+
The supplemental script, `create-service-principal.sh` creates a service principal with the custom role `NRT Roles` or associates the role `NRT Roles` to an existing service principal.
196
197
197
198
Additionally, the script creates the necessary security group, and adds the service principal to the security group. If the security group exists, it adds the service principal to the existing security group.
0 commit comments