1
0
Fork 0
mirror of https://gitlab.com/shouptech/flux.git synced 2026-02-03 14:49:44 +00:00

Move echoserver to own folder

This commit is contained in:
Emma 2020-02-02 19:16:05 -07:00
parent c4727f821a
commit 027759ecf6
No known key found for this signature in database
GPG key ID: 68434BFE85360755
2 changed files with 20 additions and 21 deletions

View file

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: echoserver
spec:
replicas: 1
selector:
matchLabels:
app: echoserver
template:
metadata:
labels:
app: echoserver
spec:
containers:
- image: k8s.gcr.io/echoserver:1.4
imagePullPolicy: IfNotPresent
name: echoserver
ports:
- containerPort: 8080

View file

@ -1,24 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: echoserver
spec:
replicas: 1
selector:
matchLabels:
app: echoserver
template:
metadata:
labels:
app: echoserver
spec:
containers:
- image: k8s.gcr.io/echoserver:1.4
imagePullPolicy: IfNotPresent
name: echoserver
ports:
- containerPort: 8080
---
kind: Service
apiVersion: v1
metadata: