Skip to content

Your first NAIS application

To run an application on NAIS, a manifest file must be created for it. This file is typically named nais.yaml and in this documentation it is referred to as such. Technically the manifest file can be named anything, but it is recommended to name it nais.yaml.

Such a nais.yaml file provides NAIS with the necessary information to run your application. If you are starting out for the first time, the minimal nais.yaml example below is a good starting point.

apiVersion: ""
kind: "Application"
  name: appname
  namespace: teamname
    team: teamname
  image: navikt/docker-image:docker-tag

In the example, spec.image points to a Docker image on Docker Hub named docker-image. If the image is pushed to some other repository, the URL must be explicitly defined. For instance, if the image exists in GitHub's repositories, the manifest file's spec.image value would be, and then NAIS will fetch it from there.

For more information about the nais.yaml specification, see Manifest.

Now that you've created your application, it's time to deploy to Kubernetes.