8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
33 lines
519 B
YAML
33 lines
519 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: mock
|
|
labels:
|
|
app: mock
|
|
spec:
|
|
ports:
|
|
- port: 99
|
|
protocol: TCP
|
|
targetPort: 9949
|
|
selector:
|
|
app: mock
|
|
---
|
|
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: mock
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
app: mock
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: mock
|
|
spec:
|
|
containers:
|
|
- name: mock-container
|
|
image: gcr.io/google-containers/pause:2.0
|
|
ports:
|
|
- containerPort: 9949
|
|
protocol: TCP
|