Promoting a Release to the Production Environment
This lesson shows how we can promote an application running in the staging environment to the production environment.
Now that we feel our new release is production-ready, we can promote it to production. Before we do that, we’ll check whether we already have something running in production.
Getting applications running in production
Press + to interact
jx get applications --env production
The output states that no applications
were found in environments production
.
Getting applications running in staging
How about staging? We must have the release of our go-demo-6 application running there. Let’s double-check.
Press + to interact
jx get applications --env staging
The output is as follows:
Press + to interact
APPLICATION STAGING PODS URLgo-demo-6 0.0.184 1/1 http://go-demo-6.jx-staging.35.237.161.58.nip.io
For what we’re trying to do, the important piece of the information is the version displayed in the STAGING
...
Access this course and 1400+ top-rated courses and projects.