v0.0.1-alpha

This commit is contained in:
2022-09-06 05:45:20 -03:00
parent 517951a0c7
commit 20c3ecbc74
23 changed files with 7155 additions and 37 deletions

View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
namespace: portfolio
name: frontend-config
data:
frontend-url: frontend-service
frontend-type: unsecure

41
frontend/frontend.yaml Normal file
View File

@@ -0,0 +1,41 @@
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: portfolio
name: frontend-deployment
labels:
app: frontend
spec:
replicas: 1
selector:
matchLabels:
app: frontend
template:
metadata:
labels:
app: frontend
spec:
containers:
- name: frontend
image: yoshiunfriendly/frontend-hideyoshi.com:latest
limits:
ports:
- containerPort: 5000
env:
- name: PORT
value: "5000"
---
apiVersion: v1
kind: Service
metadata:
namespace: portfolio
name: frontend-service
spec:
selector:
app: frontend
ports:
- port: 5000
protocol: TCP
targetPort: 5000
type: ClusterIP