Skip to content
Open

4.1 #160

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
0ec7e4f
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 7, 2020
f2e8112
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 7, 2020
6a85504
Update install.sh
seonghoon-jeong Oct 7, 2020
0060e35
Merge pull request #82 from tmax-cloud/seonghoon-jeong-patch-1
minjae-song Oct 7, 2020
4d89eaf
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 7, 2020
196d427
Merge pull request #84 from jinho0928/4.1
haemyung Oct 7, 2020
c25a131
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 12, 2020
b7a6b0f
Update tekton ci/cd install guide
cqbqdd11519 Oct 12, 2020
192b057
Merge pull request #85 from cqbqdd11519/4.1
cqbqdd11519 Oct 12, 2020
9f20c3f
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 12, 2020
8c403cc
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
ae861c5
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
1326faa
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
526d662
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
8fe3530
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
c76b714
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
f22d534
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
da0ef86
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
e77f9f7
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
91b3fac
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
613feb9
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
26b342a
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
d425e91
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
68417a9
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 13, 2020
39c8739
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 14, 2020
fcf86ed
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 14, 2020
76cd9fa
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 14, 2020
bb13e91
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 14, 2020
e1d973b
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 14, 2020
683e094
Update KUBE_VERSION_UPGRADE_README.md
haemyung Oct 14, 2020
e9bf05d
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 14, 2020
5dbeb41
Merge pull request #86 from jinho0928/4.1
haemyung Oct 14, 2020
fd9109d
Update 2.hyperauth_deployment.yaml
dnxorjs1 Oct 20, 2020
e797c09
Merge pull request #88 from tmax-cloud/dnxorjs1-patch-1
minjae-song Oct 20, 2020
5e7d97c
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 20, 2020
9bef2b9
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 20, 2020
a55588d
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 20, 2020
b14f6fc
Update README.md
minwy23 Oct 20, 2020
311a18d
Delete imagelist
minwy23 Oct 21, 2020
c2e8c3d
Delete kustomize-apply.sh
minwy23 Oct 21, 2020
94f2906
Delete kfctl_hypercloud_kubeflow.v1.0.2.yaml
minwy23 Oct 21, 2020
b28ee82
Delete kustomize.tar.gz
minwy23 Oct 21, 2020
0a6af14
Delete image-push.sh
minwy23 Oct 21, 2020
b69ca68
Delete sed.sh
minwy23 Oct 21, 2020
98d5c91
Add files via upload
minwy23 Oct 21, 2020
9978589
Update README.md
minwy23 Oct 21, 2020
1a8b5bc
Update README.md
minwy23 Oct 21, 2020
834372f
Update README.md
minwy23 Oct 21, 2020
11e1874
Update README.md
minwy23 Oct 21, 2020
938e9e8
podSubnet 변수 처리
seonghoon-jeong Oct 21, 2020
9c45eed
Merge pull request #91 from tmax-cloud/seonghoon-jeong-patch-2
minjae-song Oct 21, 2020
c3952ca
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Oct 21, 2020
9fbefa7
Update README.md
hyunchaeShin Oct 21, 2020
eaa7b39
Update README.md
hyunchaeShin Oct 21, 2020
20283f8
Add files via upload
minwy23 Oct 21, 2020
d9724dd
Merge pull request #89 from jinho0928/4.1
haemyung Oct 21, 2020
091b25e
Merge pull request #92 from jaihwan104/4.1
minjae-song Oct 21, 2020
b73531a
Update README.md
minjae-song Oct 21, 2020
1ae7789
Update 2.hyperauth_deployment.yaml
minjae-song Oct 21, 2020
446782c
change Install Steps link url
Oct 21, 2020
05ba849
change Install Steps link url
yshcoffee Oct 21, 2020
b7ee16c
Update 3.tmax-realm-export.json
minjae-song Oct 21, 2020
7262050
Merge pull request #94 from tmax-cloud/yshcoffee-patch-1
yshcoffee Oct 22, 2020
94b5ec5
Update tmaxRealmImport.sh
dnxorjs1 Oct 22, 2020
f88d175
Merge pull request #95 from tmax-cloud/dnxorjs1-patch-2
minjae-song Oct 22, 2020
a5d4fcc
Merge branch '4.1' of https://github.com/tmax-cloud/hypercloud-instal…
Oct 23, 2020
fc15efc
change Nginx Ingress Controller 설치 url
Oct 23, 2020
0a66cd6
Merge pull request #98 from tmax-cloud/yshcoffee-patch
yshcoffee Oct 23, 2020
e74fce3
Update imagelist
minwy23 Oct 23, 2020
05b13c7
Add files via upload
minwy23 Oct 23, 2020
33a6a52
Add files via upload
minwy23 Oct 23, 2020
a781c99
[mod] install CRD
Oct 26, 2020
c6341ba
Merge pull request #100 from tmax-cloud/yshcoffee-patch-2
yshcoffee Oct 26, 2020
2129d3f
registry 주소 환경 설정으로 추가
Oct 26, 2020
28d195f
Merge pull request #103 from tmax-cloud/yshcoffee-patch-2
yshcoffee Oct 26, 2020
00d2b66
Update README.md
hbinkim Oct 26, 2020
56a97a9
Update 1.initialization.yaml
dnxorjs1 Oct 27, 2020
fbe86fc
Merge pull request #106 from tmax-cloud/dnxorjs1-patch-5
minjae-song Oct 27, 2020
d236d31
Merge pull request #105 from tmax-cloud/hbinkim-patch-1
minjae-song Oct 27, 2020
766921a
Update install.sh
seonghoon-jeong Oct 28, 2020
c54243d
Update 2.hyperauth_deployment.yaml
dnxorjs1 Oct 29, 2020
5d511ff
Update imagelist
minwy23 Oct 29, 2020
8249adf
Add files via upload
minwy23 Oct 30, 2020
386edb5
Update readMe.md
minwy23 Oct 30, 2020
28e5665
Update readMe.md
minwy23 Oct 30, 2020
038a9c9
Update readMe.md
minwy23 Oct 30, 2020
6ac4dfc
Update imagelist
minwy23 Oct 30, 2020
b652ccb
Add files via upload
minwy23 Oct 30, 2020
bb42872
Merge pull request #107 from tmax-cloud/seonghoon-jeong-patch-3
minjae-song Nov 2, 2020
118abe1
Merge pull request #109 from tmax-cloud/dnxorjs1-patch-6
minjae-song Nov 2, 2020
0e435aa
Update install.sh
seonghoon-jeong Nov 5, 2020
c1e1388
Merge pull request #110 from tmax-cloud/seonghoon-jeong-patch-4
minjae-song Nov 5, 2020
4b165e5
Add files via upload
minwy23 Nov 12, 2020
abf8d12
Create KUBE_CERTIFICATE_UPDATE_README.md
jinho0928 Dec 1, 2020
c570360
Merge pull request #117 from jinho0928/4.1
jwcheong0420 Dec 1, 2020
7604855
Update KUBE_CERTIFICATE_UPDATE_README.md
jinho0928 Dec 2, 2020
cb3cb04
Merge pull request #119 from jinho0928/4.1
jwcheong0420 Dec 2, 2020
2d909a3
add auth init install step
yshcoffee Dec 3, 2020
c4709ba
Merge pull request #121 from tmax-cloud/yshcoffee-patch-1
minjae-song Dec 4, 2020
a720956
Update README.md
dnxorjs1 Dec 4, 2020
d77fe55
Merge pull request #128 from tmax-cloud/dnxorjs1-patch-1
minjae-song Dec 4, 2020
fdf9d91
Update README.md
dnxorjs1 Dec 4, 2020
5376b14
1.0.10.0 --> 1.0.5.6 버전 변경
dnxorjs1 Dec 7, 2020
3849e3f
Merge pull request #129 from tmax-cloud/dnxorjs1-patch-2
minjae-song Dec 7, 2020
2450503
Merge pull request #130 from tmax-cloud/dnxorjs1-patch-3
minjae-song Dec 7, 2020
8bf7520
add cert update
jinho0928 Dec 8, 2020
2ad7c0f
Update README.md
dnxorjs1 Dec 10, 2020
a5bae7e
Merge pull request #132 from jinho0928/4.1
minjae-song Dec 10, 2020
3ea00e7
Merge pull request #134 from tmax-cloud/dnxorjs1-patch-4
minjae-song Dec 10, 2020
c30a1ee
메일 필수 입력 정보 추가
dnxorjs1 Dec 17, 2020
0661bfd
Merge pull request #135 from tmax-cloud/dnxorjs1-patch-5
minjae-song Dec 17, 2020
8eabac9
Update README.md
dnxorjs1 Dec 17, 2020
0aa3c5c
Merge pull request #136 from tmax-cloud/dnxorjs1-patch-6
minjae-song Dec 17, 2020
1202bad
externalTrafficPolicy: Local 추가
dnxorjs1 Dec 24, 2020
ec19eb1
Merge pull request #137 from tmax-cloud/dnxorjs1-patch-7
minjae-song Dec 24, 2020
860213d
[fix] sed command: image tag
yshcoffee Dec 30, 2020
a86efe6
Merge pull request #138 from tmax-cloud/yshcoffee-patch-3
yshcoffee Dec 30, 2020
a136094
[fix] sed command: image tag
yshcoffee Dec 30, 2020
15db29c
Update README.md
sw-cho Dec 30, 2020
4106d7f
Update 02_webhook-deployment.yaml
sw-cho Dec 30, 2020
0255b99
Merge pull request #139 from tmax-cloud/yshcoffee-patch-1
minjae-song Dec 30, 2020
c685abd
Merge pull request #140 from tmax-cloud/chosangwon93-patch-1
minjae-song Dec 30, 2020
affaecc
[feat] demo시나리오 guide 수정
RhoJeongwan Jan 15, 2021
9c00f8a
[feat] kubeflow 삭제 가이드 추가
RhoJeongwan Jan 15, 2021
ac44dd1
Update KUBE_VERSION_UPGRADE_README.md
jinho0928 Jan 18, 2021
cf56309
Update README.md
jinho0928 Jan 18, 2021
323f7a4
Merge pull request #144 from jinho0928/4.1
jwcheong0420 Jan 18, 2021
ff6e509
Merge pull request #143 from tmax-cloud/jw
RhoJeongwan Jan 19, 2021
30262eb
[feat] kfctl 업데이트 내용 폐쇄망 환경 가이드 수정
RhoJeongwan Jan 20, 2021
98b7d16
add a method to change installation yaml file for private registry to…
Jan 26, 2021
62ddd62
Merge pull request #147 from tmax-cloud/kubevirt-readme-patch
jwcheong0420 Jan 26, 2021
6144798
[feat] kubeflow readme file uri 변경
RhoJeongwan Jan 27, 2021
e0da71f
update nvidia-device-plugin
taesunny Jan 29, 2021
328d435
Merge pull request #149 from taesunny/4.1
jwcheong0420 Jan 29, 2021
3d6bb28
update nvidia device infra installer
taesunny Jan 29, 2021
2d5d4d4
Merge pull request #151 from taesunny/4.1
hyunwoo-kim7 Feb 1, 2021
c8f36ca
[mod] README and script modify.
Feb 2, 2021
b0c4311
Merge pull request #155 from for2cho/4.1
hyunwoo-kim7 Feb 2, 2021
8e1f3c1
Update README.md
RhoJeongwan Feb 8, 2021
64ab9a6
[mod] separate guide A, B
Feb 9, 2021
e09351e
[mod] modify some words.
Feb 9, 2021
6366809
[mod] modify some link
Feb 9, 2021
32b2df3
[mod] modify filename in nolb script
Feb 9, 2021
4bfb361
Merge pull request #156 from for2cho/4.1
hyunwoo-kim7 Feb 9, 2021
1751110
[mod] modify k8s master guide link
Feb 22, 2021
b28809b
Merge pull request #159 from for2cho/4.1
hyunwoo-kim7 Feb 22, 2021
0b125e9
[fix] fix invalid istio install guide path
tom721 May 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions HyperAuth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,30 @@ LoadBalancer, NodePort type의 service 생성 가능

## Step 2. SSL 인증서 생성
* 목적 : `HTTPS 인증을 위한 openssl 인증서를 생성하고 secret으로 변환`
* 생성 순서 : 아래 명령어를 실행하여 인증서 생성 및 secret을 생성 (Master Node의 특정 directory 내부에서 실행 권장)
* 생성 순서 : 아래 명령어를 실행하여 인증서 생성 및 secret을 생성 (Master Node의 특정 directory 내부에서 실행 권장) (인증서 기한 10년 2020-12-04 이후부터 적용, 이전은 1년)
```bash
$ openssl req -newkey rsa:4096 -nodes -sha256 -keyout hyperauth.key -x509 -subj "/C=KR/ST=Seoul/O=tmax/CN=$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)" -days 365 -config <(cat /etc/ssl/openssl.cnf <(printf "[v3_ca]\nsubjectAltName=IP:$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)")) -out hyperauth.crt
$ CentOS의 경우 : openssl req -newkey rsa:4096 -nodes -sha256 -keyout hyperauth.key -x509 -subj "/C=KR/ST=Seoul/O=tmax/CN=(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)" -days 365 -config <(cat /etc/pki/tls/openssl.cnf <(printf "[v3_ca]\nsubjectAltName=IP:$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)")) -out hyperauth.crt
$ openssl req -newkey rsa:4096 -nodes -sha256 -keyout hyperauth.key -x509 -subj "/C=KR/ST=Seoul/O=tmax/CN=$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)" -days 3650 -config <(cat /etc/ssl/openssl.cnf <(printf "[v3_ca]\nsubjectAltName=IP:$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)")) -out hyperauth.crt
$ CentOS의 경우 : openssl req -newkey rsa:4096 -nodes -sha256 -keyout hyperauth.key -x509 -subj "/C=KR/ST=Seoul/O=tmax/CN=$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)" -days 3650 -config <(cat /etc/pki/tls/openssl.cnf <(printf "[v3_ca]\nsubjectAltName=IP:$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)")) -out hyperauth.crt
$ kubectl create secret tls hyperauth-https-secret --cert=./hyperauth.crt --key=./hyperauth.key -n hyperauth
$ cp hyperauth.crt /etc/kubernetes/pki/hyperauth.crt
```
* 비고 :
* Kubernetes Master가 다중화 된 경우, hyperauth.crt를 각 Master 노드들의 /etc/kubernetes/pki/hyperauth.crt 로 cp

* 인증서 만료 됐을때
* 인증서 만료 확인 : openssl x509 -in hyperauth.crt -noout -dates
* 인증서 재발급 및 secret 생성 적용
```bash
// 10년 짜리 인증서 재발급
$ openssl req -newkey rsa:4096 -nodes -sha256 -keyout hyperauth.key -x509 -subj "/C=KR/ST=Seoul/O=tmax/CN=$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)" -days 3650 -config <(cat /etc/ssl/openssl.cnf <(printf "[v3_ca]\nsubjectAltName=IP:$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)")) -out hyperauth.crt
$ CentOS의 경우 : openssl req -newkey rsa:4096 -nodes -sha256 -keyout hyperauth.key -x509 -subj "/C=KR/ST=Seoul/O=tmax/CN=(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)" -days 3650 -config <(cat /etc/pki/tls/openssl.cnf <(printf "[v3_ca]\nsubjectAltName=IP:$(kubectl describe service hyperauth -n hyperauth | grep 'LoadBalancer Ingress' | cut -d ' ' -f7)")) -out hyperauth.crt

// hyperauth-https-secret-renewed 라는 이름으로 secret을 새롭게 만든다.
$ kubectl create secret tls hyperauth-https-secret-renewed --cert=./hyperauth.crt --key=./hyperauth.key -n hyperauth
$ cp hyperauth.crt /etc/kubernetes/pki/hyperauth.crt

// hyperauth deploy의 mount secret 이름을 바꾼다.
$ kubectl patch deployment hyperauth -n hyperauth --patch '{"spec":{"template":{"spec":{"volumes":[{"name":"ssl","secret":{"secretName":"hyperauth-https-secret-renewed"}}]}}}}'
```

## Step 3. HyperAuth Deployment 배포
* 목적 : `HyperAuth 설치`
Expand All @@ -115,7 +129,13 @@ LoadBalancer, NodePort type의 service 생성 가능
* {HYPERCLOUD-CONSOLE_IP} = $(kubectl describe service console-lb -n console-system | grep 'LoadBalancer Ingress' | cut -d
' ' -f7)
* 실행 : ./tmaxRealmImport.sh {HYPERAUTH_SERVICE_IP} {HYPERCLOUD-CONSOLE_IP}

* 메일 정보 입력
* Realm Settings - Email에 필수 입력 란을 채워야 메일 전송이 이루어진다.
* Host, From 을 입력한다. ex) mail.tmax.co.kr, [email protected]
* Enable Authentication을 ON 으로 바꾼다.
* Username, Password를 입력한다. (mail.tmax.co.kr에 로그인 할 수 있는 관리자 계정)
* Manage account - Account 의 Username, Email, First name, Last name을 입력한다.

## Step 4. Kubernetes OIDC 연동
* 목적 : `Kubernetes의 RBAC 시스템과 HyperAuth 인증 연동`
* 생성 순서 :
Expand All @@ -133,7 +153,7 @@ LoadBalancer, NodePort type의 service 생성 가능
```

* 비고 :
* 자동으로 kube-apiserver 가 재기동 됨
* 자동으로 kube-apiserver 가 재기동 됨

#HyperAuth 유저 Migration Guide
## Hypercloud 4.0 User (CRD) Hyperauth 로 Migration
Expand Down
Loading