-
Notifications
You must be signed in to change notification settings - Fork 274
09. Kubernetes
Siarhei P edited this page Jun 13, 2024
·
7 revisions
- Install Docker and KinD on your local machine.
- Create a KinD cluster with a single control plane node.
- Verify that the cluster is up and running using
kubectl
.
- Install Minikube and a hypervisor (e.g., VirtualBox/Docker) on your local machine.
- Start a Minikube cluster with a single node.
- Confirm that the cluster is operational using
kubectl
.
- Create a GitHub repository for your Kubernetes-related assignments.
- Write a GitHub Actions workflow that sets up a KinD cluster.
- Configure the workflow to run on every push to a specific branch.
- Use a Docker container or GitHub-hosted runner for the workflow execution.
- Enhance the existing GitHub repository with another Actions workflow.
- This time, create a workflow that sets up a Minikube cluster.
- Configure the workflow to run on pull requests to the repository.
- Utilize appropriate GitHub Actions features to customize the workflow execution environment.
Please check in the last two assignments:
- how many nodes they have
- which latest version of Kubernetes they are using
- how long they spin up (you can provide just timing)
History of your commands and github-action file(s) add into folder 09.Kubernetes
and prepare PR (Pull Request)
How to install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/