모든 가상머신에 접속 후 sudo apt install virtualbox-ext-pack -y 명령어 실행 시 오류 발생합니다. 명령어 실행 시 발생하는 에러 메시지입니다. user1@master:~$ sudo apt install virtualbox-ext-pack -y Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: virtualbox-ext-pack : Depends: virtualbox (>= 7.0.16-dfsg-0~) but it is not installable or virtualbox-7.0 but it is not installable Depends: virtualbox (< 7.0.16-dfsg-z) but it is not installable or virtualbox-7.0 but it is not installable E: Unable to correct problems, you have held broken packages. 개발환경은 아래와 같습니다. MacBook Pro 14 칩: Apple M3 Pro macOS: Sonoma 14.6.1 VirtualBox 7.2.4 r170995 (Qt6.8.0 on cocoa) 어떻게 해결해야 할 지 도움이 필요합니다. 감사합니다.
PS C:\Users\96tmd\Desktop\hsb\work\k8s-install\vagrant\scripts> vagrant up Bringing machine 'k8s-master' up with 'virtualbox' provider... ==> k8s-master: Box 'generic/ubuntu2004' could not be found. Attempting to find and install... k8s-master: Box Provider: virtualbox k8s-master: Box Version: >= 0 ==> k8s-master: Box file was not detected as metadata. Adding it directly... ==> k8s-master: Adding box 'generic/ubuntu2004' (v0) for provider: virtualbox k8s-master: Downloading: https://vagrantcloud.com/generic/ubuntu2004 k8s-master: The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and that enough disk space is available and then try again. The output from attempting to unpackage (if any): bsdtar.EXE: Error opening archive: Unrecognized archive format
안녕하세요. apt-get update에서 에러가 발생해 위의 정보를 참고하여 7번까지 수행한 후 9번을 수행하는 데 /proc/sys/net/bridge/bridge-nf-call-iptables does not exist 에러가 발생하였습니다. 어떻게 해결해야 할 문제인지 궁금합니다.
안녕하세요? 서진호입니다. 우연찮게 강의를 발견해서 동영상을 보고 실습을 하고 있는데, 맥북 M3에서 vagrant + virtualbox 강의대로 따라해 보던 중에 다음과 같은 에러가 발생해서 문의 드리고자 합니다. 참고로 저는 vagrant 2.4.2 와 virtualbox 7.1.4 버전이빈다. 감사합니다.
안녕하세요. master 구성 8번까지 다 하구요, node01, node02, 번에서 kubeadm join 명령어로 클러스터에 등록하려고 하는데 다음과 같이 오류가 발생해요... Connection refused 가 발생하는데 이유가 뭘까요 ? 이미지 상의 192.168.32.10:6443 로는 telnet 연결은 잘 됩니다. master 에서 systemctl status kubelet 했을 때의 결과 입니다. Nameserver limits exceeded 랑 연관이 있을 까요 ? node02에서 Connection Refuse master에서 systemctl status kubelet 결과
영상 2:36초처럼 일반 pc에서 따라하고싶은데 에러가 나옵니다. 일반 pc cmd창에서 "git clone 도메인주소 https://github.com/joneconsulting/vagrant.git " 입력하게 되면 지정된 경로를찾을수 없다고 나옵니다. 해결방법을 알려주세요.
가상머신에 Docker 설치하기에서 3:48에 가상머신에 vi /etc/hosts를 이용해 파일 수정을 하는부분에서 명령어를 칠 시 블루스크린이 뜹니다. 이런 경우는 어떻게 해결해야할까요. 오라클 vm virualbox에선 명령어가 잘 되는데 Termius에서 ssh접속 후 명령어 실행 시 블루스크린이 뜹니다.
아래의 순서로 쿠버네티스 설치 작업하는 도중에 에러가 발생하고 있습니다. apt-get install -y apt-transport-https ca-certificates curl curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list deb https://apt.kubernetes.io/ kubernetes-focal main EOF apt-get update [에러 로그] =================================================================== Err:7 https://packages.cloud.google.com/apt kubernetes-focal Release 404 Not Found [IP: 172.217.164.110 443] Reading package lists... Done E: The repository 'https://apt.kubernetes.io kubernetes-focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details =================================================================== 답변 부탁드립니다. 감사합니다. 수고하세요.
쿠버네티스 설치 작업하는 도중에 에러가 발생하고 있습니다. 쿠버네티스 설치 명령어 순서 apt-get install -y apt-transport-https ca-certificates curl curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list deb https://apt.kubernetes.io/ kubernetes-xenial main EOF apt-get update apt-get update 명령어를 사용하면 404 에러가 뜨고 있습니다. root@k8s-master:/home/vagrant# apt-get install -y apt-transport-https ca-certificates curl Reading package lists... Done Building dependency tree Reading state information... Done ca-certificates is already the newest version (20230311ubuntu0.20.04.1). The following NEW packages will be installed: apt-transport-https The following packages will be upgraded: curl libcurl4 2 upgraded, 1 newly installed, 0 to remove and 99 not upgraded. Need to get 398 kB of archives. After this operation, 162 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.10 [1,704 B] Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.21 [161 kB] Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.21 [235 kB] Fetched 398 kB in 4s (110 kB/s) Selecting previously unselected package apt-transport-https. (Reading database ... 112280 files and directories currently installed.) Preparing to unpack .../apt-transport-https_2.0.10_all.deb ... Unpacking apt-transport-https (2.0.10) ... Preparing to unpack .../curl_7.68.0-1ubuntu2.21_amd64.deb ... Unpacking curl (7.68.0-1ubuntu2.21) over (7.68.0-1ubuntu2.19) ... Preparing to unpack .../libcurl4_7.68.0-1ubuntu2.21_amd64.deb ... Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.21) over (7.68.0-1ubuntu2.19) ... Setting up apt-transport-https (2.0.10) ... Setting up libcurl4:amd64 (7.68.0-1ubuntu2.21) ... Setting up curl (7.68.0-1ubuntu2.21) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... root@k8s-master:/home/vagrant# curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - OK root@k8s-master:/home/vagrant# cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list > deb https://apt.kubernetes.io/ kubernetes-xenial main > EOF deb https://apt.kubernetes.io/ kubernetes-xenial main root@k8s-master:/home/vagrant# apt-get update Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 https://download.docker.com/linux/ubuntu focal InRelease Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease Ign:6 https://packages.cloud.google.com/apt kubernetes-xenial InRelease Err:7 https://packages.cloud.google.com/apt kubernetes-xenial Release 404 Not Found [IP: 142.251.214.142 443] Reading package lists... Done E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
k8s-master k8s-node01 k8s-node02 위 3개의 vm에 ssh접속할 때 내부 ip 로 접속하면 되는데, 각 vm의 ip를 입력해서 접속하면 되지 않습니다. 이 2가지 방식은 같은 거 아닌가요? ex) 127.0.0.1 - 21022 (O) 127.0.0.1 - 23022 (O) 127.0.0.1 - 24022 (O) 192.168.32.10 - 22 (X) 192.168.32.11 - 22 (X) 192.168.32.12 - 22 (X)
안녕하세요 강사님 유익한 강의 정말 잘 듣고 있습니다. 중간중간 개인 PC의 사양에 따라 서버를 2개 혹은 3개에 대해 꼼꼼히 설명해주시는 것에 정말 감사를 표합니다. 제가 문의 드리고 싶은 것은 기존 "[자료]_가상서버 이미지"에는 Server01과 Server02 두 디렉토리만 존재하는데요. 만약 서버를 3개 띄우고 싶다면, Server03을 어떻게 실행해야하는지 궁금합니다.
virtual box랑 공식문서를 통해서만 진행했을때 오류 때문에 힘들었는데 수업에서 vagrant/terminus 랑 제공해주신 자료덕에 ( SSH private key 지연 문제는 있었지만 .. ) 성공할 수 있었습니다! 조금 더 활용해 보고 싶어서 시도하다 질문 드립니다. 강의에서는 로컬에서 마스터 노드 , 워커 노드 2개를 한 컴퓨터 내에서 만들었는데 , 혹시 이걸 a 컴퓨터에서는 마스터 노드를 b 컴퓨터에서는 워커노드만 존재하도록 분리할 수 있을까요?? aws, gcp 같은 크동일 네트워크 대역. 가상환경으로만 진행했을때 가능한 지 궁금합니다! ++ 수업내용과는 살짝 벗어나긴 했지만 관련해서 같은 네트워크 대역으로 연결할 때 ingress , ingress controller , 스케쥴러 ? 들을 통해서 연결할 수 있는지 질문드립니다! ( 구글링하다 알게된 개념들이라 정확하지 않을 수 있을것 같습니다 )
핵심 내용은 아닌 듯 하여 스킵할 예정이긴 하나 이런 실습 관련 부분도 최신화를 좀 해주었으면 하여 짧게 글 남깁니다... M1 맥북에서 VirtualBox 공유된 강의자료를 실행하고자 하나 VirtualBox 자체에서 M1은 재대로 지원하지 않고 공유받은 이미지도 AMD64 이미지인 듯 합니다 최근 arm 프로세서 사용자도 늘어나는 추세인 만큼 대비 또는 적어도 공지 정도는 필요할 듯 하네요