Skip to content
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

bugfix: can't specify nodePort #35

Merged
merged 1 commit into from
Feb 22, 2021
Merged

bugfix: can't specify nodePort #35

merged 1 commit into from
Feb 22, 2021

Conversation

estherk0
Copy link
Contributor

@estherk0 estherk0 commented Feb 22, 2021

  • es 9200 port는 hotdata, master, http가 공통으로 갖는다.
  • http의 nodePort 30002로 세팅하고 싶지만 targetPort가 모두 9200으로 같아서 설정상 어떻게 해도 적용이 안되는 느낌.
  • 따라서 type: NodePort로만 설정하면 다음과 같이 랜덤하게 nodePort가 잘 적용된다.
eck-elasticsearch-es-hotdata          ClusterIP   None            <none>        9200/TCP             30m
eck-elasticsearch-es-http             NodePort    10.233.5.88     <none>        9200:30928/TCP       16m
eck-elasticsearch-es-master           ClusterIP   None            <none>        9200/TCP             30m
  • random 하게 설정된 nodePort를 가져오도록 validate-lma job을 수정함

@Jaesang Jaesang merged commit dcf69ee into main Feb 22, 2021
@Jaesang Jaesang deleted the fix-bug branch February 22, 2021 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants