diff --git a/charts/vela-core/README.md b/charts/vela-core/README.md index 32b09f6ee..92c01e367 100644 --- a/charts/vela-core/README.md +++ b/charts/vela-core/README.md @@ -115,7 +115,7 @@ helm install --create-namespace -n vela-system kubevela kubevela/vela-core --wai | `multicluster.clusterGateway.replicaCount` | ClusterGateway replica count | `1` | | `multicluster.clusterGateway.port` | ClusterGateway port | `9443` | | `multicluster.clusterGateway.image.repository` | ClusterGateway image repository | `oamdev/cluster-gateway` | -| `multicluster.clusterGateway.image.tag` | ClusterGateway image tag | `v1.8.0-alpha.3` | +| `multicluster.clusterGateway.image.tag` | ClusterGateway image tag | `v1.8.0` | | `multicluster.clusterGateway.image.pullPolicy` | ClusterGateway image pull policy | `IfNotPresent` | | `multicluster.clusterGateway.resources.requests.cpu` | ClusterGateway cpu request | `50m` | | `multicluster.clusterGateway.resources.requests.memory` | ClusterGateway memory request | `20Mi` | @@ -153,8 +153,8 @@ helm install --create-namespace -n vela-system kubevela kubevela/vela-core --wai | `logDebug` | Enable debug logs for development purpose | `false` | | `logFilePath` | If non-empty, write log files in this path | `""` | | `logFileMaxSize` | Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | `1024` | -| `kubeClient.qps` | The qps for reconcile clients, default is 100 | `100` | -| `kubeClient.burst` | The burst for reconcile clients, default is 200 | `200` | +| `kubeClient.qps` | The qps for reconcile clients | `400` | +| `kubeClient.burst` | The burst for reconcile clients | `600` | | `authentication.enabled` | Enable authentication for application | `false` | | `authentication.withUser` | Application authentication will impersonate as the request User | `true` | | `authentication.defaultUser` | Application authentication will impersonate as the User if no user provided in Application | `kubevela:vela-core` | diff --git a/charts/vela-core/values.yaml b/charts/vela-core/values.yaml index efd11ca03..5a1315a3a 100644 --- a/charts/vela-core/values.yaml +++ b/charts/vela-core/values.yaml @@ -158,7 +158,7 @@ multicluster: port: 9443 image: repository: oamdev/cluster-gateway - tag: v1.8.0-alpha.3 + tag: v1.8.0 pullPolicy: IfNotPresent resources: requests: @@ -266,11 +266,11 @@ admissionWebhooks: enabled: false revisionHistoryLimit: 3 -## @param kubeClient.qps The qps for reconcile clients, default is 100 -## @param kubeClient.burst The burst for reconcile clients, default is 200 +## @param kubeClient.qps The qps for reconcile clients +## @param kubeClient.burst The burst for reconcile clients kubeClient: - qps: 100 - burst: 200 + qps: 400 + burst: 600 ## @param authentication.enabled Enable authentication for application ## @param authentication.withUser Application authentication will impersonate as the request User diff --git a/pkg/monitor/metrics/application.go b/pkg/monitor/metrics/application.go index 0dbd2d619..a80a43189 100644 --- a/pkg/monitor/metrics/application.go +++ b/pkg/monitor/metrics/application.go @@ -55,12 +55,6 @@ var ( ConstLabels: prometheus.Labels{}, }, []string{"phase"}) - // WorkflowInitializedCounter report the workflow initialize execute number. - WorkflowInitializedCounter = prometheus.NewCounterVec(prometheus.CounterOpts{ - Name: "workflow_initialized_num", - Help: "workflow initialize times", - }, []string{}) - // ApplicationPhaseCounter report the number of application phase ApplicationPhaseCounter = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "application_phase_number", @@ -81,11 +75,3 @@ var ( Help: "list resourceTrackers times.", }, []string{"controller"}) ) - -var ( - // ResourceTrackerNumberGauge report the number of resourceTracker - ResourceTrackerNumberGauge = prometheus.NewGaugeVec(prometheus.GaugeOpts{ - Name: "resourcetracker_number", - Help: "resourceTracker number.", - }, []string{"controller"}) -) diff --git a/pkg/monitor/metrics/workflow.go b/pkg/monitor/metrics/workflow.go index e133568be..a2d41136b 100644 --- a/pkg/monitor/metrics/workflow.go +++ b/pkg/monitor/metrics/workflow.go @@ -38,10 +38,8 @@ var collectorGroup = []prometheus.Collector{ ApplicationReconcileTimeHistogram, ApplyComponentTimeHistogram, WorkflowFinishedTimeHistogram, - WorkflowInitializedCounter, ApplicationPhaseCounter, WorkflowStepPhaseGauge, - ResourceTrackerNumberGauge, ClusterIsConnectedGauge, ClusterWorkerNumberGauge, ClusterMasterNumberGauge,