Docker registry + Swift 연동하기 체험기
JunoJunho http://junolab.blogspot.kr/
그래서 오늘 뭘 하는거죠?
• 자기 소개..
• 왜 Swift를…
• 연동 방법
• 느낀점
• Q&A
Android JellyBean .. ?
네,, 결론을 말하자면,, 저는 대학원 어디갈지 고민중인 사람입니다.
Docker Registry + Swift
다른 곳에 저장하고 필요할 때 가져와서(pull) 쓰자.
기본적인 사용법 (+S3) http://blog.nacyot.com/articles/2014-05-08-docker-
registry-introduction/#도커-레지스트리-설치 근데 왜,, Swift는 안해요?
https://github.com/docker/docker-registry
호오?
Pricing, 내 마음대로 Scalable… 등등
Storage 1 Storage 2
Storage 3
Proxy
Storage 1 Storage 2
Storage 3
Proxy으앙 쥬금 ㅋ
Storage 1 Storage 2
Storage 3
Proxy
괜찮음 ㅋㅋ 2개 더있음.
Proxy + Storage(object ,account, container)…
Single 노드에 설치가 잘되니 금방 여러개의 노드에 분산해서 할 수 있겠군..
https://swift.readthedocs.org/en/latest/howto_installmultinode.html
! 저는 여기를 보고… 설치 했습니다..
이제 Swift 설치 했으니 registry 연동하면 되겠지?? ㅋㅋ
Tenant는 Swift를 사용할 때 추가적으로 Keystone과 연동..
이건 또 어떻게.. 설치 하나요..
https://github.com/swiftstack/keystone_install
한큐에 키스톤 설치하고 연동하기.
기본 값으로 User : swiftstack PW : password tenant : SS
그런데,, Swift에 맞게..
https://www.swiftstack.com/docs/integration/keystone.html
Step by Step 통합하기..
Remember tenant : account in swift
user : user in swift role : group in swift
4. role(swift에서 역할)을 할당해주고..
End Point : 접근점 생성하기
그리고 이 과정을 swift user 에 맞게 한번 더 해줍니다..
proxy-server.conf에도 Keystone 설정 추가해줘야죠..
그럼 이제,, registry config..
그리고 이제 일반 registry처럼..
알아.. 나도 처음엔 쉬운줄 알았어..
• 하지말걸…
• Swift 의 경험을 해보고..
• Keystone이랑 연동 해보고..
• 욕도 시원하게 해보고…
왜 Cinder 놔두고 Swift쓰죠?
https://www.mail-archive.com/[email protected]/
msg19838.html
Cinder : Nova에서 나오는 Volume을 잘 분산해서 처리하려구요..
Swift : Object스토리지로 많은 파일을 효율적이고, 싸게 오랜기간 consistent하게 보관할 수 있
습니다..
더 많은 설명은.. https://lists.launchpad.net/openstack/msg19997.html
그런데 영어 ㅋ