-
Notifications
You must be signed in to change notification settings - Fork 950
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
feature: replace downloading k8s components from googleapis in allinone with apt from aliyun mirrors #2402
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2402 +/- ##
==========================================
+ Coverage 68.45% 68.48% +0.02%
==========================================
Files 275 275
Lines 18291 18278 -13
==========================================
- Hits 12522 12517 -5
+ Misses 4340 4334 -6
+ Partials 1429 1427 -2
|
49c7700
to
3cbae41
Compare
@fuweid PTAL. |
3cbae41
to
9fa679f
Compare
9fa679f
to
1098d60
Compare
@@ -139,6 +139,7 @@ Environment="KUBELET_EXTRA_ARGS=--container-runtime=remote --container-runtime-e | |||
EOF | |||
|
|||
sudo systemctl daemon-reload | |||
sudo systemctl start kubelet |
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.
It's not necessary. :)
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.
Change it into restart
. I think it might be necessary since kubelet config changed.
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.
In fact, kubelet will be started automatically in the process of kubeadm init
, but it's ok too. :)
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.
OK, i got it. THX. Delete it.
Have you tested it in your local environment? If not, please take it. Thanks! |
@starnop Have tested. |
1098d60
to
3814e46
Compare
8627081
to
e0ecd08
Compare
…m aliyun mirrors Signed-off-by: mathspanda <mathspanda826@gmail.com>
e0ecd08
to
8c675a7
Compare
Codecov Report
@@ Coverage Diff @@
## master #2402 +/- ##
==========================================
+ Coverage 68.45% 68.47% +0.01%
==========================================
Files 275 275
Lines 18291 18291
==========================================
+ Hits 12522 12524 +2
+ Misses 4340 4339 -1
+ Partials 1429 1428 -1
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #2402 +/- ##
==========================================
+ Coverage 68.45% 68.47% +0.01%
==========================================
Files 275 275
Lines 18291 18291
==========================================
+ Hits 12522 12524 +2
+ Misses 4340 4339 -1
+ Partials 1429 1428 -1
|
@starnop could we move on? |
Sorry for delay it, I have tested it locally and LGTM. Thanks for your contribution. :) |
Signed-off-by: mathspanda mathspanda826@gmail.com
Ⅰ. Describe what this PR did
Replace kubernetes deployment steps on ubuntu in allinone_aliyun.sh into apt-installing from aliyun mirrors, instead of downloading k8s components from googleapis.com.
Ⅱ. Does this pull request fix one issue?
#2397
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
None
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
None