Closed th0ger closed 4 months ago
I notice the logs saying
"msg": "Starting server (TLS disabled) on :8080",
"disable-auth": true,
"server-addr": "https://localhost:8443"
The first two lines as expected, but is the server-addr port supposed to be 8443?
@th0ger - thanks for reporting the issue! The helm chart template needs to be fixed. Created an issue - https://github.com/numaproj/helm-charts/issues/10.
@whynowy You're welcome. I did indeed wonder if this was a helm or service issue. But it was not obvious to me to test it with manifests/kustomize.
@whynowy You're welcome. I did indeed wonder if this was a helm or service issue. But it was not obvious to me to test it with manifests/kustomize.
I can help you with a kuztomize manifests change if that would get you unblocked.
@th0ger
cat kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/numaproj/numaflow/config/cluster-install?ref=v1.2.1
patches:
- patch: |
apiVersion: v1
kind: ConfigMap
metadata:
name: numaflow-cmd-params-config
data:
server.insecure: "true"
- patch: |
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/port
value: 8080
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/scheme
value: HTTP
target:
kind: Deployment
name: numaflow-server
- patch: |
- op: replace
path: /spec/ports/0/targetPort
value: 8080
- op: replace
path: /spec/ports/0/port
value: 8080
target:
kind: Service
name: numaflow-server
@th0ger - with latest fix in the helm charts, the issue should have been fixed. Let me know if it works for you when you get a chance. Thanks!
You forgot to release the cart 0.0.3
, again ;-)
$ helm repo update
$ helm search repo numaflow/numaflow --versions
NAME CHART VERSION APP VERSION DESCRIPTION
numaflow/numaflow 0.0.2 A Helm chart for installing Numaflow in Kubernetes
numaflow/numaflow 0.0.1 A Helm chart for installing Numaflow in Kubernetes
But the fix works great!
$ git clone git@github.com:numaproj/helm-charts.git
$ helm install numaflow-git ./helm-charts/charts/numaflow/ -f values.yaml
$ kubectl get svc | grep numaflow-server
numaflow-server ClusterIP 10.96.127.131 <none> 8080/TCP 2m50s
Pods no longer crashing. Port 8080 changed as expected. I can port-forward and run the ui on http://localhost:8080.
You forgot to release the cart
0.0.3
, again ;-)$ helm repo update $ helm search repo numaflow/numaflow --versions NAME CHART VERSION APP VERSION DESCRIPTION numaflow/numaflow 0.0.2 A Helm chart for installing Numaflow in Kubernetes numaflow/numaflow 0.0.1 A Helm chart for installing Numaflow in Kubernetes
But the fix works great!
$ git clone git@github.com:numaproj/helm-charts.git $ helm install numaflow-git ./helm-charts/charts/numaflow/ -f values.yaml $ kubectl get svc | grep numaflow-server numaflow-server ClusterIP 10.96.127.131 <none> 8080/TCP 2m50s
Pods no longer crashing. Port 8080 changed as expected. I can port-forward and run the ui on http://localhost:8080.
Thanks @th0ger !
I'll close this issue.
@chandankumar4 - could you please release 0.0.3
?
Have automated the release process of numaflow here and released the helm chart version 0.0.3. Thanks
@chandankumar4 @whynowy chart 0.0.3
works and initial issue fixed.
Describe the bug Numaflow-server installed with helm is not able to start with UX TLS setting disabled (
server.configs.insecure=true
).To Reproduce
with
The
server.configs.insecure
value was changed from the default value.It crashes/restarts every minute:
No error logs found:
Expected behavior Don't crash.
Environment (please complete the following information):
Message from the maintainers:
Impacted by this bug? Give it a 👍. We often sort issues this way to know what to prioritize.