mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
21 lines
354 B
YAML
21 lines
354 B
YAML
|
apiVersion: v1
|
||
|
kind: ReplicationController
|
||
|
metadata:
|
||
|
labels:
|
||
|
name: web
|
||
|
name: web-controller
|
||
|
spec:
|
||
|
replicas: 2
|
||
|
selector:
|
||
|
name: web
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
name: web
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: <YOUR-CONTAINER>
|
||
|
name: web
|
||
|
ports:
|
||
|
- containerPort: 3000
|
||
|
name: http-server
|