++
This commit is contained in:
parent
3f6666aa66
commit
79f24d2291
33
apps/stamp-verification/base/deployment.yaml
Normal file
33
apps/stamp-verification/base/deployment.yaml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: frontend
|
||||||
|
namespace: stamp-verification
|
||||||
|
labels:
|
||||||
|
app: frontend
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: frontend
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: frontend
|
||||||
|
version: stable
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: frontend
|
||||||
|
image: cr.yandex/crp3ccidau046kdj8g9q/stamp-verification-frontend:e11a8f90be462fc325ff99c8c35a8a418815c27b
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 100Mi
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: regcred
|
||||||
8
apps/stamp-verification/base/kustomization.yaml
Normal file
8
apps/stamp-verification/base/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: remarks
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- deployment.yaml
|
||||||
|
- service.yaml
|
||||||
7
apps/stamp-verification/base/namespace.yaml
Normal file
7
apps/stamp-verification/base/namespace.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: stamp-verification
|
||||||
|
labels:
|
||||||
|
istio-injection: enabled
|
||||||
15
apps/stamp-verification/base/service.yaml
Normal file
15
apps/stamp-verification/base/service.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: frontend-service
|
||||||
|
namespace: stamp-verification
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
selector:
|
||||||
|
app: frontend
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
10
apps/stamp-verification/yc-k8s-test/kustomization.yaml
Normal file
10
apps/stamp-verification/yc-k8s-test/kustomization.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
|
patches: []
|
||||||
|
# - path: replicas.yaml
|
||||||
|
# target:
|
||||||
|
# kind: Deployment
|
||||||
|
# name: frontend
|
||||||
8
apps/stamp-verification/yc-k8s-test/replicas.yaml
Normal file
8
apps/stamp-verification/yc-k8s-test/replicas.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: frontend
|
||||||
|
namespace: stamp-verification
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
@ -24,4 +24,5 @@ resources:
|
|||||||
- ../../apps/remarks/yc-k8s-test
|
- ../../apps/remarks/yc-k8s-test
|
||||||
- ../../apps/notes/yc-k8s-test
|
- ../../apps/notes/yc-k8s-test
|
||||||
- ../../apps/pm/yc-k8s-test
|
- ../../apps/pm/yc-k8s-test
|
||||||
- ../../apps/faas/yc-k8s-test
|
- ../../apps/faas/yc-k8s-test
|
||||||
|
- ../../apps/stamp-verification/yc-k8s-test
|
||||||
Loading…
Reference in New Issue
Block a user