Manually

Performing deployments manually requires that you have access to the cluster and kubectl configured.

For automated deployments, use NAIS deploy.

$ kubectl apply -f nais.yaml
application.nais.io/<app name> created

Verify that your application is running

$ kubectl get pod -l app=<myapp>
NAME READY STATUS RESTARTS AGE
<app name>-59cbd7c89c-8h6wp 1/1 Running 0 4s
<app name>-59cbd7c89c-xpshz 1/1 Running 0 5s

You can also check that the Application resource was successfully created

$ kubectl describe app <my app>
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal synchronize 3s naiserator successfully synchronized application resources (hash = 13485216922060251669)