Compare commits

...

10 Commits

Author SHA1 Message Date
Beto Sánchez
98e5647247 image 2025-11-14 16:22:26 -05:00
Beto Sánchez
65b2eadcee deploy websocket 2025-10-30 15:36:22 -05:00
Beto Sánchez
93d2c8738c deployment low 2025-10-24 15:49:00 -05:00
Beto Sánchez
269a75ff9f change repor url 2025-10-24 10:59:54 -05:00
Beto Sánchez
aa466bedaf deployment update 2025-09-24 17:56:52 -05:00
Beto Sánchez
48601fe391 Secrets 2025-09-24 17:52:20 -05:00
Beto Sánchez
baf3e2e7a0 upgrade pods ram - cpu 2025-08-11 16:38:33 -05:00
Beto Sánchez
11d1c6361c ingress nginx 2025-05-27 17:23:48 -05:00
Beto Sánchez
4abe5c9874 client-max-body-size: "100M" 2025-05-21 16:01:42 -05:00
Beto Sánchez
7e9fa5a40f pods prod 2025-04-25 16:26:06 -05:00
42 changed files with 428 additions and 134 deletions

View File

@@ -3,6 +3,10 @@ controller:
replicaCount: 2 replicaCount: 2
config: config:
use-forwarded-headers: true use-forwarded-headers: true
client-max-body-size: "200m"
proxy-body-size: "200m"
proxy-request-buffering: "off"
resources: resources:
requests: requests:
cpu: 250m cpu: 250m

View File

@@ -1,13 +0,0 @@
controller:
allowSnippetAnnotations: "true"
replicaCount: 2
config:
use-forwarded-headers: true
resources:
requests:
cpu: 250m
memory: 150Mi
service:
annotations:
service.beta.kubernetes.io/do-loadbalancer-name: "bop.local"
service.beta.kubernetes.io/do-loadbalancer-network: "INTERNAL"

View File

@@ -31,4 +31,4 @@ spec:
containerPort: 8000 containerPort: 8000
protocol: TCP protocol: TCP
imagePullSecrets: imagePullSecrets:
- name: mind-sos-gitea-img - name: panel-gitea-img

View File

@@ -4,15 +4,16 @@ metadata:
name: dev-panel-bk-ig name: dev-panel-bk-ig
namespace: dev-panel-bk-ns namespace: dev-panel-bk-ns
annotations: annotations:
service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true" nginx.ingress.kubernetes.io/ssl-redirect: "true"
service.beta.kubernetes.io/do-loadbalancer-internal: "true" ingress.kubernetes.io/ssl-redirect: "true"
service.beta.kubernetes.io/do-loadbalancer-network: "INTERNAL" ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/enable-access-log: "true" kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/client-max-body-size: "100M"
spec: spec:
ingressClassName: nginx ingressClassName: nginx
rules: rules:
- host: pb8-dev.articulacion.com.co - host: pb-dev.articulacion.com.co
http: http:
paths: paths:
- pathType: Prefix - pathType: Prefix
@@ -24,5 +25,5 @@ spec:
number: 80 number: 80
tls: tls:
- hosts: - hosts:
- pb8-dev.articulacion.com.co - pb-dev.articulacion.com.co
secretName: dev-panel-bk-sc secretName: dev-panel-bk-sc

View File

@@ -31,4 +31,4 @@ spec:
containerPort: 80 containerPort: 80
protocol: TCP protocol: TCP
imagePullSecrets: imagePullSecrets:
- name: mind-sos-gitea-img - name: panel-gitea-img

View File

@@ -4,15 +4,16 @@ metadata:
name: dev-panel-ft-ig name: dev-panel-ft-ig
namespace: dev-panel-ft-ns namespace: dev-panel-ft-ns
annotations: annotations:
service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true" nginx.ingress.kubernetes.io/ssl-redirect: "true"
service.beta.kubernetes.io/do-loadbalancer-internal: "true" ingress.kubernetes.io/ssl-redirect: "true"
service.beta.kubernetes.io/do-loadbalancer-network: "INTERNAL" ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/enable-access-log: "true" nginx.ingress.kubernetes.io/enable-access-log: "true"
spec: spec:
ingressClassName: nginx ingressClassName: nginx
rules: rules:
- host: pf8-dev.articulacion.com.co - host: pf-dev.articulacion.com.co
http: http:
paths: paths:
- pathType: Prefix - pathType: Prefix
@@ -24,5 +25,5 @@ spec:
number: 80 number: 80
tls: tls:
- hosts: - hosts:
- pf8-dev.articulacion.com.co - pf-dev.articulacion.com.co
secretName: dev-panel-ft-sc secretName: dev-panel-ft-sc

View File

@@ -1,4 +1,4 @@
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: prod-mind-sos-ns name: dev-websocket-ns

View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: websocket-gitea-img
namespace: dev-websocket-ns
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLmFydGljdWxhY2lvbi5jb20uY28iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQGFydGljdWxhY2lvbi5jb20uY28iLAogICAgICAgICAgICAiYXV0aCI6ICJaMmwwWldGZmNIVnNiR1Z5T2s1R2RtVkdNelJIUWxkYVUyRlZkakpMVjFSWmFYYzlQUT09IgogICAgICAgIH0KICAgIH0KfQo=

View File

@@ -0,0 +1,30 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: dev-websocket-dp
namespace: dev-websocket-ns
spec:
replicas: 1
selector:
matchLabels:
app: dev-websocket-ap
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: dev-websocket-ap
spec:
containers:
- name: dev-websocket-pd
image: gitea.articulacion.com.co/panel/websocket:dev
imagePullPolicy: Always
resources:
requests:
memory: "500Mi"
cpu: "250m"
limits:
memory: "500Mi"
cpu: "250m"
imagePullSecrets:
- name: websocket-gitea-img

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: dev-websocket-sr
namespace: dev-websocket-ns
spec:
ports:
- name: http
protocol: TCP
port: 80
targetPort: 3000
selector:
app: dev-websocket-ap
type: ClusterIP

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,29 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dev-websocket-ig
namespace: dev-websocket-ns
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/enable-access-log: "true"
spec:
ingressClassName: nginx
rules:
- host: ws-dev.articulacion.com.co
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: dev-websocket-sr
port:
number: 80
tls:
- hosts:
- ws-dev.articulacion.com.co
secretName: dev-websocket-sc

View File

@@ -5,4 +5,4 @@ metadata:
namespace: dev-workers-ns namespace: dev-workers-ns
type: kubernetes.io/dockerconfigjson type: kubernetes.io/dockerconfigjson
data: data:
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL3JlZ2lzdHJ5LmdpdGxhYi5jb20iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJrdWJlLXB1bGxlciIsCiAgICAgICAgICAgICJwYXNzd29yZCI6ICJnbGR0LUtzdWlXaGYzejRxQlN5eG5NWEM4IiwKICAgICAgICAgICAgImVtYWlsIjogImpvcmdlLnNhbmNoZXpAYXJ0aWN1bGFjaW9uLmNvbS5jbyIsCiAgICAgICAgICAgICJhdXRoIjogImEzVmlaUzF3ZFd4c1pYSTZaMnhrZEMxTGMzVnBWMmhtTTNvMGNVSlRlWGh1VFZoRE9BPT0iCiAgICAgICAgfQogICAgfQp9Cg== .dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLmFydGljdWxhY2lvbi5jb20uY28iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQGFydGljdWxhY2lvbi5jb20uY28iLAogICAgICAgICAgICAiYXV0aCI6ICJaMmwwWldGZmNIVnNiR1Z5T2s1R2RtVkdNelJIUWxkYVUyRlZkakpMVjFSWmFYYzlQUT09IgogICAgICAgIH0KICAgIH0KfQo=

View File

@@ -17,7 +17,7 @@ spec:
spec: spec:
containers: containers:
- name: dev-workers-pd - name: dev-workers-pd
image: registry.gitlab.com/articulacion/workers:dev image: gitea.articulacion.com.co/panel/workers:dev
imagePullPolicy: Always imagePullPolicy: Always
resources: resources:
requests: requests:

View File

@@ -0,0 +1,10 @@
{
"auths": {
"https://gitea.articulacion.com.co": {
"username": "gitea_puller",
"password": "NFveF34GBWZSaUv2KWTYiw==",
"email": "gitea@articulacion.com.co",
"auth": "Z2l0ZWFfcHVsbGVyOk5GdmVGMzRHQldaU2FVdjJLV1RZaXc9PQ=="
}
}
}

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: prod-panel-bk-ns

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: Secret
metadata:
name: panel-gitea-img
namespace: prod-panel-bk-ns
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLmFydGljdWxhY2lvbi5jb20uY28iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQGFydGljdWxhY2lvbi5jb20uY28iLAogICAgICAgICAgICAiYXV0aCI6ICJaMmwwWldGZmNIVnNiR1Z5T2s1R2RtVkdNelJIUWxkYVUyRlZkakpMVjFSWmFYYzlQUT09IgogICAgICAgIH0KICAgIH0KfQo=

View File

@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: prod-panel-bk-dp
namespace: prod-panel-bk-ns
spec:
replicas: 2
selector:
matchLabels:
app: prod-panel-bk-ap
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: prod-panel-bk-ap
spec:
containers:
- name: prod-panel-bk-pd
image: gitea.articulacion.com.co/panel/back:latest
imagePullPolicy: Always
resources:
requests:
memory: "2Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "500m"
ports:
- name: http
containerPort: 8000
protocol: TCP
imagePullSecrets:
- name: panel-gitea-img

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: prod-panel-bk-sr
namespace: prod-panel-bk-ns
spec:
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8000
selector:
app: prod-panel-bk-ap
type: ClusterIP

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,29 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prod-panel-bk-ig
namespace: prod-panel-bk-ns
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/client-max-body-size: "100M"
spec:
ingressClassName: nginx
rules:
- host: pb.articulacion.com.co
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: prod-panel-bk-sr
port:
number: 80
tls:
- hosts:
- pb.articulacion.com.co
secretName: prod-panel-bk-sc

View File

@@ -1,25 +1,25 @@
apiVersion: autoscaling/v2 apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: prod-mind-sos-hpa name: prod-panel-bk-hpa
namespace: prod-mind-sos-ns namespace: prod-panel-bk-ns
spec: spec:
scaleTargetRef: scaleTargetRef:
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
name: prod-mind-sos-dp name: prod-panel-bk-dp
minReplicas: 1 minReplicas: 2
maxReplicas: 10 maxReplicas: 5
metrics: metrics:
- type: Resource - type: Resource
resource: resource:
name: cpu name: cpu
target: target:
type: Utilization type: Utilization
averageUtilization: 90 averageUtilization: 70
- type: Resource - type: Resource
resource: resource:
name: memory name: memory
target: target:
type: Utilization type: Utilization
averageUtilization: 90 averageUtilization: 70

View File

@@ -1,8 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: mind-sos-gitea-img
namespace: prod-mind-sos-ns
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLnRhcnMudG9vbHMiOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQHRhcnMuZGV2IiwKICAgICAgICAgICAgImF1dGgiOiAiWjJsMFpXRmZjSFZzYkdWeU9rNUdkbVZHTXpSSFFsZGFVMkZWZGpKTFYxUlphWGM5UFE9PSIKICAgICAgICB9CiAgICB9Cn0K

View File

@@ -1,32 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: prod-redis-sos-dp
namespace: prod-mind-sos-ns
spec:
replicas: 1
selector:
matchLabels:
app: prod-redis-sos-ap
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: prod-redis-sos-ap
spec:
containers:
- name: prod-redis-sos-pd
image: redis:latest
imagePullPolicy: Always
resources:
requests:
memory: "100Mi"
cpu: "50m"
limits:
memory: "100Mi"
cpu: "50m"
ports:
- name: redis
containerPort: 6379
protocol: TCP

View File

@@ -1,15 +0,0 @@
# prod-redis-sos-sr.prod-mind-sos-ns.svc.cluster.local
apiVersion: v1
kind: Service
metadata:
name: prod-redis-sos-sr
namespace: prod-mind-sos-ns
spec:
ports:
- name: http
protocol: TCP
port: 6379
targetPort: 6379
selector:
app: prod-redis-sos-ap
type: ClusterIP

View File

@@ -1,25 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prod-mind-sos-ig
namespace: prod-mind-sos-ns
annotations:
service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
service.beta.kubernetes.io/do-loadbalancer-internal: "true"
service.beta.kubernetes.io/do-loadbalancer-network: "INTERNAL"
nginx.ingress.kubernetes.io/enable-access-log: "true"
spec:
ingressClassName: nginx
rules:
- host: sos.bop.local
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: prod-mind-sos-sr
port:
number: 80

View File

@@ -0,0 +1,10 @@
{
"auths": {
"https://gitea.articulacion.com.co": {
"username": "gitea_puller",
"password": "NFveF34GBWZSaUv2KWTYiw==",
"email": "gitea@articulacion.com.co",
"auth": "Z2l0ZWFfcHVsbGVyOk5GdmVGMzRHQldaU2FVdjJLV1RZaXc9PQ=="
}
}
}

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: prod-panel-ft-ns

View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: panel-gitea-img
namespace: prod-panel-ft-ns
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLmFydGljdWxhY2lvbi5jb20uY28iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQGFydGljdWxhY2lvbi5jb20uY28iLAogICAgICAgICAgICAiYXV0aCI6ICJaMmwwWldGZmNIVnNiR1Z5T2s1R2RtVkdNelJIUWxkYVUyRlZkakpMVjFSWmFYYzlQUT09IgogICAgICAgIH0KICAgIH0KfQo=

View File

@@ -1,23 +1,23 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: prod-mind-sos-dp name: prod-panel-ft-dp
namespace: prod-mind-sos-ns namespace: prod-panel-ft-ns
spec: spec:
replicas: 1 replicas: 2
selector: selector:
matchLabels: matchLabels:
app: prod-mind-sos-ap app: prod-panel-ft-ap
strategy: strategy:
type: RollingUpdate type: RollingUpdate
template: template:
metadata: metadata:
labels: labels:
app: prod-mind-sos-ap app: prod-panel-ft-ap
spec: spec:
containers: containers:
- name: prod-mind-sos-pd - name: prod-panel-ft-pd
image: gitea.tars.tools/mind/help_center:latest image: gitea.articulacion.com.co/panel/front:latest
imagePullPolicy: Always imagePullPolicy: Always
resources: resources:
requests: requests:
@@ -31,4 +31,4 @@ spec:
containerPort: 80 containerPort: 80
protocol: TCP protocol: TCP
imagePullSecrets: imagePullSecrets:
- name: mind-sos-gitea-img - name: panel-gitea-img

View File

@@ -1,8 +1,8 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: prod-mind-sos-sr name: prod-panel-ft-sr
namespace: prod-mind-sos-ns namespace: prod-panel-ft-ns
spec: spec:
ports: ports:
- name: http - name: http
@@ -10,5 +10,5 @@ spec:
port: 80 port: 80
targetPort: 80 targetPort: 80
selector: selector:
app: prod-mind-sos-ap app: prod-panel-ft-ap
type: ClusterIP type: ClusterIP

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,29 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prod-panel-ft-ig
namespace: prod-panel-ft-ns
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/enable-access-log: "true"
spec:
ingressClassName: nginx
rules:
- host: pf.articulacion.com.co
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: prod-panel-ft-sr
port:
number: 80
tls:
- hosts:
- pf.articulacion.com.co
secretName: prod-panel-ft-sc

View File

@@ -0,0 +1,25 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: prod-panel-ft-hpa
namespace: prod-panel-ft-ns
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: prod-panel-ft-dp
minReplicas: 2
maxReplicas: 5
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: 70

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: prod-websocket-ns

View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: websocket-gitea-img
namespace: prod-websocket-ns
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLmFydGljdWxhY2lvbi5jb20uY28iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQGFydGljdWxhY2lvbi5jb20uY28iLAogICAgICAgICAgICAiYXV0aCI6ICJaMmwwWldGZmNIVnNiR1Z5T2s1R2RtVkdNelJIUWxkYVUyRlZkakpMVjFSWmFYYzlQUT09IgogICAgICAgIH0KICAgIH0KfQo=

View File

@@ -0,0 +1,30 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: prod-websocket-dp
namespace: prod-websocket-ns
spec:
replicas: 1
selector:
matchLabels:
app: prod-websocket-ap
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: prod-websocket-ap
spec:
containers:
- name: prod-websocket-pd
image: gitea.articulacion.com.co/panel/websocket:latest
imagePullPolicy: Always
resources:
requests:
memory: "1Gi"
cpu: "250m"
limits:
memory: "1Gi"
cpu: "250m"
imagePullSecrets:
- name: websocket-gitea-img

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: prod-websocket-sr
namespace: prod-websocket-ns
spec:
ports:
- name: http
protocol: TCP
port: 80
targetPort: 3000
selector:
app: prod-websocket-ap
type: ClusterIP

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,29 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prod-websocket-ig
namespace: prod-websocket-ns
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/enable-access-log: "true"
spec:
ingressClassName: nginx
rules:
- host: ws.articulacion.com.co
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: prod-websocket-sr
port:
number: 80
tls:
- hosts:
- ws.articulacion.com.co
secretName: prod-websocket-sc

View File

@@ -5,4 +5,4 @@ metadata:
namespace: prod-workers-ns namespace: prod-workers-ns
type: kubernetes.io/dockerconfigjson type: kubernetes.io/dockerconfigjson
data: data:
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL3JlZ2lzdHJ5LmdpdGxhYi5jb20iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJrdWJlLXB1bGxlciIsCiAgICAgICAgICAgICJwYXNzd29yZCI6ICJnbGR0LUtzdWlXaGYzejRxQlN5eG5NWEM4IiwKICAgICAgICAgICAgImVtYWlsIjogImpvcmdlLnNhbmNoZXpAYXJ0aWN1bGFjaW9uLmNvbS5jbyIsCiAgICAgICAgICAgICJhdXRoIjogImEzVmlaUzF3ZFd4c1pYSTZaMnhrZEMxTGMzVnBWMmhtTTNvMGNVSlRlWGh1VFZoRE9BPT0iCiAgICAgICAgfQogICAgfQp9Cg== .dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLmFydGljdWxhY2lvbi5jb20uY28iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQGFydGljdWxhY2lvbi5jb20uY28iLAogICAgICAgICAgICAiYXV0aCI6ICJaMmwwWldGZmNIVnNiR1Z5T2s1R2RtVkdNelJIUWxkYVUyRlZkakpMVjFSWmFYYzlQUT09IgogICAgICAgIH0KICAgIH0KfQo=

View File

@@ -17,14 +17,13 @@ spec:
spec: spec:
containers: containers:
- name: prod-workers-pd - name: prod-workers-pd
image: registry.gitlab.com/articulacion/workers:latest image: gitea.articulacion.com.co/panel/workers:latest
imagePullPolicy: Always
resources: resources:
requests: requests:
memory: "100Mi" memory: "2Gi"
cpu: "100m" cpu: "500m"
limits: limits:
memory: "150Gi" memory: "2Gi"
cpu: "150m" cpu: "500m"
imagePullSecrets: imagePullSecrets:
- name: workers-gitlab-img - name: workers-gitlab-img