mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
36 lines
565 B
YAML
36 lines
565 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: mock
|
||
|
labels:
|
||
|
app: mock
|
||
|
status: replaced
|
||
|
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
|
||
|
status: replaced
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: mock-container
|
||
|
image: gcr.io/google-containers/pause:2.0
|
||
|
ports:
|
||
|
- containerPort: 9949
|
||
|
protocol: TCP
|