8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
21 lines
No EOL
354 B
YAML
21 lines
No EOL
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 |