Skip to content

Commit 8efbd62

Browse files
authored
feat: add service type for karpor server (#66)
* feat: add service type for karpor server
1 parent b375b0c commit 8efbd62

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

charts/karpor/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
apiVersion: v2
44
name: karpor
55
# The Chart Version
6-
version: 0.6.11
6+
version: 0.6.12
77
type: application
88
# The Application Version in the Chart
99
appVersion: 0.5.4

charts/karpor/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Karpor Chart
22

3-
![Version: 0.6.11](https://img.shields.io/badge/Version-0.6.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.4](https://img.shields.io/badge/AppVersion-0.5.4-informational?style=flat-square) [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/karpor)](https://artifacthub.io/packages/helm/kusionstack/karpor)
3+
![Version: 0.6.12](https://img.shields.io/badge/Version-0.6.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.4](https://img.shields.io/badge/AppVersion-0.5.4-informational?style=flat-square) [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/karpor)](https://artifacthub.io/packages/helm/kusionstack/karpor)
44

55
A Helm chart for Karpor, a modern kubernetes visualization tool.
66

@@ -76,6 +76,8 @@ The Karpor Server Component is main backend server. It itself is an `apiserver`,
7676
| server.port | int | `7443` | Port for karpor server. |
7777
| server.replicas | int | `1` | The number of karpor server pods to run. |
7878
| server.resources | object | `{"limits":{"cpu":"500m","ephemeral-storage":"10Gi","memory":"1Gi"},"requests":{"cpu":"250m","ephemeral-storage":"2Gi","memory":"256Mi"}}` | Resource limits and requests for the karpor server pods. |
79+
| server.serviceType | string | `"ClusterIP"` | Service type for the karpor server. The available type values list as ["ClusterIP"、"NodePort"、"LoadBalancer"]. |
80+
7981

8082
### Karpor Syncer
8183

charts/karpor/templates/karpor-server.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ spec:
88
- port: {{ .Values.server.port }}
99
selector:
1010
{{- include "karpor.selectorLabels" (dict "context" . "component" .Values.server.name) | nindent 4 }}
11+
type: {{ .Values.server.serviceType }}
1112
---
1213
apiVersion: apps/v1
1314
kind: Deployment

charts/karpor/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ server:
3838
cpu: 500m
3939
memory: 1Gi
4040
ephemeral-storage: 10Gi
41-
41+
serviceType: ClusterIP
4242

4343
# Configuration for Karpor syncer
4444
syncer:

0 commit comments

Comments
 (0)