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

optimize yurttunnel server deployment and yurt app manager deployment… #435

Merged
merged 3 commits into from
Aug 27, 2021

Conversation

JameKeal
Copy link
Member

… yaml for system arch, not write for amd64 forever

What type of PR is this?

/kind feature

What this PR does / why we need it:

optimize yurttunnel server deployment and yurt app manager deployment yaml for system arch, not write for amd64 forever.
Now write the "beta.kubernetes.io/arch: amd64" in yurt-tunnel-server-tmpl.go and yurt-app-manager-tmpl.go, when i want to deploy arm64 linux, must to change the label to arm64, It's too complicated.

This PR use parameter to fill the yaml file, Dynamically retrieved at run time

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


other Note

… yaml for system arch, not write for amd64 forever
@openyurt-bot
Copy link
Collaborator

@JameKeal: GitHub didn't allow me to assign the following users: your_reviewer.

Note that only openyurtio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

… yaml for system arch, not write for amd64 forever

What type of PR is this?

/kind feature

What this PR does / why we need it:

optimize yurttunnel server deployment and yurt app manager deployment yaml for system arch, not write for amd64 forever.
Now write the "beta.kubernetes.io/arch: amd64" in yurt-tunnel-server-tmpl.go and yurt-app-manager-tmpl.go, when i want to deploy arm64 linux, must to change the label to arm64, It's too complicated.

This PR use parameter to fill the yaml file, Dynamically retrieved at run time

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


other Note

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openyurt-bot openyurt-bot added the kind/feature kind/feature label Aug 26, 2021
@openyurt-bot openyurt-bot added the size/S size/S 10-29 label Aug 26, 2021
@openyurt-bot openyurt-bot added size/M size/M: 30-99 and removed size/S size/S 10-29 labels Aug 26, 2021
@@ -141,6 +143,8 @@ func NewConvertCmd() *cobra.Command {
cmd.Flags().String("yurt-app-manager-image",
"openyurt/yurt-app-manager:v0.4.0",
"The yurt-app-manager image.")
cmd.Flags().String("system-architecture", "amd64",
"The system architecture of program execution.")
Copy link
Member

Choose a reason for hiding this comment

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

I think that system-architecture of node is used by yurt-app-manager and yurt-tunnel-server, not by all of program execution. so the help information should be modified as following maybe more reasonable.
The system architecture of program execution --> The system architecture of cloud nodes

Copy link
Member Author

Choose a reason for hiding this comment

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

sounds greate and more correct

@rambohe-ch
Copy link
Member

/lgtm
/approve

@openyurt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JameKeal, rambohe-ch

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openyurt-bot openyurt-bot added the approved approved label Aug 27, 2021
@openyurt-bot openyurt-bot merged commit 3b028c0 into openyurtio:master Aug 27, 2021
@rambohe-ch
Copy link
Member

@JameKeal welcome you to apply OpenYurt community member. you can reference the apply example here: openyurtio/community#15

@JameKeal JameKeal deleted the jameKeal-pr1 branch November 6, 2021 02:20
MrGirl pushed a commit to MrGirl/openyurt that referenced this pull request Mar 29, 2022
openyurtio#435)

* optimize yurttunnel server deployment and yurt app manager deployment yaml for system arch, not write for amd64 forever

* Add a new parameter for yurtctl to control the system architecture

* help information describe more correct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved approved kind/feature kind/feature lgtm lgtm size/M size/M: 30-99
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants