35 lines
775 B
YAML
35 lines
775 B
YAML
|
apiVersion: v1
|
||
|
kind: ReplicationController
|
||
|
metadata:
|
||
|
name: kibana-logging-v1
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
k8s-app: kibana-logging
|
||
|
version: v1
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
k8s-app: kibana-logging
|
||
|
version: v1
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
k8s-app: kibana-logging
|
||
|
version: v1
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: kibana-logging
|
||
|
image: gcr.io/google_containers/kibana:1.3
|
||
|
resources:
|
||
|
limits:
|
||
|
cpu: 100m
|
||
|
env:
|
||
|
- name: "ELASTICSEARCH_URL"
|
||
|
value: "http://elasticsearch-logging:9200"
|
||
|
ports:
|
||
|
- containerPort: 5601
|
||
|
name: ui
|
||
|
protocol: TCP
|