묻고 답해요
129만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
왜 워커노드에도 kubectl을 설치하는 것인가요?
아직 한참 배울 게 많은 학생입니다.kubectl은 사용자가 쿠버네티스에 명령을 내릴 때 사용하는 도구라고 들었습니다. 그런데 사용자는 마스터 노드에 대해서만 통신을 진행하면 되는 것으로 알고 있는데 어째서 모든 노드들에 kubectl을 설치해야 하는 것인가요?
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
The repository 'https://apt.kubernetes.io kubernetes-focal Release' does not have a Release file.
아래의 순서로 쿠버네티스 설치 작업하는 도중에 에러가 발생하고 있습니다.apt-get install -y apt-transport-https ca-certificates curlcurl -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.listdeb https://apt.kubernetes.io/ kubernetes-focal main EOFapt-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... DoneE: 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===================================================================답변 부탁드립니다.감사합니다.수고하세요.
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
쿠버네티스 설치 작업하는 도중에 에러가 발생하고 있습니다.쿠버네티스 설치 명령어 순서apt-get install -y apt-transport-https ca-certificates curlcurl -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.listdeb https://apt.kubernetes.io/ kubernetes-xenial mainEOFapt-get updateapt-get update 명령어를 사용하면 404 에러가 뜨고 있습니다.root@k8s-master:/home/vagrant# apt-get install -y apt-transport-https ca-certificates curlReading package lists... DoneBuilding dependency treeReading state information... Doneca-certificates is already the newest version (20230311ubuntu0.20.04.1).The following NEW packages will be installed:apt-transport-httpsThe following packages will be upgraded:curl libcurl42 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 -OKroot@k8s-master:/home/vagrant# cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list> deb https://apt.kubernetes.io/ kubernetes-xenial main> EOFdeb https://apt.kubernetes.io/ kubernetes-xenial mainroot@k8s-master:/home/vagrant# apt-get updateHit:1 http://us.archive.ubuntu.com/ubuntu focal InReleaseGet:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InReleaseHit:4 https://download.docker.com/linux/ubuntu focal InReleaseHit:5 http://security.ubuntu.com/ubuntu focal-security InReleaseIgn:6 https://packages.cloud.google.com/apt kubernetes-xenial InReleaseErr:7 https://packages.cloud.google.com/apt kubernetes-xenial Release404 Not Found [IP: 142.251.214.142 443]Reading package lists... DoneE: 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.
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
ssh 접속
k8s-masterk8s-node01k8s-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)
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
수업전부 다 듣고 나서 질문이 생겼습니다!
virtual box랑 공식문서를 통해서만 진행했을때 오류 때문에 힘들었는데 수업에서 vagrant/terminus 랑 제공해주신 자료덕에 ( SSH private key 지연 문제는 있었지만 .. )성공할 수 있었습니다! 조금 더 활용해 보고 싶어서 시도하다 질문 드립니다. 강의에서는 로컬에서 마스터 노드 , 워커 노드 2개를 한 컴퓨터 내에서 만들었는데 , 혹시 이걸 a 컴퓨터에서는 마스터 노드를 b 컴퓨터에서는 워커노드만 존재하도록 분리할 수 있을까요?? aws, gcp 같은 크동일 네트워크 대역. 가상환경으로만 진행했을때 가능한 지 궁금합니다!++ 수업내용과는 살짝 벗어나긴 했지만 관련해서 같은 네트워크 대역으로 연결할 때ingress , ingress controller , 스케쥴러 ? 들을 통해서 연결할 수 있는지 질문드립니다!( 구글링하다 알게된 개념들이라 정확하지 않을 수 있을것 같습니다 )
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
kubectl run 관련 문제
저번 실습 후, 복습 과정 중에 다시 테스트를 하려고 하니까 이런 오류가 발생합니다.. 저번 실습에서는 service type 변경하고 kubectl get services 에서 확인한 포트번호를 붙여서 웹 브라우저에 접속 시엔 잘 들어가지는데, 명령어가 안먹히네요!
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
kubedam init 명령어 부분
전에 질문드렸던 ip주소는 해결되었고, 포트문제 때문인지 밑 사진처럼 오류가 발생하는데 해결방법 있을까요?
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
vagrant up network interfaces 질문
강의 내에서도 네트워크 부분 안건드리는 것 같아서 그대로 진행하였는데 저런 오류가 발생하였습니다! 어떻게 해결해야될까요?
-
해결됨대세는 쿠버네티스 [초급~중급]
vagrant up 생성 도중 자동 삭제 오류
dfvagrant up Bringing machine 'k8s-master' up with 'virtualbox' provider... Bringing machine 'k8s-node1' up with 'virtualbox' provider... Bringing machine 'k8s-node2' up with 'virtualbox' provider... ==> k8s-master: Importing base box 'centos/7'... ==> k8s-master: Matching MAC address for NAT networking... ==> k8s-master: Checking if box 'centos/7' version '2004.01' is up to date... ==> k8s-master: Setting the name of the VM: k8s_k8s-master_1698817614061_95680 ==> k8s-master: Clearing any previously set network interfaces... ==> k8s-master: Preparing network interfaces based on configuration... k8s-master: Adapter 1: nat k8s-master: Adapter 2: hostonly ==> k8s-master: Forwarding ports... k8s-master: 22 (guest) => 2222 (host) (adapter 1) ==> k8s-master: Running 'pre-boot' VM customizations... ==> k8s-master: Booting VM... ==> k8s-master: Waiting for machine to boot. This may take a few minutes... k8s-master: SSH address: 127.0.0.1:2222 k8s-master: SSH username: vagrant k8s-master: SSH auth method: private key k8s-master: k8s-master: Vagrant insecure key detected. Vagrant will automatically replace k8s-master: this with a newly generated keypair for better security. k8s-master: k8s-master: Inserting generated public key within guest... k8s-master: Removing insecure key from the guest if it's present... k8s-master: Key inserted! Disconnecting and reconnecting using new SSH key... ==> k8s-master: Machine booted and ready! ==> k8s-master: Checking for guest additions in VM... k8s-master: No guest additions were detected on the base box for this VM! Guest k8s-master: additions are required for forwarded ports, shared folders, host only k8s-master: networking, and more. If SSH fails on this machine, please install k8s-master: the guest additions and repackage the box to continue. k8s-master: k8s-master: This is not an error message; everything may continue to work properly, k8s-master: in which case you may ignore this message. ==> k8s-master: Attempting graceful shutdown of VM... ==> k8s-master: Destroying VM and associated drives... C:/Program Files (x86)/Vagrant/embedded/gems/gems/i18n-1.14.1/lib/i18n.rb:210:in `translate': wrong number of arguments (given 2, expected 0..1) (ArgumentError)이렇게 진행이 되며 VM 이 생성 되다가 삭제 됩니다.ㅠㅠ뭐가 잘못되고 있는 걸까요..?답변 부탁 드립니다.
-
해결됨멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
(정보공유) vagrant up 할 때 SSH auth method: private key 문구에서 멈출 때 해결방법 공유합니다.
Window 환경에서 실습을 하는데,이상하게 저는 vagrant up 하고나서SSH auth method: private key이라는 문구가 콘솔에 찍히고, 완전히 멈추는 현상이 있었습니다.검색을 해보니 제법 흔한 일인듯, 검색결과가 많이 나왔고해결법은 다음과 같았습니다. # Master config.vm.define:"k8s-master" do |cfg| cfg.vm.box = "generic/ubuntu2004" cfg.vm.provider:virtualbox do |vb| vb.name="K8s-Master" vb.cpus = 2 vb.memory = 2048 # !!!!!! 아래 2줄 추가 !!!!!! vb.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"] vb.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL] end # ... 생략 ... end 참고링크 : https://github.com/hashicorp/vagrant/issues/11777 만~약에 그래도 안되면 아래처럼 세팅하고 다시 한번 시도해보시길 바랍니다.vb.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ] vb.customize [ "modifyvm", :id, "--uartmode1", "file", File::NULL ] vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ] vb.customize [ "modifyvm", :id, "--cableconnected1", "on" ]
-
미해결구성 관리 자동화 도구 - 앤서블(Ansible)
Packer와 Vagrant 중 현업에서 둘중 얼마나 더 많이 사용하는지 알고 싶습니다.
질문 답변을 제공하지만, 강의 비용에는 Q&A는 포함되어 있지 않습니다. 다만 실습이 안되거나, 잘못된 내용의 경우는 알려주시면 가능한 빠르게 조치하겠습니다![질문 전 답변]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? [예 | 아니요]3. 질문 잘하기 법을 읽어보셨나요? 예(https://www.inflearn.com/blogs/1719)4. 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 네[질문 하기]안녕하세요 hashicorp 사에서 만든 이미지 빌드 툴 에서는Packer와 Vagrant 가 있는걸로 알고 있습니다.혹시 현업에서도 Vagrant를 사용하나요?Vagrant는 커밋이 너무 예전에 된거 같아서.Packer를 통해서 이미지 빌드를 자동화 하고, Vagrant로 동작 테스트 하는 고객사가 있는걸로 알고 있어서.실제 고객사에서는 어떻게 사용하는지 궁금합니다.
-
미해결대세는 쿠버네티스 [초급~중급]
vagrant up 실행 후 완료되지 않는 문제
위 스크린샷의 맨 마지막 라인 출력되고 나서 계속해서 멈춰 있는데요.어떤 문제가 있는 걸까요?
-
해결됨대세는 쿠버네티스 [초급~중급]
쿠버네티스 최신 버전 설치(vagrant file)가 완료된 상태에서 노드 개수를 늘릴 수는 없나요?
강사님, 유익한 강의 잘 듣고 있습니다. 혹시 이미 vagrant file로 설치된 상태에서, vm 개수를 늘릴 수 있을까요? vagrant file 코드를 진행중인 상태에서 변경하면 오류가 날까요? 세개의 노드를 더 설치하고 싶어서 여쭙니다! (최신버전_vagrant file로 환경 구축을 완료하고 여러 실습을 진행한 상태입니다.)
-
미해결
cmd에서 vagrant와 vagrant init 실행이 안됩니다.
안녕하세요 vagrant 파일 다운을받았고, 버전 확인은 되지만 명령어 확인하는 vagrant와 vagrant init 명령을 cmd에서 사용하면 밑의 에러가 뜹니다.. 환경변수에 추가도 해놨는데도 안되서 이유를 모르겠습니다ㅠㅠ
-
미해결대세는 쿠버네티스 [초급~중급]
쿠버네티스 설치용 vagrant file
안녕하세요, 강사님! 수업 잘 듣고 있습니다. 블로그에 올려주신 '쿠버네티스 설치_최신버전'에 있는 vagrant file에 관한 질문인데요. Node 개수를 늘리고 싶다면 (예: 4개) 상단에 있는 NodeCnt를 4로 바꾸기만 하면 될까요? (NodeCnt = 2 -> NodeCnt = 4) -------아래 코드를 입력하면 될까요?------------------------------------------------------------------------ NodeCnt = 4 Vagrant.configure("2") do |config| # config.vbguest.installer_options = { allow_kernel_upgrade: true } config.vm.box = "centos/7" config.vm.provider :virtualbox do |vb| vb.memory = 3072 vb.cpus = 4 end config.vm.provision :shell, privileged: true, inline: $install_common_tools config.vm.define "k8s-master" do |master| master.vm.hostname = "k8s-master" master.vm.network "private_network", ip: "192.168.56.30" master.vm.provision :shell, privileged: true, inline: $provision_master_node end (1..NodeCnt).each do |i| config.vm.define "k8s-node#{i}" do |node| node.vm.hostname = "k8s-node#{i}" node.vm.network "private_network", ip: "192.168.56.#{i + 30}" end end end $install_common_tools = <<-SHELL # ssh password 접속 활성화 sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/g' /etc/ssh/sshd_config; systemctl restart sshd.service # 방화벽 해제 systemctl stop firewalld && systemctl disable firewalld systemctl stop NetworkManager && systemctl disable NetworkManager # Swap 비활성화 swapoff -a && sed -i '/ swap / s/^/#/' /etc/fstab # br_netfilter 모듈 로드 cat <<EOF | tee /etc/modules-load.d/k8s.conf br_netfilter EOF # Iptables 커널 옵션 활성화 cat <<EOF > /etc/sysctl.d/k8s.conf net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 EOF sysctl --system # permissive 모드로 SELinux 설정(효과적으로 비활성화) setenforce 0 sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config # 쿠버네티스 YUM Repository 설정 cat <<EOF | tee /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64 enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg exclude=kubelet kubeadm kubectl EOF # Centos Update yum -y update # Hosts 등록 cat << EOF >> /etc/hosts 192.168.56.30 k8s-master 192.168.56.31 k8s-node1 192.168.56.32 k8s-node2 EOF # 도커 설치 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install -y containerd.io-1.4.9-3.1.el7 docker-ce-3:20.10.8-3.el7.x86_64 docker-ce-cli-1:20.10.8-3.el7.x86_64 mkdir /etc/docker cat > /etc/docker/daemon.json <<EOF { "exec-opts": ["native.cgroupdriver=systemd"], "log-driver": "json-file", "log-opts": { "max-size": "100m" }, "storage-driver": "overlay2", "storage-opts": [ "overlay2.override_kernel_check=true" ] } EOF mkdir -p /etc/systemd/system/docker.service.d # 도커 재시작 systemctl daemon-reload systemctl enable --now docker # 쿠버네티스 설치 yum install -y kubelet-1.22.0-0.x86_64 kubeadm-1.22.0-0.x86_64 kubectl-1.22.0-0.x86_64 --disableexcludes=kubernetes systemctl enable --now kubelet SHELL $provision_master_node = <<-SHELL # 쿠버네티스 초기화 명령 실행 kubeadm init --apiserver-advertise-address 192.168.56.30 --pod-network-cidr=20.96.0.0/12 kubeadm token create --print-join-command > ~/join.sh # 환경변수 설정 mkdir -p $HOME/.kube cp -i /etc/kubernetes/admin.conf $HOME/.kube/config chown $(id -u):$(id -g) $HOME/.kube/config # Kubectl 자동완성 기능 설치 yum install bash-completion -y source <(kubectl completion bash) echo "source <(kubectl completion bash)" >> ~/.bashrc # Calico 설치 curl https://docs.projectcalico.org/manifests/calico.yaml -O kubectl apply -f calico.yaml # Dashboard 설치 kubectl apply -f https://kubetm.github.io/yamls/k8s-install/dashboard-2.3.0.yaml nohup kubectl proxy --port=8001 --address=192.168.56.30 --accept-hosts='^*$' >/dev/null 2>&1 & SHELL ------------------------------------------------------------------------------------------------------------
-
미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
안녕하세요 vagrant 설치중 이슈가 있습니다.
vagrant 설치중에 해당 이슈를 해결하지 못하여 커뮤니티 게시판에 올리게 되었습니다. 현재 github에서 제공중인 코드를 가지고 설치중에 해당 이슈가 발생하였습니다.virtualbox에서는 CentOS-8-Vagrant 이미지 및 cent1까지 생성이 완료되었지만 다음으로 넘어가지를 않았습니다. 제가 해본 부분은 아래 사이트를 참고하엿지만 해결하지 못하였습니다. (참고사이트: https://foxtrotin.tistory.com/482)설치 버전은oracle virtual box 6.1.32 vagrant 2.2.19 입니다. ---- 아래는 에러 코드입니다. PS C:\Users\95par\Desktop\SourceCode\ShellScript_inflearn\VWS_vagrant_script> vagrant up Bringing machine 'cent1' up with 'virtualbox' provider... Bringing machine 'cent2' up with 'virtualbox' provider... Bringing machine 'cent3' up with 'virtualbox' provider... ==> cent1: Preparing master VM for linked clones... cent1: This is a one time operation. Once the master VM is prepared, cent1: it will be used as a base for linked clones, making the creation cent1: of new VMs take milliseconds on a modern system. ==> cent1: Importing base box 'centos/8'... ==> cent1: Cloning VM... ==> cent1: Matching MAC address for NAT networking... ==> cent1: Checking if box 'centos/8' version '2011.0' is up to date... ==> cent1: Setting the name of the VM: cent1 ==> cent1: Clearing any previously set network interfaces... ==> cent1: Preparing network interfaces based on configuration... cent1: Adapter 1: nat cent1: Adapter 2: hostonly cent1: Adapter 3: hostonly ==> cent1: Forwarding ports... cent1: 22 (guest) => 2222 (host) (adapter 1) ==> cent1: Running 'pre-boot' VM customizations... ==> cent1: Booting VM... There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "559fc6ea-9b8c-4885-8832-465175169c51", "--type", "headless"] Stderr: VBoxManage.exe: error: The virtual machine 'cent1' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in 'C:\VirtaulBox\cent1\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
-
미해결그림으로 배우는 쿠버네티스("v1.22"-v1.24, v1.27~)
Vagrant를 사용하시는 이유가 있을까요?
CentOS나 k8s 환경을 구축하려고할때 Vagrant가 아니더라도 다른 IaC 툴인 terraform이나 pulumi같은 선택지도 존재했을것 같은데, Vagrant를 사용하신 이유가 있을까요? 현업에서도 동일하게 Vagrant를 주로 사용해서 프로비저닝하나요? SE나 NE가 아니고, Ruby가 익숙하지 않은 개발자분들이 프로비저닝을 할때 pulumi가 강점이 있을것 같은데 어떻게 생각하시는지도 궁금합니다!
-
미해결쉽게 시작하는 쿠버네티스(v1.25)
vagrant up으로 설치하는 도중 kubeadm init 관련 오류
안녕하세요. 강의 1.2 코드로 쉽게 구성하는 쿠버네티스 랩 환경 구축 도중 에러가 발생해서 질문 드립니다. 아래의 캡처 화면 처럼 m-k8s-1.20 가상머신은 정상적으로 설치된 거 같고 그 이후에 master-node.sh 실행에서 문제가 발생하는 것 같습니다. kubeadm init ~~ 하는 부분에서 아래처럼 오류가 나타나는데 이유를 알 수 있을까요?
-
해결됨그림으로 배우는 쿠버네티스("v1.22"-v1.24, v1.27~)
vagrant up으로 쿠버네티스 환경 구축하는 과정에서 문제가 발생합니다.
안녕하세요, 그림으로 배우는 쿠버네티스(v1.22) 강의 들으며 실습 환경 구추해보고 있는데요, 쿠버네티스 실습 환경 구축을 위해서 1.5 과정의 vagrant up으로 vm을 구성하는 도중에 문제가 발생합니다. WO-m-k8s-1.20는 정상적으로 installed 되었는데요, 문제는 WO-w1-k8s-1.20 설치가 아래 그림처럼 정상적으로 되지 않습니다. SSH auth method: private key 이후에 timed out 되면서 그 다음이 진행이 되고 있지 않는데 혹시 해결 방법을 알 수 있을까요?
-
미해결쉽게 시작하는 쿠버네티스(v1.25)
vagrant up 시 워커노드 가상머신 생성이 잘 안되는 경우(자답)
아래 이미지에서 워커 노드용 가상머신 생성 후 ssh 접속을 시도 하지만 결국 접속하지 못하고 실행 실패 실습환경 - windows 10 pro (버전 20H2) - cpu 6 core - ram 16 오류 현상 - 강의에서 제공되는 vagrant 실행 스크립트 실행시 virtual box의 가상머신 생성이 잘 안됨. - 마스터 노드 가상머신은 항상 생성이 잘 되지만, 워커 노드의 가상머신의 경우 생성이 되는 경우도 있고 안되는 경우도 있음. 해결방법 - 워커노드의 cpu 코어를 1에서 2로 , ram을 1024에서 1746로 변경(마스터 노드와 동일하게)