Creating an application version#
We now need to create an application-version.yaml file to specify the details of the version of the Omniverse Kit App we want to deploy, including the container image, version, and related metadata.
Creating an application version#
- Create a new file called - application-version.yaml.
- In the file, specify the - Kindas- ApplicationVersion.- Sample application-version.yamlfor version- 107.3.2of the- usd-viewerapplication#- apiVersion: omniverse.nvidia.com/v1 kind: ApplicationVersion metadata: name: usd-viewer-107.3.2 labels: app: usd-viewer applicationName: usd-viewer version: '107.3.2' spec: helm_chart: ngc-omniverse/kit-appstreaming-session helm_chart_version: '1.11.0' container: nvcr.io/nvidia/omniverse/usd-viewer container_version: '107.3.2' - 2.1 Specify the - ApplicationVersionID and semantic version of the application:- metadata.name:
- The - ApplicationVersionID
- metadata.labels.version:
- The semantic version of the application. 
 - 2.2 We use metadata from the - Applicationto link the version to it:- metadata.labels.app:
- Application.metadata.name
- metadata.labels.applicationName:
- Application.spec.name
 - 2.3 The - specsection is where you define the container image and version for the Kit App:- spec.container:
- Container image to use 
- spec.container_version:
- Version of the container image to use 
 - 2.4 That is also where you specify a Helm chart used to deploy it: - spec.helm_chart:
- URL of the Helm chart to use 
- spec.helm_chart_version:
- Version of the Helm chart to use 
 
- Install the application version using kubectl: - kubectl apply -f application-version.yaml -n omni-streaming 
- List the new application version: - kubectl describe applicationversions.omniverse.nvidia.com usd-viewer-107.3.2 -n omni-streaming 
- List the new application version by calling the APS endpoint: - curl http://<ingress url of the AP service>/cfg/apps/usd-viewer/versions 
