Skip to content

Commit 5db2899

Browse files
Merge pull request #273586 from lesage-oded/irt-updates
updates to IRT docs
2 parents cad92fa + 4a08c88 commit 5db2899

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

articles/operator-nexus/howto-run-instance-readiness-testing.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,32 @@ The Instance Readiness Test (IRT) framework is an optional/add-on tool for the N
2828
## Tests executed with IRT
2929
- Validate that l3 domains in the fabric subscription and resource group exist after all tests on the resources under test are done.
3030
- 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.
3535
- Validate that CorednsDnsRequestsTotal metric data is present within the last 10 minutes.
3636
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.
3837
- Validate that FelixClusterNumHosts metric data is present within the last 10 minutes.
3938
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.
4342
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.
4447
- Validate that KubevirtInfo metric data is present within the last 10 minutes.
4548
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.
4952
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.
5057
- Test the transmission of IPv4 TCP data between two virtual machines using iPerf3 and affinity settings in the ARM template.
5158
The test ensures that the data throughput exceeds 60 Mbps.
5259
- 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
125132
* Networks to use for the test are specified in a "networks-blueprint.yml" file, see [Input Configuration](#input-configuration).
126133
- A way to download the IRT release package, for example, curl, wget, etc.
127134
- 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.
129136
- The ability to create security groups in your Active Directory tenant.
130137

131138
## Input configuration
@@ -186,13 +193,7 @@ IRT requires a service principal with the correct permissions in order to intera
186193

187194
#### Create service principal and security group
188195

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.
196197

197198
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.
198199

0 commit comments

Comments
 (0)