Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- VPA
- storageclass
- keda
- docker
- aews
- karpenter
- observability
- AWS
- aws outposts
- 외부 모듈
- 클라우드 국비지원교육
- aews ci/cd
- Jenkins
- Terraform
- grafana
- prometheus
- 국비지원교육
- 단기 합격
- aews vault
- Python
- 클라우드 국비지원교육 후기
- k8s
- eks endpoint access
- 클라우드 엔지니어
- POD
- 합격 후기
- outposts local cluster
- 도커
- EKS
- kubernetes
Archives
- Today
- Total
모험가
kubernetes 설치 본문
이 글은 인프런의 대세는 쿠버네티스 글을 보며 정리한 글입니다.
순서
1. xshell 설치
2. virtual box 설치
3. vagrant 설치
4. k8s 폴더 생성 후 vagrant 파일 끌어오기
C:\Users\사용자>mkdir k8s
C:\Users\사용자>cd k8s
C:\Users\사용자\k8s> curl -O https://kubetm.github.io/yamls/k8s-install/Vagrantfile
5. vagrant up으로 master, node1, node2 생성

다 설치 되었으면 클러스터를 생성할 것임
xshell로 master에 접속
(모든 id,password는 root, vagrant임)
명령어 cat ~/join.sh 치면
cat ~/join.sh
토큰이 나옴

이것을 복사한 후 node1, node2에 붙여 넣기


이후 파드가 준비 되어있는지, 노드들이 붙어있는지 확인하기
[root@k8s-master ~]# kubectl get pod -A
[root@k8s-master ~]# kubectl get nodes

대시보드 접근
http://192.168.56.30:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/workloads?namespace=default
대시보드에서 관리가 가능함
'쿠버네티스 > 기초' 카테고리의 다른 글
| ConfigMap, Secret (기초) (0) | 2022.08.05 |
|---|---|
| Volume (기초) (0) | 2022.07.28 |
| Service (기초) (0) | 2022.07.28 |
| POD (기초) (0) | 2022.07.28 |
| 쿠버네티스란 (0) | 2022.05.17 |