Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
charts
Commits
8c7c7f8c
Unverified
Commit
8c7c7f8c
authored
Jun 26, 2018
by
GC
Committed by
GitHub
Jun 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added psp to the es server and fixed vm max_map_count setting (#16)
parent
510b197f
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
66 additions
and
8 deletions
+66
-8
.helmignore
charts/efk/v0.1.2/.helmignore
+0
-0
Chart.yaml
charts/efk/v0.1.2/Chart.yaml
+1
-1
README.md
charts/efk/v0.1.2/README.md
+0
-0
app-readme.md
charts/efk/v0.1.2/app-readme.md
+0
-0
Chart.yaml
charts/efk/v0.1.2/charts/elasticsearch/Chart.yaml
+0
-0
README.md
charts/efk/v0.1.2/charts/elasticsearch/README.md
+0
-0
_helpers.tpl
...ts/efk/v0.1.2/charts/elasticsearch/templates/_helpers.tpl
+0
-0
clusterrole.yaml
...fk/v0.1.2/charts/elasticsearch/templates/clusterrole.yaml
+8
-0
clusterrolebinding.yaml
....2/charts/elasticsearch/templates/clusterrolebinding.yaml
+0
-0
psp.yaml
charts/efk/v0.1.2/charts/elasticsearch/templates/psp.yaml
+46
-0
service-account.yaml
...0.1.2/charts/elasticsearch/templates/service-account.yaml
+0
-0
service.yaml
...ts/efk/v0.1.2/charts/elasticsearch/templates/service.yaml
+0
-0
statefulsets.yaml
...k/v0.1.2/charts/elasticsearch/templates/statefulsets.yaml
+4
-4
values.yaml
charts/efk/v0.1.2/charts/elasticsearch/values.yaml
+4
-2
Chart.yaml
charts/efk/v0.1.2/charts/fluent-bit/Chart.yaml
+0
-0
README.md
charts/efk/v0.1.2/charts/fluent-bit/README.md
+0
-0
NOTES.txt
charts/efk/v0.1.2/charts/fluent-bit/templates/NOTES.txt
+0
-0
_helpers.tpl
charts/efk/v0.1.2/charts/fluent-bit/templates/_helpers.tpl
+0
-0
cluster-role.yaml
.../efk/v0.1.2/charts/fluent-bit/templates/cluster-role.yaml
+0
-0
cluster-rolebinding.yaml
....1.2/charts/fluent-bit/templates/cluster-rolebinding.yaml
+0
-0
config.yaml
charts/efk/v0.1.2/charts/fluent-bit/templates/config.yaml
+0
-0
daemonset.yaml
charts/efk/v0.1.2/charts/fluent-bit/templates/daemonset.yaml
+0
-0
secret.yaml
charts/efk/v0.1.2/charts/fluent-bit/templates/secret.yaml
+0
-0
service.yaml
charts/efk/v0.1.2/charts/fluent-bit/templates/service.yaml
+0
-0
serviceaccount.yaml
...fk/v0.1.2/charts/fluent-bit/templates/serviceaccount.yaml
+0
-0
Chart.yaml
charts/efk/v0.1.2/charts/kibana/Chart.yaml
+0
-0
README.md
charts/efk/v0.1.2/charts/kibana/README.md
+0
-0
NOTES.txt
charts/efk/v0.1.2/charts/kibana/templates/NOTES.txt
+0
-0
_helpers.tpl
charts/efk/v0.1.2/charts/kibana/templates/_helpers.tpl
+0
-0
deployment.yaml
charts/efk/v0.1.2/charts/kibana/templates/deployment.yaml
+0
-0
ingress.yaml
charts/efk/v0.1.2/charts/kibana/templates/ingress.yaml
+0
-0
service.yaml
charts/efk/v0.1.2/charts/kibana/templates/service.yaml
+0
-0
questions.yml
charts/efk/v0.1.2/questions.yml
+0
-0
requirements.yaml
charts/efk/v0.1.2/requirements.yaml
+0
-0
NOTES.txt
charts/efk/v0.1.2/templates/NOTES.txt
+0
-0
_helpers.tpl
charts/efk/v0.1.2/templates/_helpers.tpl
+0
-0
kibana-config.yaml
charts/efk/v0.1.2/templates/kibana-config.yaml
+0
-0
values.yaml
charts/efk/v0.1.2/values.yaml
+3
-1
No files found.
charts/efk/v0.1.
1
/.helmignore
→
charts/efk/v0.1.
2
/.helmignore
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/Chart.yaml
→
charts/efk/v0.1.
2
/Chart.yaml
View file @
8c7c7f8c
apiVersion
:
v1
apiVersion
:
v1
description
:
EFK(Elasticsearch + FluentBit + Kibana)
description
:
EFK(Elasticsearch + FluentBit + Kibana)
name
:
efk
name
:
efk
version
:
0.1.
1
version
:
0.1.
2
icon
:
https://image.slidesharecdn.com/challengesinamicroservicesage-170505115849/95/challenges-in-a-microservices-age-monitoring-logging-and-tracing-on-red-hat-openshift-68-638.jpg
icon
:
https://image.slidesharecdn.com/challengesinamicroservicesage-170505115849/95/challenges-in-a-microservices-age-monitoring-logging-and-tracing-on-red-hat-openshift-68-638.jpg
sources
:
sources
:
-
https://www.elastic.co/products/elasticsearch
-
https://www.elastic.co/products/elasticsearch
...
...
charts/efk/v0.1.
1
/README.md
→
charts/efk/v0.1.
2
/README.md
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/app-readme.md
→
charts/efk/v0.1.
2
/app-readme.md
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/elasticsearch/Chart.yaml
→
charts/efk/v0.1.
2
/charts/elasticsearch/Chart.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/elasticsearch/README.md
→
charts/efk/v0.1.
2
/charts/elasticsearch/README.md
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/elasticsearch/templates/_helpers.tpl
→
charts/efk/v0.1.
2
/charts/elasticsearch/templates/_helpers.tpl
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/elasticsearch/templates/clusterrole.yaml
→
charts/efk/v0.1.
2
/charts/elasticsearch/templates/clusterrole.yaml
View file @
8c7c7f8c
...
@@ -25,4 +25,12 @@ rules:
...
@@ -25,4 +25,12 @@ rules:
-
statefulsets/status
-
statefulsets/status
verbs
:
verbs
:
-
get
-
get
-
apiGroups
:
-
extensions
resources
:
-
podsecuritypolicies
verbs
:
-
use
resourceNames
:
-
{{
template "elasticsearch.fullname" .
}}
{{
- end -
}}
{{
- end -
}}
charts/efk/v0.1.
1
/charts/elasticsearch/templates/clusterrolebinding.yaml
→
charts/efk/v0.1.
2
/charts/elasticsearch/templates/clusterrolebinding.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.2/charts/elasticsearch/templates/psp.yaml
0 → 100644
View file @
8c7c7f8c
{{
- if .Values.pspEnable
}}
apiVersion
:
extensions/v1beta1
kind
:
PodSecurityPolicy
metadata
:
labels
:
app
:
{{
template "elasticsearch.name" .
}}
chart
:
{{
.Chart.Name
}}
-{{ .Chart.Version | replace "+" "_" }}
release
:
{{
.Release.Name
}}
heritage
:
{{
.Release.Service
}}
name
:
{{
template "elasticsearch.fullname" .
}}
annotations
:
security.alpha.kubernetes.io/sysctls
:
'
vm.max_map_count'
spec
:
privileged
:
false
# Required to prevent escalations to root.
# allowPrivilegeEscalation: false
# This is redundant with non-root + disallow privilege escalation,
# but we can provide it for defense in depth.
#requiredDropCapabilities:
# - ALL
# Allow core volume types.
volumes
:
-
'
*'
hostNetwork
:
false
hostIPC
:
false
hostPID
:
false
runAsUser
:
# Permits the container to run with root privileges as well.
rule
:
'
RunAsAny'
seLinux
:
# This policy assumes the nodes are using AppArmor rather than SELinux.
rule
:
'
RunAsAny'
supplementalGroups
:
rule
:
'
MustRunAs'
ranges
:
# Forbid adding the root group.
-
min
:
0
max
:
65535
fsGroup
:
rule
:
'
MustRunAs'
ranges
:
# Forbid adding the root group.
-
min
:
0
max
:
65535
readOnlyRootFilesystem
:
false
{{
- end
}}
charts/efk/v0.1.
1
/charts/elasticsearch/templates/service-account.yaml
→
charts/efk/v0.1.
2
/charts/elasticsearch/templates/service-account.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/elasticsearch/templates/service.yaml
→
charts/efk/v0.1.
2
/charts/elasticsearch/templates/service.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/elasticsearch/templates/statefulsets.yaml
→
charts/efk/v0.1.
2
/charts/elasticsearch/templates/statefulsets.yaml
View file @
8c7c7f8c
...
@@ -23,9 +23,11 @@ spec:
...
@@ -23,9 +23,11 @@ spec:
{{
- end
}}
{{
- end
}}
spec
:
spec
:
serviceAccountName
:
{{
template "elasticsearch.fullname" .
}}
serviceAccountName
:
{{
template "elasticsearch.fullname" .
}}
{{
- if .Values.securityContextEnable
}}
securityContext
:
securityContext
:
runAsUser
:
1000
runAsUser
:
1000
fsGroup
:
1000
fsGroup
:
1000
{{
- end
}}
{{
- if eq .Values.master.antiAffinity "hard"
}}
{{
- if eq .Values.master.antiAffinity "hard"
}}
affinity
:
affinity
:
podAntiAffinity
:
podAntiAffinity
:
...
@@ -71,8 +73,6 @@ spec:
...
@@ -71,8 +73,6 @@ spec:
valueFrom
:
valueFrom
:
fieldRef
:
fieldRef
:
fieldPath
:
metadata.namespace
fieldPath
:
metadata.namespace
-
name
:
discovery.zen.ping.unicast.hosts
value
:
{{
template "elasticsearch.fullname" .
}}
# node roles, default to all true
# node roles, default to all true
# - name: NODE_MASTER
# - name: NODE_MASTER
# value: "true"
# value: "true"
...
@@ -108,10 +108,10 @@ spec:
...
@@ -108,10 +108,10 @@ spec:
{{
end
}}
{{
end
}}
volumeMounts
:
volumeMounts
:
-
mountPath
:
/usr/share/elasticsearch/data
-
mountPath
:
/usr/share/elasticsearch/data
name
:
data
name
:
es-
data
volumes
:
volumes
:
{{
- if not .Values.master.persistence.enabled
}}
{{
- if not .Values.master.persistence.enabled
}}
-
name
:
data
-
name
:
es-
data
emptyDir
:
{}
emptyDir
:
{}
{{
- else
}}
{{
- else
}}
terminationGracePeriodSeconds
:
{{
.Values.terminationGracePeriodSeconds
}}
terminationGracePeriodSeconds
:
{{
.Values.terminationGracePeriodSeconds
}}
...
...
charts/efk/v0.1.
1
/charts/elasticsearch/values.yaml
→
charts/efk/v0.1.
2
/charts/elasticsearch/values.yaml
View file @
8c7c7f8c
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
elasticsearch
:
elasticsearch
:
rbac
:
rbac
:
create
:
true
create
:
true
pspEnable
:
true
securityContextEnable
:
true
image
:
image
:
repository
:
"
docker.elastic.co/elasticsearch/elasticsearch-oss"
repository
:
"
docker.elastic.co/elasticsearch/elasticsearch-oss"
...
@@ -38,9 +40,9 @@ elasticsearch:
...
@@ -38,9 +40,9 @@ elasticsearch:
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
##
persistence
:
persistence
:
name
:
data
name
:
es-
data
enabled
:
false
enabled
:
false
##
wordpress
data Persistent Volume Storage Class
## data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## If undefined (the default) or set to null, no storageClassName spec is
...
...
charts/efk/v0.1.
1
/charts/fluent-bit/Chart.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/Chart.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/README.md
→
charts/efk/v0.1.
2
/charts/fluent-bit/README.md
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/NOTES.txt
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/NOTES.txt
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/_helpers.tpl
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/_helpers.tpl
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/cluster-role.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/cluster-role.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/cluster-rolebinding.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/cluster-rolebinding.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/config.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/config.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/daemonset.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/daemonset.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/secret.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/secret.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/service.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/service.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/fluent-bit/templates/serviceaccount.yaml
→
charts/efk/v0.1.
2
/charts/fluent-bit/templates/serviceaccount.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/kibana/Chart.yaml
→
charts/efk/v0.1.
2
/charts/kibana/Chart.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/kibana/README.md
→
charts/efk/v0.1.
2
/charts/kibana/README.md
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/kibana/templates/NOTES.txt
→
charts/efk/v0.1.
2
/charts/kibana/templates/NOTES.txt
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/kibana/templates/_helpers.tpl
→
charts/efk/v0.1.
2
/charts/kibana/templates/_helpers.tpl
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/kibana/templates/deployment.yaml
→
charts/efk/v0.1.
2
/charts/kibana/templates/deployment.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/kibana/templates/ingress.yaml
→
charts/efk/v0.1.
2
/charts/kibana/templates/ingress.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/charts/kibana/templates/service.yaml
→
charts/efk/v0.1.
2
/charts/kibana/templates/service.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/questions.yml
→
charts/efk/v0.1.
2
/questions.yml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/requirements.yaml
→
charts/efk/v0.1.
2
/requirements.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/templates/NOTES.txt
→
charts/efk/v0.1.
2
/templates/NOTES.txt
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/templates/_helpers.tpl
→
charts/efk/v0.1.
2
/templates/_helpers.tpl
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/templates/kibana-config.yaml
→
charts/efk/v0.1.
2
/templates/kibana-config.yaml
View file @
8c7c7f8c
File moved
charts/efk/v0.1.
1
/values.yaml
→
charts/efk/v0.1.
2
/values.yaml
View file @
8c7c7f8c
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
elasticsearch
:
elasticsearch
:
rbac
:
rbac
:
create
:
true
create
:
true
pspEnable
:
true
securityContextEnable
:
true
image
:
image
:
repository
:
"
docker.elastic.co/elasticsearch/elasticsearch-oss"
repository
:
"
docker.elastic.co/elasticsearch/elasticsearch-oss"
...
@@ -38,7 +40,7 @@ elasticsearch:
...
@@ -38,7 +40,7 @@ elasticsearch:
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
##
persistence
:
persistence
:
name
:
data
name
:
es-
data
enabled
:
false
enabled
:
false
## wordpress data Persistent Volume Storage Class
## wordpress data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If defined, storageClassName: <storageClass>
...
...
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