-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update mini notebook image and modify targetport #226
Conversation
b2f2dfc
to
3b8faae
Compare
3b8faae
to
e88a711
Compare
@@ -8,7 +8,7 @@ spec: | |||
type: {{ .Values.server.service.type }} | |||
ports: | |||
- port: {{ .Values.server.service.port}} | |||
targetPort: http |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder why this works ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ok, the names 'http' match and then everything is 80, maybe it is better to differentiate the service port as 80 and container port as 8080
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we could allow to specify the target port in the values file too.
not tested yet |
@@ -30,7 +30,7 @@ spec: | |||
imagePullPolicy: {{ .Values.server.image.pullPolicy }} | |||
ports: | |||
- name: http | |||
containerPort: {{ .Values.server.service.port }} | |||
containerPort: {{ .Values.server.runtime_args.settings.server.host_port }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am trying to wrap my head around this one. Did it work because service.port was set to 80 and host port was http in the templates so since everything was 80 it so happened that it was ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i think it was very lucky because everything was 80
No description provided.