Deploying a workload on an Edge device node using a pattern
In this hands-on exercise, we will build and push container images, publish a Service and Pattern, register the Edge device node with a pattern, and verify that the deployed services are running.
To complete this exercise, take a look at the accompanying example-services
repository for any additional instructions. You should look at the content of the Makefile and corresponding targets
to understand the underlying commands being used, especially how the Service and Pattern are published to the Management Hub. Also, take a look at service-definition.json
and pattern-service.json
to develop a good understanding based on real examples and the concepts described so far:
- Set up the
ENVIRONMENT
variables:source ~/project/rwec/ENV_RWEC
- Build the service1 Docker image:
make build
- Verify the built Docker image:
docker images | grep service1
Your output should look like this.
rwec.edge.example.service.service1_amd64
- Verify the built Docker image:
- Push...