Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (34 sloc) 603 Bytes
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: echo-server
spec:
replicas: 3
selector:
matchLabels:
app: echo-server
template:
metadata:
labels:
app: echo-server
spec:
containers:
- name: echo-server
image: codersociety/echo-server:latest
imagePullPolicy: Always
name: echo-server
ports:
- name: http
containerPort: 3000
---
apiVersion: v1
kind: Service
metadata:
name: echo-server
spec:
ports:
- protocol: TCP
port: 80
targetPort: http
selector:
app: echo-server
You can’t perform that action at this time.