Skip to content

Deploy xApp

By default with the 2023.3.0 system release, xApp dev enviroment version 2.1.2 would be installed when using the dashbaord or the helm charts. Below steps would need to be used to use the latest version 2.2 xApp dev.

1. Using CLI

  • ssh into the DRAX machine.
  • Create xapp values file (modify the KubeIP to the one used in the setup). (also the password can be changed)

    tee xapp-values.yaml <<EOF
    global:
      kubeIp: "10.55.5.3"
    
    image:
      repository: accelleran/xapp-framework-package
      pullPolicy: IfNotPresent
      tag: "2.2.0"
    
    developerMode:
      enabled: true
      devPassword: "password1!"
    
    
    xappEnpoints:
      REDIS_URL: "redis://{{ .Release.Name }}-xapp-redis.{{ .Release.Namespace }}:6379"
      KAFKA_URL: "kafka://{{ .Values.global.kubeIp }}:31090"
      API_URL: "http://{{ .Values.global.kubeIp }}:31315"
      NATS_URL: "nats://{{ .Values.global.kubeIp }}:31100"
      NATS_URL_5G: "nats://{{ .Values.global.kubeIp }}:31100"
    EOF
    

  • Deploy the xApp dev enviroment:

    helm install xapp-1 https://github.com/accelleran/helm-charts/releases/download/xapp-hello-world-2.1.2/xapp-hello-world-2.1.2.tgz --version 2.1.2 --values xapp-values.yaml
    

2. Using the Dashboard

  • The same xapp-values.yaml file mentioned about would be needed.
  • From the dashboard -> xApp development
  • Fill the fields as below:
    • xApp Name: xapp-1
    • Version: 2.1.2
    • Repository name: xapp-hello-world
    • Chart name: xapp-hello-world
  • Upload the xapp-values.yaml
  • Submit