Compare commits

...

2 Commits

Author SHA1 Message Date
artem 1c608f5c33 Merge branch 'main' of ssh://gitea.webart-tech.ru:30022/webart/kuber-deploy 2024-04-25 21:27:00 +03:00
artem 41c0b830d1 frontend 2024-04-25 21:26:55 +03:00
1 changed files with 41 additions and 0 deletions

View File

@ -50,6 +50,47 @@ spec:
--- ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: cycle-frontend-deployment
namespace: cycle-dev
labels:
app: cycle-frontend
spec:
replicas: 1
selector:
matchLabels:
app: cycle-frontend
template:
metadata:
labels:
app: cycle-frontend
spec:
containers:
- name: cycle-frontend
image: gitea.webart-tech.ru/webart/strava-frontend:f4cebb4d0068059110c3607c1ebca2ed5e775874
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: cycle-frontend-service
namespace: cycle-dev
spec:
ports:
- port: 80
targetPort: 80
name: tcp
selector:
app: cycle-frontend
---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata: