Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
84cb48be
Commit
84cb48be
authored
Apr 24, 2015
by
Nikhil Jindal
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7246 from satnam6502/es
Convert Elasticsearch logging to v1beta3 and de-salt
parents
dca49ba5
c9b9e765
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
49 deletions
+45
-49
es-controller.yaml
cluster/addons/fluentd-elasticsearch/es-controller.yaml
+33
-0
es-controller.yaml.in
cluster/addons/fluentd-elasticsearch/es-controller.yaml.in
+0
-33
es-service.yaml
cluster/addons/fluentd-elasticsearch/es-service.yaml
+12
-8
init.sls
cluster/saltbase/salt/kube-addons/init.sls
+0
-8
No files found.
cluster/addons/fluentd-elasticsearch/es-controller.yaml
0 → 100644
View file @
84cb48be
apiVersion
:
v1beta3
kind
:
ReplicationController
metadata
:
labels
:
name
:
elasticsearch-logging
kubernetes.io/cluster-service
:
"
true"
name
:
elasticsearch-logging
spec
:
replicas
:
1
selector
:
name
:
elasticsearch-logging
template
:
metadata
:
labels
:
name
:
elasticsearch-logging
kubernetes.io/cluster-service
:
"
true"
spec
:
containers
:
-
image
:
gcr.io/google_containers/elasticsearch:1.0
name
:
elasticsearch-logging
ports
:
-
containerPort
:
9200
name
:
es-port
protocol
:
TCP
-
containerPort
:
9300
name
:
es-transport-port
protocol
:
TCP
volumeMounts
:
-
mountPath
:
/data
name
:
es-persistent-storage
volumes
:
-
name
:
es-persistent-storage
emptyDir
:
{}
cluster/addons/fluentd-elasticsearch/es-controller.yaml.in
deleted
100644 → 0
View file @
dca49ba5
apiVersion: v1beta1
kind: ReplicationController
id: elasticsearch-logging-controller
desiredState:
replicas: {{ pillar['elasticsearch_replicas'] }}
replicaSelector:
name: elasticsearch-logging
podTemplate:
desiredState:
manifest:
version: v1beta1
id: es-log-ingestion
containers:
- name: elasticsearch-logging
image: gcr.io/google_containers/elasticsearch:1.0
ports:
- name: es-port
containerPort: 9200
- name: es-transport-port
containerPort: 9300
volumeMounts:
- name: es-persistent-storage
mountPath: /data
volumes:
- name: es-persistent-storage
source:
emptyDir: {}
labels:
name: elasticsearch-logging
kubernetes.io/cluster-service: "true"
labels:
name: elasticsearch-logging
kubernetes.io/cluster-service: "true"
cluster/addons/fluentd-elasticsearch/es-service.yaml
View file @
84cb48be
apiVersion
:
v1beta
1
apiVersion
:
v1beta
3
kind
:
Service
id
:
elasticsearch-logging
port
:
9200
containerPort
:
9200
labels
:
name
:
elasticsearch-logging
kubernetes.io/cluster-service
:
"
true"
selector
:
metadata
:
labels
:
name
:
elasticsearch-logging
kubernetes.io/cluster-service
:
"
true"
name
:
elasticsearch-logging
spec
:
ports
:
-
port
:
9200
protocol
:
TCP
targetPort
:
es-port
selector
:
name
:
elasticsearch-logging
cluster/saltbase/salt/kube-addons/init.sls
View file @
84cb48be
...
...
@@ -38,14 +38,6 @@
- group: root
- dir_mode: 755
- file_mode: 644
/etc/kubernetes/addons/fluentd-elasticsearch/es-controller.yaml:
file.managed:
- source: salt://kube-addons/fluentd-elasticsearch/es-controller.yaml.in
- template: jinja
- group: root
- dir_mode: 755
- makedirs: True
{% endif %}
/etc/kubernetes/kube-addons.sh:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment