Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 3.89 KB

lab9.md

File metadata and controls

76 lines (53 loc) · 3.89 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.

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 Task: Additional Configuration and Ingress

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.
  • Create pull requests (PRs) as needed: from your fork to the main branch of this repository, and from your fork's branch to your fork's master 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.