Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 756 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 756 Bytes

Kubernetes Workshop

This repository contains Kubernetes configuration files for a workshop.

Files

  • hello-world.yaml: Defines a Pod named hello-world in the workshop-kubernetes namespace.
  • namespace-workshop-kubernetes.yaml: Defines the workshop-kubernetes namespace.

Usage

  1. Create the namespace:

    kubectl apply -f namespace-workshop-kubernetes.yaml
  2. Deploy the hello-world Pod:

    kubectl apply -f hello-world.yaml
  3. Verify the Pod is running:

    kubectl get pods -n workshop-kubernetes

File Contents

apiVersion: v1
kind: Namespace
metadata:
  name: workshop-kubernetes