ea1a1dee0d
This patchset implements yamllint test to all *.yml files. Also fixes syntax errors to make jobs to pass. Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
29 lines
550 B
YAML
29 lines
550 B
YAML
---
|
|
apiVersion: v1beta3
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: redis
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
name: redis
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: redis
|
|
spec:
|
|
containers:
|
|
- name: redis
|
|
image: kubernetes/redis:v1
|
|
ports:
|
|
- containerPort: 6379
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
volumeMounts:
|
|
- mountPath: /redis-master-data
|
|
name: data
|
|
volumes:
|
|
- name: data
|
|
emptyDir: {}
|