Before you begin
- Complete the Install Kf.
Pushing an application
Prerequisites
The following are required to complete this section:
- A
.kubeconfigtargeting the Kf cluster. - The
kfCLI installed and in your path. See Install Kf for instructions. - The
gitCLI installed and in your path.
Prepare space
Create new space:
kf create-space test-spaceTarget the space:
kf target -s test-space
Push the Cloud Foundry test app
Clone the test-app repo.
git clone https://github.com/cloudfoundry-samples/test-app go-test-appcd go-test-appPush the app.
kf push test-appGet the application's URL.
kf appsOpen the URL in your browser where you should see the app running.
Clean up
These steps should return the cluster to the starting state.
Delete the application.
kf delete test-appDelete the Space.
kf delete-space test-space