kubernetes/docs/user-guide/horizontal-pod-autoscaling/rc-php-apache.yaml
Jerzy Szczepkowski 37ef5dee0b Horizontal pod autoscaling example moved to user guide.
Horizontal pod autoscaling example moved to user guide. Part of #15652.
2015-10-23 18:49:20 +02:00

24 lines
433 B
YAML

apiVersion: v1
kind: ReplicationController
metadata:
labels:
run: php-apache
name: php-apache
namespace: default
spec:
replicas: 1
selector:
run: php-apache
template:
metadata:
labels:
run: php-apache
spec:
containers:
- image: gcr.io/google_containers/hpa-example
name: php-apache
resources:
requests:
cpu: 200m
restartPolicy: Always