k8s集群通过helm部署skywalking

1、安装helm
下载脚本安装

~# curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
~# chmod 700 get_helm.sh
~# ./get_helm.sh

或者下载包进行安装

~# wget https://get.helm.sh/helm-canary-linux-amd64.tar.gz
~# mv helm /usr/local/bin
~# chmod +x /usr/local/bin/helm

2、安装nfs

### 这里就将 nfs-server 安装在 master 节点# 安装 nfs-utils、rpcbind 软件包(===所有节点===)
yum -y install nfs-utils rpcbind# 创建目录
sudo mkdir -p /data/nfs# 添加权限
sudo chmod 777 -R /data/nfs# 编辑文件,添加以下内容
sudo vim /etc/exports
/data/nfs 172.16.10.0/24(rw,no_root_squash,sync)# 重启服务
systemctl start rpcbind && systemctl enable rpcbind
systemctl start nfs && systemctl enable nfs(所有节点)# 配置生效
exportfs -rv# 查看共享目录
sudo showmount -e 192.168.10.100
# 返回值如下,表示创建成功
Export list for 192.168.10.100:
/data/nfs	172.16.10.*

3、安装skypwalk服务
参考链接
1)设置环境变量

# change the release version according to your need
export SKYWALKING_RELEASE_VERSION=4.5.0 
# change the release name according to your scenario 
export SKYWALKING_RELEASE_NAME=skywalking
# change the namespace to where you want to install SkyWalking  
export SKYWALKING_RELEASE_NAMESPACE=default  

2)通过Docker Helm repository安装skywalking
编辑配置文件

cd /root/skywalking-kubernetes/chart
cat  skywalking/values-my-es.yaml 
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.# Default values for skywalking.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.oap:image:tag: 9.6.0storageType: elasticsearchui:image:tag: 9.6.0elasticsearch:enabled: falseconfig:               # For users of an existing elasticsearch cluster,takes effect when `elasticsearch.enabled` is falsehost: elasticsearch-es-httpport:http: 9200user: "xxx"         # [optional]password: "xxx"     # [optional]

kubectl create namespace skywalking
helm install "${SKYWALKING_RELEASE_NAME}" \oci://registry-1.docker.io/apache/skywalking-helm \--version "${SKYWALKING_RELEASE_VERSION}" \-n "${SKYWALKING_RELEASE_NAMESPACE}" \--set oap.image.tag=9.6.0 \--set oap.storageType=elasticsearch \--set ui.image.tag=9.6.0

结果输出如下

NAME: skywalking
LAST DEPLOYED: Sun Dec 24 03:18:33 2023
NAMESPACE: skywalking
STATUS: deployed
REVISION: 1
NOTES:
************************************************************************
*                                                                      *
*                 SkyWalking Helm Chart by SkyWalking Team             *
*                                                                      *
************************************************************************Thank you for installing skywalking-helm.Your release is named skywalking.Learn more, please visit https://skywalking.apache.org/Get the UI URL by running these commands:echo "Visit http://127.0.0.1:8080 to use your application"kubectl port-forward svc/skywalking-skywalking-helm-ui 8080:80 --namespace skywalking
#################################################################################
######   WARNING: Persistence is disabled!!! You will lose your data when   #####
######            the SkyWalking's storage ES pod is terminated.            #####
#################################################################################

查看对应pods

kubectl get pods -n skywalking
NAME                                              READY   STATUS      RESTARTS   AGE
elasticsearch-master-0                            1/1     Running     0          34h
elasticsearch-master-1                            1/1     Running     0          34h
elasticsearch-master-2                            1/1     Running     0          34h
skywalking-skywalking-helm-oap-5c7bc85f97-48rbt   1/1     Running     0          34h
skywalking-skywalking-helm-oap-5c7bc85f97-v74ls   1/1     Running     0          34h
skywalking-skywalking-helm-oap-init-ftc8m         0/1     Completed   0          34h
skywalking-skywalking-helm-ui-b9f69c6fc-wgjvr     1/1     Running     0          34h

3)查看配置文件
A、查看skywalking-skywalking-helm-ui的相关文件内容
depoyment文本内容

~# kubectl edit deployment skywalking-skywalking-helm-ui -n skywalkingapiVersion: apps/v1
kind: Deployment
metadata:annotations:deployment.kubernetes.io/revision: "1"meta.helm.sh/release-name: skywalkingmeta.helm.sh/release-namespace: skywalkingcreationTimestamp: "2023-12-23T19:18:33Z"generation: 1labels:app: skywalkingapp.kubernetes.io/managed-by: Helmchart: skywalking-helm-4.5.0component: uiheritage: Helmrelease: skywalkingname: skywalking-skywalking-helm-uinamespace: skywalkingresourceVersion: "46556645"uid: c0e3217e-4456-4252-b28c-cb53c26e5bf1
spec:progressDeadlineSeconds: 600replicas: 1revisionHistoryLimit: 10selector:matchLabels:app: skywalkingcomponent: uirelease: skywalkingstrategy:rollingUpdate:maxSurge: 25%maxUnavailable: 25%type: RollingUpdatetemplate:metadata:creationTimestamp: nulllabels:app: skywalkingcomponent: uirelease: skywalkingspec:containers:- env:- name: SW_OAP_ADDRESSvalue: http://skywalking-skywalking-helm-oap:12800image: skywalking.docker.scarf.sh/apache/skywalking-ui:9.6.0imagePullPolicy: IfNotPresentname: uiports:- containerPort: 8080name: pageprotocol: TCPresources: {}terminationMessagePath: /dev/termination-logterminationMessagePolicy: FilednsPolicy: ClusterFirstrestartPolicy: AlwaysschedulerName: default-schedulersecurityContext: {}terminationGracePeriodSeconds: 30        

services

~# kubectl edit svc skywalking-skywalking-helm-ui -n skywalkingapiVersion: v1
kind: Service
metadata:annotations:meta.helm.sh/release-name: skywalkingmeta.helm.sh/release-namespace: skywalkingcreationTimestamp: "2023-12-23T19:18:33Z"labels:app: skywalkingapp.kubernetes.io/managed-by: Helmchart: skywalking-helm-4.5.0component: uiheritage: Helmrelease: skywalkingname: skywalking-skywalking-helm-uinamespace: skywalkingresourceVersion: "46556519"uid: b4e3da64-da1a-4dcb-9324-537773ce251a
spec:clusterIP: 10.68.222.100clusterIPs:- 10.68.222.100internalTrafficPolicy: ClusteripFamilies:- IPv4ipFamilyPolicy: SingleStackports:- port: 80protocol: TCPtargetPort: 8080selector:app: skywalkingcomponent: uirelease: skywalkingsessionAffinity: Nonetype: ClusterIP
status:loadBalancer: {}

A、查看skywalking-skywalking-helm-oap的相关文件内容
deployment

~# kubectl edit deployment skywalking-skywalking-helm-oap -n skywalkingapiVersion: apps/v1
kind: Deployment
metadata:annotations:deployment.kubernetes.io/revision: "1"meta.helm.sh/release-name: skywalkingmeta.helm.sh/release-namespace: skywalkingcreationTimestamp: "2023-12-23T19:18:33Z"generation: 1labels:app: skywalkingapp.kubernetes.io/managed-by: Helmchart: skywalking-helm-4.5.0component: oapheritage: Helmrelease: skywalkingname: skywalking-skywalking-helm-oapnamespace: skywalkingresourceVersion: "46557028"uid: 83562701-0540-479d-b45c-72445e0d5bcf
spec:progressDeadlineSeconds: 600replicas: 2revisionHistoryLimit: 10selector:matchLabels:app: skywalkingcomponent: oaprelease: skywalkingstrategy:rollingUpdate:maxSurge: 25%maxUnavailable: 25%type: RollingUpdatetemplate:metadata:creationTimestamp: nullcreationTimestamp: nulllabels:app: skywalkingcomponent: oaprelease: skywalkingspec:affinity:podAntiAffinity:preferredDuringSchedulingIgnoredDuringExecution:- podAffinityTerm:labelSelector:matchLabels:app: skywalkingcomponent: oaprelease: skywalkingtopologyKey: kubernetes.io/hostnameweight: 1containers:- env:- name: JAVA_OPTSvalue: -Dmode=no-init -Xmx2g -Xms2g- name: SW_CLUSTERvalue: kubernetes- name: SW_CLUSTER_K8S_NAMESPACEvalue: skywalking- name: SW_CLUSTER_K8S_LABELvalue: app=skywalking,release=skywalking,component=oap- name: SKYWALKING_COLLECTOR_UIDvalueFrom:fieldRef:apiVersion: v1fieldPath: metadata.uid- name: SW_STORAGEvalue: elasticsearch- name: SW_STORAGE_ES_CLUSTER_NODESvalue: elasticsearch-master:9200image: skywalking.docker.scarf.sh/apache/skywalking-oap-server:9.6.0imagePullPolicy: IfNotPresentlivenessProbe:failureThreshold: 3initialDelaySeconds: 5periodSeconds: 10successThreshold: 1tcpSocket:port: 12800timeoutSeconds: 1terminationMessagePath: /dev/termination-logterminationMessagePolicy: FilednsPolicy: ClusterFirstinitContainers:- command:- sh- -c- for i in $(seq 1 60); do nc -z -w3 elasticsearch-master 9200 && exit 0 ||sleep 5; done; exit 1image: busybox:1.30imagePullPolicy: IfNotPresentname: wait-for-elasticsearchresources: {}terminationMessagePath: /dev/termination-logterminationMessagePolicy: FilerestartPolicy: AlwaysschedulerName: default-schedulersecurityContext: {}serviceAccount: skywalking-skywalking-helm-oapserviceAccountName: skywalking-skywalking-helm-oapterminationGracePeriodSeconds: 30 

service

~# kubectl edit svc skywalking-skywalking-helm-oap -n skywalkingapiVersion: v1
kind: Service
metadata:annotations:meta.helm.sh/release-name: skywalkingmeta.helm.sh/release-namespace: skywalkingcreationTimestamp: "2023-12-23T19:18:33Z"labels:app: skywalkingapp.kubernetes.io/managed-by: Helmchart: skywalking-helm-4.5.0component: oapheritage: Helmrelease: skywalkingname: skywalking-skywalking-helm-oapnamespace: skywalkingresourceVersion: "46556523"uid: 386c9503-7003-447a-94a0-4f9dcd2fa06d
spec:clusterIP: 10.68.169.25clusterIPs:- 10.68.169.25internalTrafficPolicy: ClusteripFamilies:- IPv4ipFamilyPolicy: SingleStackports:- name: grpcport: 11800protocol: TCPtargetPort: 11800- name: restport: 12800protocol: TCPtargetPort: 12800selector:app: skywalkingcomponent: oaprelease: skywalkingsessionAffinity: Nonetype: ClusterIP
status:loadBalancer: {}  

C、ingress的配置文件内容
secret

~# kubectl edit secret abc.com-ssl -n skywalkingapiVersion: v1
data:tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUdMakNDQlJhZ0F3SUJBZ0lRQzAzRDZSSTlvbnBXZmhYTkJvNUZmakFOQmdrcWhraUc5dzBCQVFzRkFEQmcKTVFzd0NRWURWUVFHRXdKVlV6RVZNQk1HQTFVRUNoTU1SR2xuYVVObGNuUWdTVzVqTVJrd0Z3WURWUVFMRXhCMwpkM2N1WkdsbmFXTmxjblF1WTI5dE1SOHdIUVlEVlFRREV4WkhaVzlVY25WemRDQlVURk1nVWxOQklFTkJJRWN4Ck1CNFhEVEl6TURVd016QXdNREF3TUZvWERUSTB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Kcy91ZW1wSVlrRXlURU9xQ2RZdkZnOU9TRGlEaTQrSVhYOTFnYTRzUlJ3djR6VjhiNE16SU5WZHJkYmFRazluQwp4dXgxVllBcnc3VTVpU1dSSEhaaUFSVWJUU1VMTkp4UURDQzR0em1kQitXNkJvOGoxSllaMm5LRkNxeEg0N0phCmpGZEFMVmNKaVBLR2FTZ2VoalFGVFVFQ2dZQktYam9LaDB0U2RRWkJhM1VFc2V5b2IwSCs2TDBUWWFxSEd1QWkKMW8vMmk1NWd1Yms4RjljcHJJY291eXg0dkl6N1ZmcE4rdUtQWkdEcWl4eWN1Y0VXSTFmcHNkTkxGT2tOS1RBYgplMm9rek5rbmJJM0x0cmw2VlZyRHlnZ1QxRkhTMGppS0tzUElFWDRscjNEdTZQODRRcDd4NVJrbTdYZjJZaC9NCklWU2l5UUtCZ0JiK0plU0lFRmM1czRyRklaYnN0eENCK1dqdk1PczR0RW5NNkp3WXh4TkJmYUdQQUtMWmNCNDMKWTVQblNoT2w0T21RYnZ5RWdHK1o4RFcrN0J2cVVjVE92SGlhb2YzTzZPUjBQdmV4Y3Z0Sldha3RHRVlPT0g2bQpGTWZmZ3QvUkEraUFQay91QllCZVNLWHNGNDhCY3Nsck15TU9rUThpaU02OTQ1WEIxaE5RCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tAVse
immutable: false
kind: Secret
metadata:creationTimestamp: "2023-12-21T14:30:06Z"name: abc.com-sslnamespace: skywalkingresourceVersion: "46095322"
~# kubectl edit ingress skywalking-ui -n skywalkingapiVersion: networking.k8s.io/v1
kind: Ingress
metadata:creationTimestamp: "2023-12-22T11:51:21Z"generation: 3labels:app: skywalkingapp.kubernetes.io/managed-by: Helmchart: skywalking-4.3.0component: uiheritage: Helmk8s.kuboard.cn/name: skywalking-uirelease: skywalkingname: skywalking-uinamespace: skywalkingresourceVersion: "46541768"uid: 9331ed1a-40e0-4fb2-b6a5-370207fb196b
spec:ingressClassName: biking-ingressrules:- host: skywalking-oap-test.abc.comhttp:paths:- backend:service:name: skywalking-skywalking-helm-uiport:number: 80path: /pathType: Prefixtls:- hosts:- skywalking-oap-test.abc.comsecretName: abc.com-ssl
status:loadBalancer:ingress:- ip: 172.16.10.202- ip: 172.16.10.203

D、查看elasticsearch的配置内容
StatefulSet

~# kubectl edit StatefulSet elasticsearch-master -n skywalkingapiVersion: apps/v1
kind: StatefulSet
metadata:annotations:esMajorVersion: "7"meta.helm.sh/release-name: skywalkingmeta.helm.sh/release-namespace: skywalkingcreationTimestamp: "2023-12-23T19:18:33Z"generation: 1labels:app: elasticsearch-masterapp.kubernetes.io/managed-by: Helmchart: elasticsearchheritage: Helmrelease: skywalkingname: elasticsearch-masternamespace: skywalkingresourceVersion: "46556881"uid: 6181350e-d165-43b6-b1df-e2473b928f47
spec:persistentVolumeClaimRetentionPolicy:whenDeleted: RetainwhenScaled: RetainpodManagementPolicy: Parallelreplicas: 3revisionHistoryLimit: 10selector:matchLabels:app: elasticsearch-masterserviceName: elasticsearch-master-headlesstemplate:metadata:creationTimestamp: nulllabels:app: elasticsearch-masterchart: elasticsearchrelease: skywalkingname: elasticsearch-masterspec:affinity:podAntiAffinity:requiredDuringSchedulingIgnoredDuringExecution:- labelSelector:matchExpressions:- key: appoperator: Invalues:- elasticsearch-mastertopologyKey: kubernetes.io/hostnameautomountServiceAccountToken: truecontainers:- env:- name: node.namevalueFrom:fieldRef:apiVersion: v1fieldPath: metadata.name- name: cluster.initial_master_nodesvalue: elasticsearch-master-0,elasticsearch-master-1,elasticsearch-master-2,- name: discovery.seed_hostsvalue: elasticsearch-master-headless- name: cluster.namevalue: elasticsearch- name: network.hostvalue: 0.0.0.0- name: cluster.deprecation_indexing.enabledvalue: "false"- name: ES_JAVA_OPTSvalue: -Xmx1g -Xms1g- name: node.datavalue: "true"- name: node.ingestvalue: "true"- name: node.mastervalue: "true"- name: node.mlvalue: "true"- name: node.remote_cluster_clientvalue: "true"image: docker.elastic.co/elasticsearch/elasticsearch:7.17.3imagePullPolicy: IfNotPresentname: elasticsearchports:- containerPort: 9200name: http protocol: TCP- containerPort: 9300name: transportprotocol: TCPreadinessProbe:exec:command:- bash- -c- |set -e# If the node is starting up wait for the cluster to be ready (request params: "wait_for_status=green&timeout=1s" )# Once it has started only check that the node itself is respondingSTART_FILE=/tmp/.es_start_file# Disable nss cache to avoid filling dentry cache when calling curl# This is required with Elasticsearch Docker using nss < 3.52export NSS_SDB_USE_CACHE=nohttp () {local path="${1}"local args="${2}"set -- -XGET -sif [ "$args" != "" ]; thenset -- "$@" $argsfiif [ -n "${ELASTIC_PASSWORD}" ]; thenset -- "$@" -u "elastic:${ELASTIC_PASSWORD}"ficurl --output /dev/null -k "$@" "http://127.0.0.1:9200${path}"}if [ -f "${START_FILE}" ]; thenecho 'Elasticsearch is already running, lets check the node is healthy'HTTP_CODE=$(http "/" "-w %{http_code}")RC=$?if [[ ${RC} -ne 0 ]]; thenecho "curl --output /dev/null -k -XGET -s -w '%{http_code}' \${BASIC_AUTH} http://127.0.0.1:9200/ failed with RC ${RC}"exit ${RC}fi# ready if HTTP code 200, 503 is tolerable if ES version is 6.xif [[ ${HTTP_CODE} == "200" ]]; thenexit 0elif [[ ${HTTP_CODE} == "503" && "7" == "6" ]]; thenexit 0elseecho "curl --output /dev/null -k -XGET -s -w '%{http_code}' \${BASIC_AUTH} http://127.0.0.1:9200/ failed with HTTP code ${HTTP_CODE}"exit 1fielseecho 'Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" )'if http "/_cluster/health?wait_for_status=green&timeout=1s" "--fail" ; thentouch ${START_FILE}exit 0elseecho 'Cluster is not yet ready (request params: "wait_for_status=green&timeout=1s" )'exit 1fififailureThreshold: 3initialDelaySeconds: 10periodSeconds: 10successThreshold: 3timeoutSeconds: 5resources:limits:cpu: "1"memory: 2Girequests:cpu: 100mmemory: 2GisecurityContext:capabilities:drop:- ALLrunAsNonRoot: truerunAsUser: 1000terminationMessagePath: /dev/termination-logterminationMessagePolicy: FilednsPolicy: ClusterFirstenableServiceLinks: trueinitContainers:- command:- sysctl- -w    - vm.max_map_count=262144image: docker.elastic.co/elasticsearch/elasticsearch:7.17.3imagePullPolicy: IfNotPresentname: configure-sysctlresources: {}securityContext:privileged: truerunAsUser: 0terminationMessagePath: /dev/termination-logterminationMessagePolicy: FilerestartPolicy: AlwaysschedulerName: default-schedulersecurityContext:fsGroup: 1000runAsUser: 1000terminationGracePeriodSeconds: 120updateStrategy:type: RollingUpdate   

service

~# kubectl edit service elasticsearch-master -n skywalkingapiVersion: v1
kind: Service
metadata:annotations:meta.helm.sh/release-name: skywalkingmeta.helm.sh/release-namespace: skywalkingcreationTimestamp: "2023-12-23T19:18:33Z"labels:app: elasticsearch-masterapp.kubernetes.io/managed-by: Helmchart: elasticsearchheritage: Helmrelease: skywalkingname: elasticsearch-masternamespace: skywalkingresourceVersion: "46556527"uid: 7e6f70f2-de8f-46e6-8b2d-0421e32ec4f7
spec:clusterIP: 10.68.47.138clusterIPs:- 10.68.47.138internalTrafficPolicy: ClusteripFamilies:- IPv4ipFamilyPolicy: SingleStackports:- name: httpport: 9200protocol: TCPtargetPort: 9200- name: transportport: 9300protocol: TCPtargetPort: 9300selector:app: elasticsearch-masterchart: elasticsearchrelease: skywalkingsessionAffinity: Nonetype: ClusterIP
status:loadBalancer: {}  

检测脚本:

bash -c 'set -e
# If the node is starting up wait for the cluster to be ready (request params: "wait_for_status=green&timeout=1s" )
# Once it has started only check that the node itself is responding
START_FILE=/tmp/.es_start_file# Disable nss cache to avoid filling dentry cache when calling curl
# This is required with Elasticsearch Docker using nss < 3.52
export NSS_SDB_USE_CACHE=nohttp () {local path="${1}"local args="${2}"set -- -XGET -sif [ "$args" != "" ]; thenset -- "$@" $argsfiif [ -n "${ELASTIC_PASSWORD}" ]; thenset -- "$@" -u "elastic:${ELASTIC_PASSWORD}"ficurl --output /dev/null -k "$@" "http://127.0.0.1:9200${path}"
}if [ -f "${START_FILE}" ]; thenecho 'Elasticsearch is already running, lets check the node is healthy'HTTP_CODE=$(http "/" "-w %{http_code}")RC=$?if [[ ${RC} -ne 0 ]]; thenecho "curl --output /dev/null -k -XGET -s -w '%{http_code}' \${BASIC_AUTH} http://127.0.0.1:9200/ failed with RC ${RC}"exit ${RC}fi# ready if HTTP code 200, 503 is tolerable if ES version is 6.xif [[ ${HTTP_CODE} == "200" ]]; thenexit 0elif [[ ${HTTP_CODE} == "503" && "7" == "6" ]]; thenexit 0elseecho "curl --output /dev/null -k -XGET -s -w '%{http_code}' \${BASIC_AUTH} http://127.0.0.1:9200/ failed with HTTP code ${HTTP_CODE}"exit 1fielseecho 'Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" )'if http "/_cluster/health?wait_for_status=green&timeout=1s" "--fail" ; thentouch ${START_FILE}exit 0elseecho 'Cluster is not yet ready (request params: "wait_for_status=green&timeout=1s" )'exit 1fi
fi
'

4、添加客户端agent
下载apache-skywalking-apm-es7后,解压文件,将解压目录下的agent目录,存放到nfs下,然后挂载到java对应的pod服务,并将对应的文件加目录挂载到pods的/usr/skywalking/agent/下
8.7.0版本

wget https://archive.apache.org/dist/skywalking/8.7.0/apache-skywalking-apm-es7-8.7.0.tar.gz
tar -xf apache-skywalking-apm-es7-8.7.0.tar.gz
mv apache-skywalking-apm-es7-8.70/agent/* /data/nfs/skywalking-agent/

9.1.0版本

wget https://archive.apache.org/dist/skywalking/java-agent/9.1.0/apache-skywalking-java-agent-9.1.0.tgz
tar -xf apache-skywalking-java-agent-9.1.0.tgz
mv skywalking-agent/* /data/nfs/

启动一个pods
deployment文本内容

~# kubectl edit deployment financial-management -n testapiVersion: apps/v1
kind: Deployment
metadata:annotations:deployment.kubernetes.io/revision: "9"k8s.kuboard.cn/displayName: financial-managementkubectl.kubernetes.io/last-applied-configuration: |{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{"k8s.kuboard.cn/displayName":"financial-management"},"labels":{"k8s.kuboard.cn/layer":"platform","k8s.kuboard.cn/name":"financial-management"},"name":"financial-management","namespace":"biking"},"spec":{"progressDeadlineSeconds":600,"replicas":1,"revisionHistoryLimit":10,"selector":{"matchLabels":{"k8s.kuboard.cn/name":"financial-management"}},"strategy":{"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"},"template":{"metadata":{"labels":{"k8s.kuboard.cn/name":"financial-management"}},"spec":{"containers":[{"env":[{"name":"TZ","value":"Asia/Shanghai"},{"name":"NACOS","value":"172.16.10.20"}],"image":"harbor.cuiwjrpcvi.com/bktest/financial-management:test","imagePullPolicy":"Always","name":"financial-management","ports":[{"containerPort":8081,"name":"msag7","protocol":"TCP"}],"resources":{},"terminationMessagePath":"/test/termination-log","terminationMessagePolicy":"File"}],"dnsPolicy":"ClusterFirst","hostAliases":[{"hostnames":["rocketmq","kafka","redis"],"ip":"172.16.10.20"}],"imagePullSecrets":[{"name":"harbor-secret"}],"restartPolicy":"Always","schedulerName":"default-scheduler","securityContext":{},"terminationGracePeriodSeconds":30}}}}creationTimestamp: "2023-06-27T08:19:05Z"generation: 11labels:k8s.kuboard.cn/layer: platformk8s.kuboard.cn/name: financial-managementname: financial-managementnamespace: testresourceVersion: "46557189"uid: 89bc052f-e343-489d-bef9-caa7585c8d1e
spec:progressDeadlineSeconds: 600replicas: 1revisionHistoryLimit: 10selector:matchLabels:k8s.kuboard.cn/name: financial-managementstrategy:rollingUpdate:maxSurge: 25%maxUnavailable: 25%type: RollingUpdatetemplate:metadata:annotations:kubectl.kubernetes.io/restartedAt: "2023-12-23T23:21:18+04:00"creationTimestamp: nulllabels:k8s.kuboard.cn/name: financial-managementspec:containers:- env:- name: TZvalue: Asia/Shanghai- name: NACOSvalue: 172.16.10.20- name: BUILD_TAGvalue: ${BUILD_TAG}- name: NAMESPACEvalue: test- name: JAVA_TOOL_OPTIONSvalue: -javaagent:/usr/skywalking/agent/skywalking-agent.jar- name: SW_AGENT_NAMEvalue: financial-management- name: SW_AGENT_COLLECTOR_BACKEND_SERVICESvalue: skywalking-skywalking-helm-oap.skywalking.svc.cluster.local:11800- name: SW_AGENT_FORCE_TLSvalue: "true"image: harbor.cuiwjrpcvi.com/bktest/financial-management:testimagePullPolicy: Alwaysname: financial-managementports:- containerPort: 8081name: msag7protocol: TCPresources: {}terminationMessagePath: /test/termination-logterminationMessagePolicy: FilevolumeMounts:- mountPath: /usr/skywalking/agent/name: volume-2bhb2subPath: skywalking-agentdnsPolicy: ClusterFirsthostAliases:- hostnames:- rocketmq- kafka- redisip: 172.16.10.20imagePullSecrets:- name: harbor-secretrestartPolicy: AlwaysschedulerName: default-schedulersecurityContext: {}terminationGracePeriodSeconds: 30volumes:- name: volume-2bhb2nfs:path: /data/nfsserver: 172.16.10.20       

service文本内容

~# kubectl edit svc financial-management -n testapiVersion: v1
kind: Service
metadata:annotations:kubectl.kubernetes.io/last-applied-configuration: |{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app.kubernetes.io/instance":"financial-management","k8s.kuboard.cn/name":"financial-management"},"name":"financial-management","namespace":"biking"},"spec":{"ports":[{"name":"kjmfca","port":8081,"protocol":"TCP","targetPort":8081}],"selector":{"k8s.kuboard.cn/name":"financial-management"},"sessionAffinity":"None","type":"ClusterIP"}}creationTimestamp: "2023-06-27T08:19:05Z"labels:app.kubernetes.io/instance: financial-managementk8s.kuboard.cn/name: financial-managementname: financial-managementnamespace: testresourceVersion: "5855"uid: 4620bbc0-f8bd-48d9-8ad6-41a69939c31d
spec:clusterIP: 10.68.140.221clusterIPs:- 10.68.140.221internalTrafficPolicy: ClusteripFamilies:- IPv4ipFamilyPolicy: SingleStackports:- name: kjmfcaport: 8081protocol: TCPtargetPort: 8081selector:k8s.kuboard.cn/name: financial-managementsessionAffinity: Nonetype: ClusterIP
status:loadBalancer: {}

依次类推部署其他的pod

5、登录ui控制台
https://skywalking-oap-test.abc.com/General-Service/Services
service图形入下
在这里插入图片描述
Topology图形如下
在这里插入图片描述
查看实例的图形
在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/588546.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

python使用openpyxl为excel模版填充数据,生成多个Sheet页面

目标&#xff1a;希望根据一个给定的excel模版&#xff0c;生成多个Sheet页面&#xff0c;比如模版&#xff1a; 示例程序 import openpyxlexcel_workbook openpyxl.load_workbook("模版.xlsx") for _i in range(3): # 比如填充3个页面# 复制模版sheet页&#x…

基于NXP I.MX8 + Codesys的工业软PLC解决方案

全新i.MX 8M Plus是一个混合人工智能SoC&#xff0c;将先进的嵌入式SoC与最新的人工智能/机器学习硬件NPU技术相结合&#xff0c;通过神经网络加速器&#xff0c;为边缘计算提供强大的机器学习能力&#xff0c;是i.MX 8M Plus一个最为突出的优势。WEC-IMX8P核心板特别适合在机器…

SpringBoot+拦截器(Interceptor)

记录一下SpringBoot的拦截器(Interceptor)使用 拦截器(Interceptor)是AOP面向切面编程的思想来实现的&#xff0c;对于只写代码的来说&#xff0c;具体如何实现不需要多关心&#xff0c;只需要关心如何去使用&#xff0c;会用在那些地方。 当http请求进入Springboot应用程序后…

GBASE南大通用-一文读懂如何用Zabbix监控GBase 8c

南大通用GBase 8c是基于openGauss3.0构建的一款多模多态的分布式数据库&#xff0c;支持行存、列存、内存等多种存储模式和单机、主备式、分布式等多种部署形态&#xff0c;具备多模多态、极高性能、极高可用、极致弹性、极致安全等特性&#xff0c;为金融、政务、互联网等行业…

CGAL的主成分分析

此软件包提供了分析二维和三维对象集的功能。它提供了所有有界对象的轴对齐边界框、质心和主成分分析的计算&#xff0c;以及加权点集的重心。请注意&#xff0c;与大多数CGAL软件包不同&#xff0c;该软件包使用近似方法&#xff08;特别是线性最小二乘拟合&#xff09;&#…

数据采集遇到验证码校验的一般破解方式简述

背景 百度自动采集是一种高效的数据采集方法&#xff0c;但是在采集过程中经常会遇到图片验证码的问题&#xff0c;从而导致采集失败。那么有没有什么方法可以绕过图片验证呢&#xff1f;本文将为您详细介绍。 解决方案 一、使用OCR技术识别验证码 OCR技术可以识别图片中的…

vue实现滑动切换:切换选项时滑块有滑动过渡的效果

效果图 思路&#xff1a; 1. 高亮的色块是独立的一个盒子&#xff0c;需要插入当前激活的内容用来撑开色块盒子的宽度&#xff0c;这样色块的宽度就会和当前激活的内容宽度一致&#xff0c;色块的字体颜色设置透明即可 2. 色块滑动的距离是读当前激活元素的offsetLeft&#x…

文献阅读:LoRA: Low-Rank Adaptation of Large Language Models

文献阅读&#xff1a;LoRA: Low-Rank Adaptation of Large Language Models 1. 文章简介2. 方法介绍3. 实验 & 结论 1. 基础实验 1. Bert系列模型2. GPT系列模型 2. 消解实验 1. 作用矩阵考察2. 中间维度考察3. 扰动程度分析 4. 总结 & 思考 文献链接&#xff1a;htt…

SLAM学习入门--机器学习

文章目录 机器学习逻辑回归&#xff08;LR&#xff09;基本原理为什么 LR 要使用 sigmoid 函数&#xff1f;LR 可以用核函数么&#xff1f;为什么 LR 用交叉熵损失而不是平方损失&#xff1f;LR 能否解决非线性分类问题&#xff1f;LR为什么要离散特征&#xff1f;逻辑回归是处…

Linux文件系统结构及相关命令2 什么是Shell? help cd cd的用法 ls 的用法

Shell 是一种用于与操作系统进行交互的命令行解释器。它是用户与操作系统内核之间的接口&#xff0c;接受用户的命令并将其传递给操作系统进行执行。 在大多数的 Unix-like 操作系统&#xff08;如 Linux 和 macOS&#xff09;以及类 Unix 系统中&#xff0c;Shell 是默认的命…

如何开发一个google插件(二)

前言 在上一篇文章如何开发一个google插件(一)里主要介绍了google插件的基本结构。 在这篇文章中主要结合reactwebpack进行一个代码演示&#xff0c;源码地址&#xff1a;源码地址 下载源码后打开浏览器的扩展程序管理->加载已解压的扩展程序&#xff0c;即可调试插件 此…

在线客服选择要点分析:如何挑选适合您需求的客服解决方案

选择一款好的在线客服系统&#xff0c;可以帮助企业多渠道的触达客户&#xff0c;与客户进行高效的沟通&#xff0c;最终达成转化的目的。 市面上现在成熟的客服系统产品有很多&#xff0c;企业在进行选择时要考虑以下几点&#xff1a; 1、企业需求 市场上的客服系统产品主要…

ArkTS - 组件生命周期

一、先说下自定义组件 在arkTs中&#xff0c;自定义组件分为两种&#xff08;我的总结&#xff09;&#xff1a; 一种是&#xff1a;根组件&#xff0c;就是被装饰器Entry装饰的入口组件&#xff0c;这也是自定义组件(父组件)。 另一种是&#xff1a;没有被Entry装饰的自定义…

分布式存储考点梳理 + 高频面试题

欢迎来到分布式存储模环节&#xff0c;本文我将和你一起梳理面试中分布式系统的数据库的高频考点&#xff0c;做到温故知新。 面试中如何考察分布式存储 广义的分布式存储根据不同的应用领域&#xff0c;划分为以下的类别&#xff1a; 分布式协同系统 分布式文件系统 分布式…

Xline command 去重机制(一)—— RIFL 介绍

为什么要对 command 去重&#xff1f; 在一个接收外部 command 的系统中&#xff0c;通常一个 command 至少要执行一次&#xff0c;我们称其为 at-least-once semantics。如果一个 command 执行失败&#xff0c;系统内部经常会实现一套重试结构来尝试恢复这个问题&#xff0c;…

HTML 基础

文章目录 01-标签语法标签结构 03-HTML骨架04-标签的关系05-注释06-标题标签07-段落标签08-换行和水平线09-文本格式化标签10-图像标签图像属性 11-路径相对路径绝对路径 12-超链接标签13-音频14-视频 01-标签语法 HTML 超文本标记语言——HyperText Markup Language。 超文本…

【分布式配置中心】聊聊Apollo的安装与具体配置变更的原理

【管理设计篇】聊聊分布式配置中心 之前就写过一篇文章&#xff0c;介绍配置中心&#xff0c;但是也只是简单描述了下配置中心的设计点。本篇从apollo的安装到部署架构到核心原理进一步解读&#xff0c;大概看了下apollo的原理&#xff0c;感觉没有必要深究&#xff0c;所以就…

2023年“中银杯”四川省职业院校技能大赛“云计算应用”赛项样题卷③

2023年“中银杯”四川省职业院校技能大赛“云计算应用”赛项&#xff08;高职组&#xff09; 样题&#xff08;第3套&#xff09; 目录 2023年“中银杯”四川省职业院校技能大赛“云计算应用”赛项&#xff08;高职组&#xff09; 样题&#xff08;第3套&#xff09; 模块…

【北亚数据恢复】mysql表被truncate,表数据被delete的数据恢复案例

云服务器数据恢复环境&#xff1a; 华为ECS云服务器&#xff0c;linux操作系统&#xff0c;mysql数据库&#xff08;innodb引擎&#xff09;。作为网站服务器使用。 云服务器故障&#xff1a; 在执行mysql数据库版本更新测试时&#xff0c;误将本应该在测试库上执行的sql脚本执…

亚马逊云科技Amazon Q,一款基于生成式人工智能的新型助手

近日&#xff0c;亚马逊云科技宣布推出Amazon Q&#xff0c;这是一款基于生成式人工智能&#xff08;AI&#xff09;的新型助手&#xff0c;专为辅助工作而设计&#xff0c;可以根据您的业务量身定制。通过连接到公司的信息存储库、代码、数据和企业系统&#xff0c;可以使用Am…