🏗️ 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.
37 lines
792 B
YAML
37 lines
792 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: lionsdev-client-ingress
|
|
namespace: lions-apps
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
nginx.ingress.kubernetes.io/ssl-redirect: 'true'
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- lions.dev
|
|
- www.lions.dev
|
|
secretName: lionsdev-client-tls
|
|
rules:
|
|
- host: lions.dev
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: lionsdev-client-service
|
|
port:
|
|
number: 80
|
|
- host: www.lions.dev
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: lionsdev-client-service
|
|
port:
|
|
number: 80
|