#!/bin/bash # Apply the namespace kubectl apply -f k8s/namespace.yaml # Apply the StatefulSet and related objects kubectl apply -f k8s/statefulset.yaml # Apply the Django Deployment kubectl apply -f k8s/deployment.yaml # Apply the Django Service kubectl apply -f k8s/service.yaml echo "All Kubernetes objects created successfully."