Application Lifecycle Management: Applications Edit on GitHub Request doc changes

Contributors ebarcott

Wondering what an Application Lifecycle Management Application is and how to use it? Get an overview of the Application deployment workflow, and how you can use git push to deploy and manage your Application with NetApp Kubernetes Service (NKS) Application Lifecycle Management.

To use this feature, you will need an NKS account. If you don’t have one already, you can sign up for a free 30-day trial with no credit card required at https://nks.netapp.io.

Note
Application Lifecycle Management is currently in Functional Preview mode. To enable this feature you will need to create a new cluster, and "Enable experimental features."
NKS app management

Understanding Applications

By creating and leveraging Applications, you can quickly build and deploy solutions to your NKS cluster.

After creating an Application, NKS will provide you with a git remote command you can use to deploy your code. NKS also provides the URL (ingress) for accessing the code after it has been deployed.

Developers can git push code to NKS, and NKS takes it from there. NKS will automatically build the container and deploy your code to the cluster. The Application is deployed to the cluster namespace which matches the project name.

Supported Languages

The following languages are supported by Applications and the git push workflow:

  • Clojure

  • Go

  • Gradle

  • Java

  • Node

  • PHP

  • Play

  • Python

  • Ruby

  • Scala

  • HTML

Note
To serve static HTML pages, be sure to add an empty file named .static in the root directory.

Using Applications

Prerequisites:

  • Create a Project for your Application. For more information on Projects, see our Projects guide.

  • Before deploying your Application on NKS, you will need to commit it to a Git repository. You can either use a local repository on your desktop computer, or use a public GitHub repository.

  • Git installed on your desktop computer.

Deploy Your Application

  1. Copy the git remote address from the Project page.

  2. On your terminal, paste the git remote address.

  3. Commit your changes.

  4. git push nks master

And that’s it - kubectl get pods -n project_name -w to see the pods come up.

Access the application

From the application detail page, press the link or copy the link.

Did this article answer your question? If not, contact us.