bashintermediate
Kubernetes Ingress
DevOps practice: kubernetes-ingress
bashPress ⌘/Ctrl + Shift + C to copy
#!/usr/bin/env bash
set -euo pipefail
kubectl apply -f k8s/namespace.yaml
kubectl apply -f k8s/deployment.yaml
kubectl rollout status deployment/api -n appUse Cases
- infrastructure management
- automation
Tags
Related Snippets
Similar patterns you can reuse in the same workflow.
bashadvanced
Kubernetes Service Mesh
DevOps practice: kubernetes-service-mesh
Best for: infrastructure management
#devops#infrastructure
bashbeginner
Kubernetes Operators
DevOps practice: kubernetes-operators
Best for: infrastructure management
#devops#infrastructure
yamlintermediate
Kubernetes Deployment Manifest
Production-ready Kubernetes deployment with resource limits, probes, rolling updates, and anti-affinity.
Best for: Deploying containerized applications to Kubernetes
#kubernetes#deployment
yamladvanced
Kubernetes HPA — Horizontal Pod Autoscaler
Configure horizontal pod autoscaling based on CPU, memory, and custom metrics for Kubernetes workloads.
Best for: Auto-scaling APIs based on traffic load
#kubernetes#autoscaling