---
apiVersion: "v1"
kind: "Template"
labels: {}
metadata:
annotations:
fabric8.elasticsearch-v1/summary: "[elasticsearch](http://elasticsearch.com/)\
\ provides distributed RESTful search and analytics"
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##Running Elasticsearch\
\ on SSL\n\nBy default Elasticsearch can be used without authentication. When\
\ the 'ssl' profile\nis used the maven will build creates a selfsigned certificate\
\ which is added to\na keystore, and Searchguard is installed by the `docker-entrypoint.sh`\
\ start script to provide a way to either verify a client certificate (turned\
\ off: `enforce_clientauth: false`), or to use Basic Authentication. Run\n\n\
mvn -Pssl -Pf8-local-deploy\n\nto run Elasticsearch with Basic Auth over HTTPS.\
\ The build will create a `elasticsearch-v1-keystore` secret which contains\
\ the keystore with the selfsigned certificate. The credentials used by Basic\
\ Auth are stored in the `src/main/resources/elasticsearch.yml` file, and can\n\
be update in the `docker-entrypoint.sh`.\n\nsearchguard.authentication.settingsdb.user.admin:\
\ supersecret\nsearchguard.authentication.authorization.settingsdb.roles.admin:\
\ [\"admin\"]\n\n\n"
fabric8.elasticsearch-v1/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/elasticsearch-v1/master/elasticsearch/src/main/fabric8/icon.png"
labels: {}
name: "elasticsearch-v1"
objects:
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
api.service.kubernetes.io/protocol: "REST"
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/elasticsearch-v1/master/elasticsearch/src/main/fabric8/icon.png"
labels:
provider: "fabric8"
project: "elasticsearch-v1"
version: "2.2.144"
group: "io.fabric8.ipaas.apps"
name: "elasticsearch-v1"
spec:
deprecatedPublicIPs: []
externalIPs: []
ports:
- port: 9200
protocol: "TCP"
targetPort: 9200
selector:
project: "elasticsearch-v1"
provider: "fabric8"
group: "io.fabric8.ipaas.apps"
type: "LoadBalancer"
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
api.service.kubernetes.io/protocol: "REST"
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/elasticsearch-v1/master/elasticsearch/src/main/fabric8/icon.png"
labels:
provider: "fabric8"
project: "elasticsearch-v1"
version: "2.2.144"
group: "io.fabric8.ipaas.apps"
name: "elasticsearch-v1-masters"
spec:
clusterIP: "None"
deprecatedPublicIPs: []
externalIPs: []
ports:
- port: 9300
protocol: "TCP"
targetPort: 9300
selector:
project: "elasticsearch-v1"
provider: "fabric8"
group: "io.fabric8.ipaas.apps"
type: "LoadBalancer"
- apiVersion: "v1"
kind: "ReplicationController"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/elasticsearch-v1/master/elasticsearch/src/main/fabric8/icon.png"
fabric8.io/git-branch: "release-v2.2.144"
fabric8.io/git-commit: "a8401226c813d082c288c599d4aa985830dcd520"
fabric8.io/build-url: "http://jenkins.ux.fabric8.io/job/oss-parent/9"
fabric8.io/build-id: "9"
labels:
provider: "fabric8"
project: "elasticsearch-v1"
version: "2.2.144"
group: "io.fabric8.ipaas.apps"
name: "elasticsearch-v1"
spec:
replicas: 1
selector:
provider: "fabric8"
project: "elasticsearch-v1"
version: "2.2.144"
group: "io.fabric8.ipaas.apps"
template:
metadata:
annotations: {}
labels:
provider: "fabric8"
project: "elasticsearch-v1"
version: "2.2.144"
group: "io.fabric8.ipaas.apps"
spec:
containers:
- args: []
command: []
env:
- name: "SERVICE_DNS"
value: "elasticsearch-v1-masters"
- name: "KUBERNETES_NAMESPACE"
valueFrom:
fieldRef:
fieldPath: "metadata.namespace"
image: "fabric8/elasticsearch-v1:2.2.144"
livenessProbe:
initialDelaySeconds: 30
tcpSocket:
port: 9300
name: "elasticsearch-v1"
ports:
- containerPort: 9200
name: "http"
- containerPort: 9300
name: "transport"
readinessProbe:
exec:
command:
- "/probe.sh"
- "http"
initialDelaySeconds: 30
resources:
limits:
cpu: "0"
memory: "0"
requests:
cpu: "0"
memory: "0"
securityContext: {}
volumeMounts:
- mountPath: "/usr/share/elasticsearch/data"
name: "elasticsearch-data"
readOnly: false
- args: []
command: []
env: []
image: "fabric8/elasticsearch-logstash-template:2.2.144"
name: "logstash-template"
ports: []
volumeMounts: []
imagePullSecrets: []
nodeSelector: {}
volumes:
- emptyDir:
medium: ""
name: "elasticsearch-data"
parameters: []