initial commit
This commit is contained in:
56
dev/tekton/examples/example-bank/deployment.yaml
Executable file
56
dev/tekton/examples/example-bank/deployment.yaml
Executable file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mobile-simulator-service
|
||||
labels:
|
||||
app: mobile-simulator
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: mobile-simulator
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mobile-simulator-deployment
|
||||
labels:
|
||||
app: mobile-simulator
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mobile-simulator
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: mobile-simulator
|
||||
spec:
|
||||
containers:
|
||||
- image: ykoyfman/mobile-simulator:css-fix
|
||||
imagePullPolicy: Always
|
||||
name: mobile-simulator
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: mobile-simulator-secrets
|
||||
env:
|
||||
- name: PORT
|
||||
value: '8080'
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Route
|
||||
metadata:
|
||||
name: mobile-simulator-service
|
||||
spec:
|
||||
to:
|
||||
kind: Service
|
||||
name: mobile-simulator-service
|
||||
|
||||
Reference in New Issue
Block a user