feat: Add Lions Dev GitOps deployment infrastructure
🏗️ 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.
This commit is contained in:
36
applications/lionsdev-client/kubernetes/ingress.yaml
Normal file
36
applications/lionsdev-client/kubernetes/ingress.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
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
|
||||
Reference in New Issue
Block a user