tpcc and host-agent ansible installer add

This commit is contained in:
변정훈
2023-07-11 16:31:15 +09:00
commit 7e0429176c
456 changed files with 55291 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@@ -0,0 +1,6 @@
apiVersion: v2
name: exem-jspd
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "1.0"

View File

@@ -0,0 +1,2 @@
// helm uninstall cmoa-jspd-client -n imxc
helm install cmoa-jspd-client . -n imxc

View File

@@ -0,0 +1,57 @@
---
apiVersion: v1
kind: Service
metadata:
name: jspd-lite-collector
#namespace: {{ .Values.global.AGENT_NAMESPACE }}
labels:
app: jspd-lite-collector
spec:
ports:
- name: jspd-lite-collector
protocol: TCP
port: 50083
targetPort: 50083
selector:
app: jspd-lite-collector
---
apiVersion: apps/v1
kind: Deployment
metadata:
#namespace: {{ .Values.global.AGENT_NAMESPACE }}
name: jspd-lite-collector
labels:
app: jspd-lite-collector
spec:
replicas: 1
selector:
matchLabels:
app: jspd-lite-collector
template:
metadata:
labels:
app: jspd-lite-collector
spec:
containers:
- name: jspd-lite-collector
image: {{ .Values.global.IMXC_IN_REGISTRY }}/jspdlitecollector:{{ .Values.global.TRACE_AGENT_VERSION }}
imagePullPolicy: IfNotPresent
resources:
limits:
memory: "500Mi"
cpu: "500m"
requests:
cpu: "100m"
ports:
- containerPort: 50083
env:
- name: CMOA_CLST_ID
value: {{ .Values.global.CLUSTER_ID }}
- name: CMOA_JSPDCOLLECT_PORT
value: "50083"
- name: CMOA_DATAGATE_IP
value: {{ .Values.global.DATAGATE_IP }}
- name: CMOA_DATAGATE_PORT
value: "{{ .Values.global.DATAGATE_PORT }}"
- name: LOG_LEVEL
value: INFO

View File

@@ -0,0 +1,14 @@
global:
# cluster variables
CLUSTER_ID: none
IMXC_IN_REGISTRY: none
DATAGATE: none
DATAGATE_IP: none
DATAGATE_PORT: 30051
JSPD_LITE_COLLECTOR_NODEPORT: 40083
JSPD_LITE_COLLECTOR_VERSION: none
TRACE_AGENT_VERSION: none