Skip to content

Commit 689302b

Browse files
authored
Updated code snippets
1 parent 16f5092 commit 689302b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

articles/security/fundamentals/trusted-hardware-identity-management.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,24 +97,15 @@ Follow the steps below for requesting AMD collateral in a confidential container
9797
```
9898
2. Create an AKS cluster with one CVM node in the resource group.
9999
```bash
100-
az aks create --name <CLUSTER_NAME> \
101-
--resource-group <RG_NAME> \
102-
-l <LOCATION> \
103-
--node-vm-size Standard_DC4as_v5 \
104-
--nodepool-name <POOL_NAME> \
105-
--node-count 1
100+
az aks create --name <CLUSTER_NAME> --resource-group <RG_NAME> -l <LOCATION> --node-vm-size Standard_DC4as_v5 --nodepool-name <POOL_NAME> --node-count 1
106101
```
107102
3. Configure kubectl to connect to the cluster.
108103
```bash
109104
az aks get-credentials --resource-group <RG_NAME> --name <CLUSTER_NAME>
110105
```
111106
2. Add a CVM node pool to the existing AKS cluster.
112107
```bash
113-
az aks nodepool add --cluster-name <CLUSTER_NAME> \
114-
--resource-group <RG_NAME> \
115-
--name <POOL_NAME > \
116-
--node-vm-size Standard_DC4as_v5 \
117-
--node-count 1
108+
az aks nodepool add --cluster-name <CLUSTER_NAME> --resource-group <RG_NAME> --name <POOL_NAME > --node-vm-size Standard_DC4as_v5 --node-count 1
118109
```
119110
3. Verify the connection to your cluster using the kubectl get command. This command returns a list of the cluster nodes.
120111
```bash
@@ -127,7 +118,8 @@ Follow the steps below for requesting AMD collateral in a confidential container
127118
128119
2. Once the AKS cluster is created, create a curl.yaml file with the following content. It defines a job that runs a curl container to fetch AMD collateral from the THIM endpoint. For more information about Kubernetes Jobs, please visit HERE.
129120
130-
```curl.yaml
121+
**curl.yaml**
122+
```bash
131123
apiVersion: batch/v1
132124
kind: Job
133125
metadata:

0 commit comments

Comments
 (0)