---
apiVersion: "v1"
kind: "Template"
labels: {}
metadata:
annotations:
description: "Elasticsearch is a search server based on Lucene. It provides a\
\ distributed, multitenant-capable full-text search engine with a RESTful web\
\ interface and schema-free JSON documents. Elasticsearch is developed in Java\
\ and is released as open source under the terms of the Apache License.\n\n\
More details on the Elasticsearch wikipedia page or the Elasticsearch home page.\n.\n"
fabric8.elasticsearch/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/elasticsearch/src/main/fabric8/icon.png"
fabric8.elasticsearch/summary: "[elasticsearch](http://elasticsearch.com/) provides\
\ distributed RESTful search and analytics"
labels: {}
name: "elasticsearch"
objects:
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/elasticsearch/src/main/fabric8/icon.png"
labels:
project: "elasticsearch"
provider: "fabric8"
version: "2.2.169"
group: "io.fabric8.devops.apps"
name: "elasticsearch"
spec:
deprecatedPublicIPs: []
externalIPs: []
ports:
- port: 9200
protocol: "TCP"
targetPort: 9200
selector:
project: "elasticsearch"
provider: "fabric8"
group: "io.fabric8.devops.apps"
type: "LoadBalancer"
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/elasticsearch/src/main/fabric8/icon.png"
labels:
project: "elasticsearch"
provider: "fabric8"
version: "2.2.169"
group: "io.fabric8.devops.apps"
name: "elasticsearch-masters"
spec:
clusterIP: "None"
deprecatedPublicIPs: []
externalIPs: []
ports:
- port: 9300
protocol: "TCP"
targetPort: 9300
selector:
project: "elasticsearch"
provider: "fabric8"
group: "io.fabric8.devops.apps"
type: "LoadBalancer"
- apiVersion: "v1"
kind: "ReplicationController"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/elasticsearch/src/main/fabric8/icon.png"
fabric8.io/git-commit: "ad3dcbd57dc639b4eb06302b74cddc93c83803ff"
fabric8.io/git-branch: "release-v2.2.169"
fabric8.io/build-id: "2"
fabric8.io/build-url: "http://jenkins.cd.beast.fabric8.io/job/Single-fabric8-devops/2/"
labels:
project: "elasticsearch"
provider: "fabric8"
version: "2.2.169"
group: "io.fabric8.devops.apps"
name: "elasticsearch"
spec:
replicas: 1
selector:
project: "elasticsearch"
provider: "fabric8"
version: "2.2.169"
group: "io.fabric8.devops.apps"
template:
metadata:
annotations: {}
labels:
project: "elasticsearch"
provider: "fabric8"
version: "2.2.169"
group: "io.fabric8.devops.apps"
spec:
containers:
- args: []
command: []
env:
- name: "SERVICE"
value: "elasticsearch-masters"
- name: "KUBERNETES_NAMESPACE"
valueFrom:
fieldRef:
fieldPath: "metadata.namespace"
image: "fabric8/elasticsearch-k8s:2.2.1"
livenessProbe:
initialDelaySeconds: 60
tcpSocket:
port: 9300
name: "elasticsearch"
ports:
- containerPort: 9200
name: "http"
- containerPort: 9300
name: "transport"
readinessProbe:
httpGet:
httpHeaders: []
path: "/_template/logstash"
port: 9200
initialDelaySeconds: 5
securityContext: {}
volumeMounts:
- mountPath: "/usr/share/elasticsearch/data"
name: "elasticsearch-data"
readOnly: false
- args: []
command: []
env: []
image: "fabric8/elasticsearch-logstash-template:2.2.169"
name: "logstash-template"
ports: []
volumeMounts: []
imagePullSecrets: []
nodeSelector: {}
volumes:
- emptyDir:
medium: ""
name: "elasticsearch-data"
parameters: []