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

An improved method for obtaining ip address and port number from cont… #2154

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

goodjava
Copy link
Contributor

如果用户代码docker化后,env的操作成本要比-D传进来的成本低很多.因此env是原生云环境下指定ip和端口的比较好的办法.
env
yes
yes2
这样dashboard 推送rule信息修改就没有任何问题了

@sczyh30 sczyh30 added area/configuration Issues or PRs related to configurations of Sentinel kind/enhancement Category issues or prs related to enhancement. labels Apr 25, 2021
@sczyh30 sczyh30 requested review from jasonjoo2010 and sczyh30 April 26, 2021 02:16
Copy link
Member

@sczyh30 sczyh30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sczyh30
Copy link
Member

sczyh30 commented Apr 27, 2021

Good idea. Supporting config from system env is necessary for cloud-native services. The mechanism of SentinelConfig could be refactored later.

@sczyh30 sczyh30 merged commit 0d22aca into alibaba:master Apr 27, 2021
@sczyh30
Copy link
Member

sczyh30 commented Apr 27, 2021

Thanks for contributing and look forward to more!

@sczyh30 sczyh30 added this to the 1.8.2 milestone Apr 27, 2021
hughpearse pushed a commit to hughpearse/Sentinel that referenced this pull request Jun 2, 2021
…Config (alibaba#2154)

- An improved method for obtaining IP address and port number from containers
linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 14, 2021
…Config (alibaba#2154)

- An improved method for obtaining IP address and port number from containers
linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 16, 2021
…Config (alibaba#2154)

- An improved method for obtaining IP address and port number from containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration Issues or PRs related to configurations of Sentinel kind/enhancement Category issues or prs related to enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants