You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ta...@apache.org on 2021/06/24 03:13:43 UTC
[skywalking-kubernetes] branch more_port created (now ef8acd2)
This is an automated email from the ASF dual-hosted git repository.
tanjian pushed a change to branch more_port
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git.
at ef8acd2 update oap-deployment with danamic add more ports.
This branch includes the following new commits:
new ef8acd2 update oap-deployment with danamic add more ports.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking-kubernetes] 01/01: update oap-deployment with danamic
add more ports.
Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tanjian pushed a commit to branch more_port
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git
commit ef8acd2260d0d85395cc1a885d9191a8f166ea93
Author: JaredTan95 <ji...@daocloud.io>
AuthorDate: Thu Jun 24 11:13:28 2021 +0800
update oap-deployment with danamic add more ports.
---
chart/skywalking/templates/oap-deployment.yaml | 8 ++++----
chart/skywalking/values.yaml | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/chart/skywalking/templates/oap-deployment.yaml b/chart/skywalking/templates/oap-deployment.yaml
index 40f1ce4..560e9db 100644
--- a/chart/skywalking/templates/oap-deployment.yaml
+++ b/chart/skywalking/templates/oap-deployment.yaml
@@ -99,10 +99,10 @@ spec:
initialDelaySeconds: 15
periodSeconds: 20
ports:
- - containerPort: 11800
- name: grpc
- - containerPort: 12800
- name: rest
+ {{- range $key, $value := .Values.oap.ports }}
+ - containerPort: {{ $value }}
+ name: {{ $key }}
+ {{- end }}
{{- if .Values.oap.resources }}
resources:
{{ toYaml .Values.oap.resources | indent 10 }}
diff --git a/chart/skywalking/values.yaml b/chart/skywalking/values.yaml
index 4a36230..a40bba6 100644
--- a/chart/skywalking/values.yaml
+++ b/chart/skywalking/values.yaml
@@ -38,8 +38,10 @@ oap:
pullPolicy: IfNotPresent
storageType: null
ports:
+ # add more ports here if you need
grpc: 11800
rest: 12800
+ zabbix: 10051
replicas: 2
service:
type: ClusterIP