This repository contains Kubernetes configuration files for a workshop.
hello-world.yaml
: Defines a Pod namedhello-world
in theworkshop-kubernetes
namespace.namespace-workshop-kubernetes.yaml
: Defines theworkshop-kubernetes
namespace.
-
Create the namespace:
kubectl apply -f namespace-workshop-kubernetes.yaml
-
Deploy the
hello-world
Pod:kubectl apply -f hello-world.yaml
-
Verify the Pod is running:
kubectl get pods -n workshop-kubernetes
apiVersion: v1
kind: Namespace
metadata:
name: workshop-kubernetes