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

feat: platform environment variables #267

Merged
merged 6 commits into from
Jul 19, 2024
Merged

Conversation

CeerDecy
Copy link
Member

@CeerDecy CeerDecy commented Jul 15, 2024

add platform environment variables

@luobily @iutx

Erda Issues 1

Erda Issues 2

Copy link
Member

@iutx iutx left a comment

Choose a reason for hiding this comment

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

docs/2.4/manual/dop/guides/reference/env.md Outdated Show resolved Hide resolved
docs/2.4/manual/dop/guides/reference/env.md Show resolved Hide resolved
docs/2.4/manual/dop/guides/reference/env.md Outdated Show resolved Hide resolved
docs/2.4/manual/dop/guides/reference/env.md Outdated Show resolved Hide resolved
docs/2.4/manual/dop/guides/reference/env.md Outdated Show resolved Hide resolved
docs/2.4/manual/dop/guides/reference/env.md Outdated Show resolved Hide resolved
|-------------------------|------------------|---------------------------------------|
| `POD_IP` | Pod IP | 10.16.3.194 |
| `SELF_PORT` | Pod端口 | 25565 |
| `SELF_PORT(n)` | Pod开放的端口(n >= 0) | 25565 |
Copy link
Member

Choose a reason for hiding this comment

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

需要确认下,现在除了 0 以外是否还存在其他的标号

Copy link
Member Author

Choose a reason for hiding this comment

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

没有其他标号

image


## Common Environment Variables

> The following environment variables are present during both pipeline execution and application runtime.
Copy link
Member

Choose a reason for hiding this comment

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

Runtime 是平台定义含义

docs/2.4/manual/dop/guides/reference/env.md Outdated Show resolved Hide resolved
@CeerDecy CeerDecy requested a review from iutx July 19, 2024 01:34
Copy link
Member

@iutx iutx left a comment

Choose a reason for hiding this comment

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

/approve

@iutx iutx merged commit 8ea6d5f into erda-project:master Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants