Checking application status

After you've created the pipeline, you need to confirm its status. Let's perform the following steps make sure the application has been deployed in staging before we move it into production:

  1. If the pipeline has been built successfully, you should have version 0.0.1 in your staging environment. List the applications when the pipeline is complete:
$ jx get applications
APPLICATION STAGING PODS URL
python-flask-docker 0.0.1 1/1 http://python-flask-docker.jx-staging.35.188.140.152.nip.io

  1. Here, you can see that the application has been deployed. Visit the URL to see the application:

  1. Our pod is currently running in the jx-staging namespace. Confirm the pods in the jx-staging and jx-production namespaces. The second namespace shouldn't return anything until we promote our application to production:
$ kubectl get pods -n jx-staging
NAME READY STATUS RESTARTS AGE
jx-python-flask-docker-8564f5b4cb-ff97f 1/1 Running 0 21m
$ kubectl get pods -n jx-production
No resources found.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.235.188