🏗️ Kubernetes Manifests: - Namespace configuration for lions-apps - Deployment with 3 replicas and resource limits - Service for internal cluster communication - Ingress with SSL/TLS for lions.dev and www.lions.dev 🚀 Deployment Script: - Interactive deployment script with environment validation - Support for production deployment to k2 cluster - Safety confirmations and comprehensive logging 🌍 Production Configuration: - Domain: lions.dev with automatic SSL certificates - Cluster: k2 for production workloads - Registry: registry.lions.dev for container images - Namespace: lions-apps for application isolation Ready for deployment with lionsctl pipeline command.
30 lines
596 B
YAML
30 lines
596 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: lionsdev-client
|
|
namespace: lions-apps
|
|
labels:
|
|
app: lionsdev-client
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: lionsdev-client
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lionsdev-client
|
|
spec:
|
|
containers:
|
|
- name: lionsdev-client
|
|
image: registry.lions.dev/lionsdev/lionsdev-client:latest
|
|
ports:
|
|
- containerPort: 8080
|
|
resources:
|
|
requests:
|
|
memory: 256Mi
|
|
cpu: 200m
|
|
limits:
|
|
memory: 1Gi
|
|
cpu: 1000m
|