Let’s create the DJ App!
To create the
prod namespace, issue the following command
kubectl apply -n prod \ -f 1_create_the_initial_architecture/1_prod_ns.yaml
The output should be similar to:
Now that we have created the namespace, we’ll deploy the DJ App (
jazz microservices) and the services that front them.
kubectl apply -n prod \ -f 1_create_the_initial_architecture/1_initial_architecture_deployment.yaml \ -f 1_create_the_initial_architecture/1_initial_architecture_services.yaml
We can verify the deployed objects
kubectl -n prod get pods,deploy,service
Output should look like this
Once you’ve verified all resources have been created correctly in the prod namespace, next we’ll test out this initial version of the DJ App.