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
- `AZURE_INSTANCE_SIZE` is the default if an instance size is not defined in the workload.
472
+
- `AZURE_INSTANCE_SIZES` lists all of the instance sizes you can specify when creating the pod. This allows you to define smaller instance sizes for workloads that need less memory and fewer CPUs or larger instance sizes for larger workloads.
473
+
- Specify the `AZURE_SUBNET_ID` value that you retrieved.
474
+
- Specify the `AZURE_NSG_ID` value that you retrieved.
475
+
- `AZURE_IMAGE_ID` (Optional): By default, this value is populated when you run the KataConfig CR, using an Azure image ID based on your cluster credentials. If you create your own Azure image, specify the correct image ID.
476
+
- Specify the `AZURE_REGION` value you retrieved.
477
+
- Specify the `AZURE_RESOURCE_GROUP` value you retrieved.
478
+
- `AA_KBC_PARAMS` specifies the host name of the Trustee route.
479
+
480
+
1. Create the config map by running the following command:
481
+
482
+
`$ oc apply -f peer-pods-cm.yaml`
483
+
484
+
1. Restart the `peerpodconfig-ctrl-caa-daemon` daemon set by running the following command:
1. Create an `example-kataconfig.yaml` manifest file according to the following example:
496
+
497
+
```
498
+
apiVersion: kataconfiguration.openshift.io/v1
499
+
kind: KataConfig
500
+
metadata:
501
+
name: example-kataconfig
502
+
spec:
503
+
enablePeerPods: true
504
+
logLevel: info
505
+
# kataConfigPoolSelector:
506
+
# matchLabels:
507
+
# <label_key>: '<label_value>'
508
+
```
509
+
510
+
Optional: If you have applied node labels to install kata-remote on specific nodes, specify the key and value, for example, cc: 'true'.
511
+
512
+
1. Create the KataConfig CR by running the following command:
513
+
514
+
`$ oc apply -f example-kataconfig.yaml`
515
+
516
+
The new KataConfig CR is created and installs kata-remote as a runtime class on the worker nodes.
517
+
518
+
> [!NOTE]
519
+
> Wait for the kata-remote installation to complete and the worker nodes to reboot before verifying the installation.
520
+
>
521
+
522
+
1. Monitor the installation progress by running the following command:
523
+
524
+
`$ watch "oc describe kataconfig | sed -n /^Status:/,/^Events/p"`
525
+
526
+
When the status of all workers under kataNodes is installed and the condition InProgress is False without specifying a reason, the kata-remote is installed on the cluster.
527
+
528
+
1. Verify the daemon set by running the following command:
529
+
530
+
`$ oc get -n openshift-sandboxed-containers-operator ds/peerpodconfig-ctrl-caa-daemon`
531
+
532
+
1. Verify the runtime classes by running the following command:
533
+
534
+
$ oc get runtimeclass
535
+
536
+
Example output:
537
+
538
+
```
539
+
NAME HANDLER AGE
540
+
kata-remote kata-remote 152m
541
+
```
542
+
543
+
### Create the Trustee authentication secret
544
+
545
+
1. Create a private key by running the following command:
0 commit comments