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

support china region #2947

Merged
merged 1 commit into from
Jul 15, 2017
Merged

support china region #2947

merged 1 commit into from
Jul 15, 2017

Conversation

qqshfox
Copy link
Contributor

@qqshfox qqshfox commented Jul 15, 2017

restore accidentally closed PR #2889

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 15, 2017
@k8s-ci-robot
Copy link
Contributor

Hi @qqshfox. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

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. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 15, 2017
Copy link
Member

@justinsb justinsb left a comment

Choose a reason for hiding this comment

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

LGTM

@justinsb
Copy link
Member

Awesome - thank you @qqshfox.

Can I ask ... what image are you using? I don't have access to cn- , so it would be great to get some recommendations / feedback on what does & doesn't work!

@justinsb justinsb merged commit 3538fe1 into kubernetes:master Jul 15, 2017
@qqshfox
Copy link
Contributor Author

qqshfox commented Jul 15, 2017

What kind of image you are referring to? AMI or dns-controller?

Per PR #2889, for AMI, I copied k8s-1.6-debian-jessie-amd64-hvm-ebs-2017-05-02 from ap-southeast-1.

You can also tell that we can successfully create a complete internal cluster in the existing VPC and subnets from that PR.

@qqshfox qqshfox deleted the support_china branch July 15, 2017 17:30
@qqshfox
Copy link
Contributor Author

qqshfox commented Jul 15, 2017

To improve the stability and reduce the provision time, I downloaded assets used in provision, and uploaded them to a s3 bucket. To use these uploaded assets, I use these env vars:

export AWS_REGION=cn-north-1
export KOPS_BASE_URL=https://s3.cn-north-1.amazonaws.com.cn/$SOME_BUCKET/kops/1.7.0-alpha.1/
export CNI_VERSION_URL=https://s3.cn-north-1.amazonaws.com.cn/$SOME_BUCKET/kubernetes/network-plugins/cni-0799f5732f2a11b329d9e3d51b9c8f2e3759f2ff.tar.gz
export DNSCONTROLLER_IMAGE=qqshfox/dns-controller:1.7.0

and --kubernetes-version https://s3.cn-north-1.amazonaws.com.cn/$SOME_BUCKET/kubernetes/v1.7.0.

Since I modified nodeup, I don't use the official one from kops.

Here is the list:

kubernetes/network-plugins/cni-0799f5732f2a11b329d9e3d51b9c8f2e3759f2ff.tar.gz
kubernetes/v1.7.0/bin/linux/amd64/kube-apiserver.docker_tag
kubernetes/v1.7.0/bin/linux/amd64/kube-apiserver.tar
kubernetes/v1.7.0/bin/linux/amd64/kube-apiserver.tar.sha1
kubernetes/v1.7.0/bin/linux/amd64/kube-controller-manager.docker_tag
kubernetes/v1.7.0/bin/linux/amd64/kube-controller-manager.tar
kubernetes/v1.7.0/bin/linux/amd64/kube-controller-manager.tar.sha1
kubernetes/v1.7.0/bin/linux/amd64/kube-proxy.docker_tag
kubernetes/v1.7.0/bin/linux/amd64/kube-proxy.tar
kubernetes/v1.7.0/bin/linux/amd64/kube-proxy.tar.sha1
kubernetes/v1.7.0/bin/linux/amd64/kube-scheduler.docker_tag
kubernetes/v1.7.0/bin/linux/amd64/kube-scheduler.tar
kubernetes/v1.7.0/bin/linux/amd64/kube-scheduler.tar.sha1
kubernetes/v1.7.0/bin/linux/amd64/kubectl
kubernetes/v1.7.0/bin/linux/amd64/kubectl.sha1
kubernetes/v1.7.0/bin/linux/amd64/kubelet
kubernetes/v1.7.0/bin/linux/amd64/kubelet.sha1
kops/1.7.0-alpha.1/images/protokube.tar.gz
kops/1.7.0-alpha.1/images/protokube.tar.gz.sha1
kops/1.7.0-alpha.1/linux/amd64/nodeup
kops/1.7.0-alpha.1/linux/amd64/nodeup.sha1
kops/1.7.0-alpha.1/linux/amd64/utils.tar.gz
kops/1.7.0-alpha.1/linux/amd64/utils.tar.gz.sha1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants