shared-sqs: деплой в K8s — qu.kube5s.ru, ingress, TLS
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# deployments/k8s/deployment.yaml
|
# deployments/k8s/deployment.yaml
|
||||||
# Deployment shared-sqs — strategy Recreate (НЕ RollingUpdate: in-memory state, Trap #14)
|
# Deployment shared-sqs — strategy Recreate (in-memory state, Trap #14)
|
||||||
# Created: 2026-04-09
|
# Updated: 2026-04-09
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -52,4 +52,4 @@ spec:
|
|||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: pearlharbor-registry-secret
|
- name: sless-registry-auth
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# deployments/k8s/ingress.yaml
|
||||||
|
# Ingress для shared-sqs на домене qu.kube5s.ru
|
||||||
|
# Created: 2026-04-09
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: shared-sqs-ingress
|
||||||
|
namespace: shared-sqs
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: 10m
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "30"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "30"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: qu.kube5s.ru
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: shared-sqs
|
||||||
|
port:
|
||||||
|
number: 4100
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- qu.kube5s.ru
|
||||||
|
secretName: shared-sqs-tls
|
||||||
Reference in New Issue
Block a user