19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 14 ■ Configuring Logging

template:

metadata:

labels:

k8s-app: kibana-logging

kubernetes.io/cluster-service: "true"

version: v1

spec:

containers:

-

env:

-

name: ELASTICSEARCH_URL

value: "http://10.2.15.2:9200"

image: "gcr.io/google_containers/kibana:1.3"

name: kibana-logging

ports:

-

containerPort: 5601

name: ui

protocol: TCP

resources:

limits:

cpu: "0.1"

requests:

cpu: "0.1"

The RC definition file is shown in the vi editor in Figure 14-21.

325

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!