diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-04-29 00:51:47 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-04-29 22:17:20 +0200 |
commit | 7ac364bb46dd0e4e19f940fe7b67f589ef6b9f95 (patch) | |
tree | 1341b9cd243aa424a6dd7657781e6ee51ff4c3a0 /k8s/rest-api | |
parent | Switch to go for rest-api (diff) | |
download | fs-tracer-backend-7ac364bb46dd0e4e19f940fe7b67f589ef6b9f95.tar.gz fs-tracer-backend-7ac364bb46dd0e4e19f940fe7b67f589ef6b9f95.tar.bz2 fs-tracer-backend-7ac364bb46dd0e4e19f940fe7b67f589ef6b9f95.zip |
Switch to k3s from kind
Diffstat (limited to 'k8s/rest-api')
-rw-r--r-- | k8s/rest-api/templates/service.yaml | 4 | ||||
-rw-r--r-- | k8s/rest-api/values.yaml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/k8s/rest-api/templates/service.yaml b/k8s/rest-api/templates/service.yaml index 4942d60..12994b1 100644 --- a/k8s/rest-api/templates/service.yaml +++ b/k8s/rest-api/templates/service.yaml @@ -7,8 +7,8 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: {{ .Values.service.port }} - nodePort: 30124 + - port: 9999 + targetPort: 80 protocol: TCP name: http selector: diff --git a/k8s/rest-api/values.yaml b/k8s/rest-api/values.yaml index 63d7d5c..e444f95 100644 --- a/k8s/rest-api/values.yaml +++ b/k8s/rest-api/values.yaml @@ -37,8 +37,8 @@ securityContext: {} # runAsUser: 1000 service: - type: NodePort - port: 80 + type: LoadBalancer + port: 80 ingress: enabled: false |