- OpenShift CLI Version >= 4.3.0
Needed for kustomize
oc version
Demonstrate a simple helloworld web application for getting started with ACM applications. This web application serves one page which displays the text 'Hello World'.
- 1+ managed-clusters total
- Those
Managed-Cluster
to target, must have a label withmetadata.labels.usage: development
Using the application console, you can easily create an Application to run this demo.
- Open the Red Hat Advanced Cluster Management for Kubernetes console
- Navigate on the left navigation menu to
Managed applications
- Click the
Create application
button - Enter the following values:
- Name:
helloworld
- Namespace:
helloworld
- Repository types:
Git
- URL:
https://github.com/open-cluster-management/application-samples.git
- Branch:
main
- Path:
helloworld
- Select
Deploy application resources only on clusters matching specified labels
- Label name:
usage
- Label value:
development
- Click
Save
- Navigate on the left navigation menu to
Managed applications
- Click the
helloworld
Application name. - View the Topology
- Click the
Route
node to obtain the application URL - Click the URL to see the helloworld sample application