Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 4.07 KB

lab9.md

File metadata and controls

82 lines (57 loc) · 4.07 KB

Lab 9: Introduction to Kubernetes

Overview

In this lab, you will explore Kubernetes, set up a local development environment, and create manifests for your application.

Task 1: Kubernetes Setup and Basic Deployment

6 Points:

  1. Learn About Kubernetes:

  2. Install Kubernetes Tools:

    • Install kubectl and minikube, essential tools for managing Kubernetes.
  3. Deploy Your Application:

  4. Access Your Application:

  5. Create a Kubernetes Folder:

    • Establish a k8s folder within your repository.
    • Create a README.md report within this folder and include the output of the kubectl get pods,svc command.
  6. Cleanup:

    • Remove the Deployment and Service resources that you created, maintaining a tidy Kubernetes environment.
  7. Pull Request to the Forked Repository:

    • Create a Pull Request (PR) to the main branch of the forked repository, allowing your teammates to review your work.
  8. Pull Request in Your Repository:

    • Construct a PR in your repository, linking the lab9 branch to the main branch.

Task 2: Declarative Kubernetes Manifests

4 Points:

  1. Manifest Files for Your Application:

  2. Service Manifest:

    • Develop a service.yml manifest file for your application.
  3. Manifest Files in k8s Folder:

    • Store these manifest files in the k8s folder of your repository.
    • Additionally, provide the output of the kubectl get pods,svc command in the README.md report.
    • Include the output of the minikube service --all command and the result from your browser, with a screenshot demonstrating that the IP matches the output of minikube service --all.

Bonus

To Earn 2.5 Additional Points:

  1. Manifests for Extra App:

    • Create deployment and service manifests for an additional application.
  2. Ingress Manifests:

  3. Application Availability Check:

    • Utilize curl or a similar tool to verify the availability of your applications. Include the output in the report.

Guidelines:

  • Maintain a clear and well-structured README.md document.
  • Ensure that all required components are included.
  • Adhere to file and folder naming conventions.
  • Create and participate in PRs to facilitate the peer review process.
  • When creating the PR in your repository, make it from the lab9 branch to the main branch.

Note: Detailed documentation is crucial to ensure that your Kubernetes deployment is fully functional and accessible. Engage with the bonus tasks to further enhance your understanding and application deployment skills.