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
> **Note**: If you are using Calico Container Network Interface (CNI) on the Kubernetes cluster, then, [configure](https://projectcalico.docs.tigera.io/networking/vxlan-ipip#configure-vxlan-encapsulation-for-all-inter-workload-traffic) Virtual Extensible LAN (VXLAN) encapsulation for all inter workload traffic.
@@ -287,13 +290,14 @@ Above image version is in the format `YYYY.MM.DD`, so to use the latest image sh
287
290
288
291
{{% tab header="DIY" %}}
289
292
290
-
If you have made changes to the CAA code that affects the pod VM image and you want to deploy those changes then follow [these instructions](https://github.com/confidential-containers/cloud-api-adaptor/blob/main/src/cloud-api-adaptor/azure/build-image.md) to build the pod VM image. Once image build is finished then export image id to the environment variable `AZURE_IMAGE_ID`.
293
+
If you have made changes to the CAA code that affects the pod VM image, and you want to deploy those changes then follow [these instructions](https://github.com/confidential-containers/cloud-api-adaptor/blob/main/src/cloud-api-adaptor/azure/build-image.md) to build the pod VM image.
294
+
Once image build is finished then export image id to the environment variable `AZURE_IMAGE_ID`.
Run the following command to update the [`kustomization.yaml`](https://github.com/confidential-containers/cloud-api-adaptor/blob/main/install/overlays/azure/kustomization.yaml) file:
-[Azure specific values](https://github.com/confidential-containers/cloud-api-adaptor/blob/main/src/cloud-api-adaptor/install/charts/peerpods/providers/azure.yaml)
382
+
383
+
Run the following command to update the [`providers/azure.yaml`](https://github.com/confidential-containers/cloud-api-adaptor/blob/main/src/cloud-api-adaptor/install/charts/peerpods/providers/azure.yaml) file:
384
+
385
+
```bash
386
+
cat <<EOF > providers/azure.yaml
387
+
provider: azure
388
+
image:
389
+
name: "${CAA_IMAGE}"
390
+
tag: "${CAA_TAG}"
391
+
providerConfigs:
392
+
azure:
393
+
AZURE_IMAGE_ID: "${AZURE_IMAGE_ID}"
394
+
AZURE_REGION: "${AZURE_REGION}"
395
+
AZURE_RESOURCE_GROUP: "${AZURE_RESOURCE_GROUP}"
396
+
AZURE_SUBNET_ID: "${AZURE_SUBNET_ID}"
397
+
AZURE_SUBSCRIPTION_ID: "${AZURE_SUBSCRIPTION_ID}"
398
+
AZURE_INSTANCE_SIZE: "${AZURE_INSTANCE_SIZE}"
399
+
DISABLECVM: ${DISABLECVM}
437
400
EOF
438
401
```
439
402
440
-
The SSH public key should be accessible to the `kustomization.yaml` file:
441
-
442
-
```bash
443
-
cp $SSH_KEY install/overlays/azure/id_rsa.pub
444
-
```
445
-
446
-
### Deploy CAA on the Kubernetes cluster
447
-
448
-
Deploy coco operator. Usually it's the same version as CAA, but it can be adjusted.
Generic CAA deployment instructions are also described [here](https://github.com/confidential-containers/cloud-api-adaptor/blob/main/install/README.md).
463
-
464
-
### Deploy a controller for garbage collecting PodVMs
465
-
466
-
Run the following command to deploy the Peerpod CRD
See [providers/azure-secrets.yaml.template](https://github.com/confidential-containers/cloud-api-adaptor/blob/main/src/cloud-api-adaptor/install/charts/peerpods/providers/azure-secrets.yaml.template) for required keys.
Verify that the `runtimeclass` is created after deploying CAA:
463
+
Verify that the `runtimeclass` is created after deploying Peer Pods Helm Charts:
479
464
480
465
```bash
481
466
kubectl get runtimeclass
482
467
```
483
468
484
-
Once you can find a `runtimeclass` named `kata-remote` then you can be sure that the deployment was successful. A successful deployment will look like this:
469
+
Once you can find a `runtimeclass` named `kata-remote`then you can be sure that the deployment was successful.
0 commit comments