Example 2 - Deploy a custom application as an Anjuna Confidential Pod

This guide shows how to deploy a custom application as an Anjuna Confidential Pod (Confidential Pod), as well as how to configure its behavior via the Anjuna Confidential Pod Configuration File.

The example application container prints its environment and writes its logs to a shared file. A logshipper sidecar runs alongside it, reading the log file and sending it elsewhere (in this case, its own standard output). The file is shared through an ephemeral directory that only exists inside the Confidential Pod, not in the Node filesystem, where cluster admins or other users could access the file’s contents.

This example illustrates how the Confidential Pod Configuration file can be used to configure the environment of an application. It also shows how multiple containers in a Confidential Pod can share data securely through an in-memory empty directory.

Make sure that all the Prerequisites are met before continuing.