- A Cloud Guru
Administering Application Environments in Kubernetes
Kubernetes includes a variety of features that can simplify the process of administering robust applications. In this lab, you will have the opportunity to practice your application administration skills in Kubernetes by building a dev environment, retrieving logs, and running an administrative job. This will help you build familiarity with the ways in which you can administer Kubernetes applications.
Table of Contents
Create a Development Environment in the Cluster
Create a new Namespace called
Deploy the app, including the backing service, to the
You can find deployment descriptors for the frontend and backend in
/home/cloud_user. Note that you may have to change the external ports used by NodePort Services for the dev Services to avoid port conflicts on the host. You can use ports
30083for this purpose.
Retrieve Container Logs
Retrieve the container logs for the frontend container in the
productionNamespace and save them to a file at
Run the Admin Process
The frontend container image contains some code for an admin cleanup process. Use a Job called
node cleanup.jsusing the
linuxacademycontent/pirate-day:0.0.4image. Run the Job in the
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.