Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
skywalking-kubernetes
提交
f0e0f138
S
skywalking-kubernetes
项目概览
apache
/
skywalking-kubernetes
通知
21
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
skywalking-kubernetes
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
f0e0f138
编写于
10月 22, 2019
作者:
I
innerpeacez
提交者:
GitHub
10月 22, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #21 from innerpeacez/modify
modify role to clusterrole
上级
fafaa1cb
f112302a
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
79 addition
and
14 deletion
+79
-14
helm-chart/helm3/6.4.0/skywalking/Chart.yaml
helm-chart/helm3/6.4.0/skywalking/Chart.yaml
+2
-2
helm-chart/helm3/6.4.0/skywalking/README.md
helm-chart/helm3/6.4.0/skywalking/README.md
+19
-3
helm-chart/helm3/6.4.0/skywalking/templates/oap-clusterrole.yaml
...art/helm3/6.4.0/skywalking/templates/oap-clusterrole.yaml
+18
-0
helm-chart/helm3/6.4.0/skywalking/templates/oap-clusterrolebinding.yaml
...m3/6.4.0/skywalking/templates/oap-clusterrolebinding.yaml
+19
-0
helm-chart/helm3/6.4.0/skywalking/templates/oap-deployment.yaml
...hart/helm3/6.4.0/skywalking/templates/oap-deployment.yaml
+4
-0
helm-chart/helm3/6.4.0/skywalking/templates/oap-role.yaml
helm-chart/helm3/6.4.0/skywalking/templates/oap-role.yaml
+5
-3
helm-chart/helm3/6.4.0/skywalking/templates/oap-rolebinding.yaml
...art/helm3/6.4.0/skywalking/templates/oap-rolebinding.yaml
+5
-3
helm-chart/helm3/6.4.0/skywalking/values.yaml
helm-chart/helm3/6.4.0/skywalking/values.yaml
+7
-3
未找到文件。
helm-chart/helm3/6.4.0/skywalking/Chart.yaml
浏览文件 @
f0e0f138
apiVersion
:
v
1
apiVersion
:
v
2
name
:
skywalking
home
:
https://skywalking.apache.org
version
:
0.1.
1
version
:
0.1.
2
appVersion
:
6.4.0
description
:
Apache SkyWalking APM System
icon
:
https://raw.githubusercontent.com/apache/skywalking-kubernetes/master/logo/sw-logo-for-chart.jpg
...
...
helm-chart/helm3/6.4.0/skywalking/README.md
浏览文件 @
f0e0f138
...
...
@@ -29,7 +29,7 @@ The command deploys Apache Skywalking on the Kubernetes cluster in the default c
To uninstall/delete the
`my-release`
deployment:
```
shell
$
helm
delete
my-release
-n
<namespace>
$
helm
uninstall
my-release
-n
<namespace>
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
...
...
@@ -56,6 +56,7 @@ The following table lists the configurable parameters of the Skywalking chart an
|
`oap.nodeSelector`
| OAP labels for master pod assignment |
`{}`
|
|
`oap.tolerations`
| OAP tolerations |
`[]`
|
|
`oap.resources`
| OAP node resources requests & limits |
`{} - cpu limit must be an integer`
|
|
`oap.envoy.als.enabled`
| Open envoy als |
`false`
|
|
`oap.env`
| OAP environment variables |
`[]`
|
|
`ui.name`
| Web UI deployment name |
`ui`
|
|
`ui.replicas`
| Web UI k8s deployment replicas |
`1`
|
...
...
@@ -111,7 +112,7 @@ The following table lists the configurable parameters of the Skywalking chart an
|
`elasticsearch.master.tolerations`
|
`[]`
| Master tolerations |
|
`elasticsearch.master.heapSize`
|
`512m`
| Master node heap size |
|
`elasticsearch.master.name`
|
`master`
| Master component name |
|
`elasticsearch.master.persistence.enabled`
|
`
tru
e`
| Master persistent enabled/disabled |
|
`elasticsearch.master.persistence.enabled`
|
`
fals
e`
| Master persistent enabled/disabled |
|
`elasticsearch.master.persistence.name`
|
`data`
| Master statefulset PVC template name |
|
`elasticsearch.master.persistence.size`
|
`4Gi`
| Master persistent volume size |
|
`elasticsearch.master.persistence.storageClass`
|
`nil`
| Master persistent volume Class |
...
...
@@ -129,7 +130,7 @@ The following table lists the configurable parameters of the Skywalking chart an
|
`elasticsearch.data.priorityClassName`
|
`nil`
| Data priorityClass |
|
`elasticsearch.data.heapSize`
|
`1536m`
| Data node heap size |
|
`elasticsearch.data.hooks.drain.enabled`
|
`true`
| Data nodes: Enable drain pre-stop and post-start hook |
|
`elasticsearch.data.persistence.enabled`
|
`
tru
e`
| Data persistent enabled/disabled |
|
`elasticsearch.data.persistence.enabled`
|
`
fals
e`
| Data persistent enabled/disabled |
|
`elasticsearch.data.persistence.name`
|
`data`
| Data statefulset PVC template name |
|
`elasticsearch.data.persistence.size`
|
`30Gi`
| Data persistent volume size |
|
`elasticsearch.data.persistence.storageClass`
|
`nil`
| Data persistent volume Class |
...
...
@@ -196,3 +197,18 @@ ui:
hosts
:
-
skywalking.domain.com
```
### Envoy ALS
Envoy ALS(access log service) provides fully logs about RPC routed, including HTTP and TCP.
If you want to open envoy ALS, you can do this by modifying values.yaml.
```
yaml
oap
:
envoy
:
als
:
enabled
:
true
```
When envoy als ,will give ServiceAccount clusterrole permission.
More envoy als ,please refer to https://github.com/apache/skywalking/blob/master/docs/en/setup/envoy/als_setting.md#observe-service-mesh-through-als
\ No newline at end of file
helm-chart/helm3/6.4.0/skywalking/templates/oap-clusterrole.yaml
0 → 100644
浏览文件 @
f0e0f138
{{
- if .Values.oap.envoy.als.enabled
}}
kind
:
ClusterRole
apiVersion
:
rbac.authorization.k8s.io/v1
metadata
:
name
:
{{
template "skywalking.fullname" .
}}
labels
:
app
:
{{
template "skywalking.name" .
}}
chart
:
"
{{
.Chart.Name
}}-{{
.Chart.Version
}}"
release
:
"
{{
.Release.Name
}}"
heritage
:
"
{{
.Release.Service
}}"
rules
:
-
apiGroups
:
[
"
"
]
resources
:
[
"
pods"
]
verbs
:
[
"
get"
,
"
watch"
,
"
list"
]
-
apiGroups
:
[
"
extensions"
]
resources
:
[
"
deployments"
,
"
replicasets"
]
verbs
:
[
"
get"
,
"
watch"
,
"
list"
]
{{
- end
}}
\ No newline at end of file
helm-chart/helm3/6.4.0/skywalking/templates/oap-clusterrolebinding.yaml
0 → 100644
浏览文件 @
f0e0f138
{{
- if .Values.oap.envoy.als.enabled
}}
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
name
:
{{
template "skywalking.fullname" .
}}
labels
:
app
:
{{
template "skywalking.name" .
}}
chart
:
"
{{
.Chart.Name
}}-{{
.Chart.Version
}}"
release
:
"
{{
.Release.Name
}}"
heritage
:
"
{{
.Release.Service
}}"
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
{{
template "skywalking.fullname" .
}}
subjects
:
-
kind
:
ServiceAccount
name
:
{{
template "skywalking.serviceAccountName.oap" .
}}
namespace
:
{{
.Release.Namespace
}}
{{
- end
}}
\ No newline at end of file
helm-chart/helm3/6.4.0/skywalking/templates/oap-deployment.yaml
浏览文件 @
f0e0f138
...
...
@@ -91,6 +91,10 @@ spec:
fieldPath
:
metadata.uid
-
name
:
SW_STORAGE
value
:
elasticsearch
{{
- if .Values.oap.envoy.als.enabled
}}
-
name
:
SW_ENVOY_ALS_ENABLED
value
:
{{
.Values.oap.envoy.als.enabled | quote
}}
{{
- end
}}
-
name
:
SW_STORAGE_ES_CLUSTER_NODES
value
:
"
{{
include
"call-nested" (list . "elasticsearch" "elasticsearch.client.fullname") }}:9200"
{{
- range $key
,
$value
:
= .Values.oap.env
}}
...
...
helm-chart/helm3/6.4.0/skywalking/templates/oap-role.yaml
浏览文件 @
f0e0f138
{{
- if not .Values.oap.envoy.als.enabled
}}
kind
:
Role
apiVersion
:
rbac.authorization.k8s.io/v1
metadata
:
...
...
@@ -8,6 +9,7 @@ metadata:
release
:
"
{{
.Release.Name
}}"
heritage
:
"
{{
.Release.Service
}}"
rules
:
-
apiGroups
:
[
"
"
]
resources
:
[
"
pods"
]
verbs
:
[
"
get"
,
"
watch"
,
"
list"
]
-
apiGroups
:
[
"
"
]
resources
:
[
"
pods"
]
verbs
:
[
"
get"
,
"
watch"
,
"
list"
]
{{
- end
}}
\ No newline at end of file
helm-chart/helm3/6.4.0/skywalking/templates/oap-rolebinding.yaml
浏览文件 @
f0e0f138
{{
- if not .Values.oap.envoy.als.enabled
}}
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
RoleBinding
metadata
:
...
...
@@ -12,6 +13,7 @@ roleRef:
kind
:
Role
name
:
{{
template "skywalking.fullname" .
}}
subjects
:
-
kind
:
ServiceAccount
name
:
{{
template "skywalking.serviceAccountName.oap" .
}}
namespace
:
{{
.Release.Namespace
}}
-
kind
:
ServiceAccount
name
:
{{
template "skywalking.serviceAccountName.oap" .
}}
namespace
:
{{
.Release.Namespace
}}
{{
- end
}}
\ No newline at end of file
helm-chart/helm3/6.4.0/skywalking/values.yaml
浏览文件 @
f0e0f138
...
...
@@ -31,9 +31,13 @@ oap:
# memory: 4Gi
# podAnnotations:
# example: oap-foo
envoy
:
als
:
enabled
:
false
# more envoy ALS ,please refer to https://github.com/apache/skywalking/blob/master/docs/en/setup/envoy/als_setting.md#observe-service-mesh-through-als
env
:
# more env, please refer to https://hub.docker.com/r/apache/skywalking-oap-server
# or https://github.com/apache/skywalking-docker/blob/master/6/6.4/oap/README.md#sw_telemetry
ui
:
name
:
skywalking-ui
replicas
:
1
...
...
@@ -153,7 +157,7 @@ elasticsearch:
heapSize
:
"
512m"
# additionalJavaOpts: "-XX:MaxRAM=512m"
persistence
:
enabled
:
tru
e
enabled
:
fals
e
accessMode
:
ReadWriteOnce
name
:
data
size
:
"
4Gi"
...
...
@@ -200,7 +204,7 @@ elasticsearch:
heapSize
:
"
1536m"
# additionalJavaOpts: "-XX:MaxRAM=1536m"
persistence
:
enabled
:
tru
e
enabled
:
fals
e
accessMode
:
ReadWriteOnce
name
:
data
size
:
"
30Gi"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录