PromptsVault AI is thinking...
Searching the best prompts from our community
Searching the best prompts from our community
Prompts matching the #k8s-deployment tag
Deploy and manage applications on Kubernetes with advanced orchestration and scaling strategies. Cluster architecture: 1. Master nodes: API server, etcd, controller manager, scheduler (minimum 3 for HA). 2. Worker nodes: kubelet, kube-proxy, container runtime (Docker/containerd). 3. Networking: CNI plugins (Calico, Flannel), ingress controllers (NGINX, Traefik). Workload management: 1. Deployments: rolling updates with maxUnavailable: 25%, maxSurge: 25%. 2. StatefulSets: ordered deployment for databases, persistent volume claims. 3. DaemonSets: node-level services (log collectors, monitoring agents). 4. Jobs/CronJobs: batch processing, scheduled tasks with timezone support. Resource management: 1. Resource quotas: CPU/memory limits per namespace, prevent resource exhaustion. 2. Horizontal Pod Autoscaler: target CPU 70%, memory 80%, custom metrics scaling. 3. Vertical Pod Autoscaler: right-size resource requests based on usage patterns. Security practices: 1. RBAC: role-based access control, principle of least privilege. 2. Network policies: ingress/egress rules, microsegmentation. 3. Pod Security Standards: restricted profile, security contexts, read-only filesystems. Monitoring stack: Prometheus for metrics, Grafana for visualization, AlertManager for notifications, target 99.9% uptime.