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

feature: add allinone to deploy pouch as available container to kubernetes #1070

Merged
merged 1 commit into from
Apr 9, 2018

Conversation

ZouRui89
Copy link
Contributor

@ZouRui89 ZouRui89 commented Apr 8, 2018

Signed-off-by: Zou Rui [email protected]

Ⅰ. Describe what this PR did

This script allows users to init kuberenete master node with pouch containers available.
Both Ubuntu and CentOS are supported.

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

After running this script, the user can then use

kubeadm join ...

to test whether the master node has been successfully initiated.

Ⅴ. Special notes for reviews

@ZouRui89
Copy link
Contributor Author

ZouRui89 commented Apr 8, 2018

@YaoZengzeng PTAL

config_kubelet() {
sed -i '2 i\Environment="KUBELET_EXTRA_ARGS=--container-runtime=remote --container-runtime-endpoint=unix:///var/run/pouchcri.sock --image-service-endpoint=unix:///var/run/pouchcri.sock"' /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
systemctl daemon-reload
systemctl start kubelet
Copy link
Contributor

Choose a reason for hiding this comment

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

Please make the indentation consistent.

@YaoZengzeng
Copy link
Contributor

LGTM

@YaoZengzeng YaoZengzeng merged commit 2bda9dc into AliyunContainerService:master Apr 9, 2018
@ZouRui89 ZouRui89 deleted the deploy branch April 27, 2018 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants