Evolution of application deployment over the past 20 years.
Configure your local and remote lab environments.
Covers the resource types that are included with Kubernetes.
•Pod
•Job
Using helm to manage Kubernetes resources
Example microservice application.
Kubernetes manifests to deploy the demo application.
Explore how custom resources can add functionality
Install additional software to enhance the deployment.
Improving the DevX when working with Kubernetes.
How to safely upgrade your clusters and nodes.
Implement CI/CD for your applications (with GitOps!)
In Kubernetes, namespaces are used to divide cluster resources between multiple users or teams. They provide a scope for resource names, which helps in avoiding name conflicts and allows better organization and management of resources.
Namespaces are ideal for environments with multiple teams or projects within the same cluster.
We will use namespaces throughout this course to avoid naming conflicts for the resources deployed in each lesson.
Official docs: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
Let's create, apply, and delete namespaces using practical commands.
First, we can create a namespace using the kubectl command-line tool.
# task 01-create-namespace
# - Create a namespace in the cluster
kubectl create namespace 04--namespace-cli
Next, we'll apply a namespace configuration using a YAML file. This allows us to define namespaces declaratively.
# Namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
name: 04--namespace-file
# task 02-apply-namespace
# - Apply the namespace configuration to the cluster
kubectl apply -f Namespace.yaml
Finally, clean up your cluster by deleting the namespaces created.
# task 03-delete-namespaces
# - Delete the namespace.
kubectl delete namespace 04--namespace-cli
kubectl delete -f Namespace.yaml