builds
This commit is contained in:
21
kubernetes/deployment.yaml
Normal file
21
kubernetes/deployment.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: gateway
|
||||
labels:
|
||||
app: gateway
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: gateway
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: gateway
|
||||
spec:
|
||||
containers:
|
||||
- name: gateway
|
||||
image: gcr.io/st-mall/gateway
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
14
kubernetes/service.yaml
Normal file
14
kubernetes/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gateway
|
||||
labels:
|
||||
app: gateway
|
||||
spec:
|
||||
ports:
|
||||
- port: 8080
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: gateway
|
||||
type:
|
||||
LoadBalancer
|
||||
Reference in New Issue
Block a user