To change the behavior edit the hello-world-app.yaml (e.g. to specify the correct ingress.host value for your environment)
Currently uses this project: https://hub.docker.com/r/eltondesouza/go-hello-world which uses a multi-arch image that will run on x86 and z to demonstrate MCM capabilities Image at docker.io/eltondesouza/go-hello-world:latest
Clusters with tag on environment=Demo will get the app deployed. Look at Route in hello-world NS for url.
To install hello-world as MCM native app you need a cluster with IBM CloudPak for Multicluster Management 1.3
-
Create namespaces hello-world-source and hello-world-project. For Openshift run:
oc new-project hello-world-source oc new-project hello-world-project
-
Create a hello-world channel:
kubectl apply -f hello-world-ns-channel.yaml
-
Create a hello-world placementrules
kubectl apply -f hello-world-placementrules.yaml
-
Create a hello-world application deployables:
kubectl apply -f hello-world-deployable.yaml
-
Create a hello-world application and subscription CRDs:
kubectl apply -f hello-world-prereq.yaml kubectl apply -f hello-world-flat-app.yaml