This commit is contained in:
ivan 2026-04-24 13:02:20 +05:00
parent 659c711e9e
commit a654f165a5
4 changed files with 50 additions and 1 deletions

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: frontend-service
name: frontend-svc
namespace: django
spec:
type: ClusterIP

View File

@ -11,3 +11,5 @@ resources:
- backend-service.yaml
- frontend-service.yaml
- django-configmap.yaml
- srx-admin-deployment.yaml
- srx-admin-service.yaml

View File

@ -0,0 +1,32 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: srx-admin-frontend
namespace: django
labels:
app: srx-admin-frontend
spec:
replicas: 1
selector:
matchLabels:
app: srx-admin-frontend
template:
metadata:
labels:
app: srx-admin-frontend
spec:
containers:
- name: srx-admin-frontend
image: cr.yandex/crp3ccidau046kdj8g9q/srx-admin:prod_3b9cb250
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 80
protocol: TCP
resources:
requests:
cpu: 100m
memory: 100Mi
imagePullSecrets:
- name: regcred

View File

@ -0,0 +1,15 @@
---
apiVersion: v1
kind: Service
metadata:
name: srx-admin-svc
namespace: django
spec:
type: ClusterIP
selector:
app: srx-admin
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP