Add Google Cloud Platform Initial Seed Items

This commit is contained in:
Nicholas J. Parks
2017-04-22 21:31:37 -04:00
committed by Nanne Baars
parent fedd2b1be6
commit 70625ff5a2
3 changed files with 114 additions and 0 deletions

View File

@ -0,0 +1,37 @@
---
apiVersion: v1
kind: Service
metadata:
labels:
app: webgoatapp
name: webgoatsvc
namespace: webgoat
spec:
ports:
-
port: 8080
protocol: TCP
selector:
app: webgoatapp
type: LoadBalancer
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: webgoat-dpl
namespace: webgoat
spec:
replicas: 1
template:
metadata:
name: webgoatapp
labels:
app: webgoatapp
spec:
containers:
-
image: webgoat/webgoat-8.0
name: webgoat
ports:
-
containerPort: 8080