bcdedit /set hypervisorlaunchtype off
6 là một công cụ để tạo và quản lý môi trường máy ảo. Nó thường được coi là một dạng
bcdedit /set hypervisorlaunchtype off
7, cho phép chúng ta khởi tạo và quản lý cơ sở hạ tầng của mình bằng code thay vì chọn bằng tay trên console. Vagrant chủ yếu đóng vai trò là công cụ sử dụng cho môi trường máy ảo và thường sẽ không dùng để quản lý cơ sở hạ tầng Production. Bắt đầuChúng ta sẽ tạo các máy ảo với
bcdedit /set hypervisorlaunchtype off
8 bởi vì nó miễn phí và hoạt động ổn trên tất cả các hệ điều hành. Đầu tiên, tải và cài đặt VirtualBox, Vagrant trên máy tính của bạn. Chúng ta sẽ xây dựng các máy ảo theo khai báo trong
bcdedit /set hypervisorlaunchtype off
9. Tạo Vagrantfile với nội dung như sau vào thư mục của bạn.
# -*- mode: ruby -*-
# vi:set ft=ruby sw=2 ts=2 sts=2:
# Xác định số lượng máy control plane (MASTER_NODE) và máy node (WORKER_NODE)
NUM_MASTER_NODE = 1
NUM_WORKER_NODE = 2
IP_NW = "192.168.56."
MASTER_IP_START = 1
NODE_IP_START = 2
# Tất cả thiết lập Vagrant được khai báo dưới đây. Số "2" trong Vagrant.configure
# là thiết lập phiên bản sử dụng
# Đừng thay đổi trừ khi bạn biết mình đang làm gì
Vagrant.configure("2") do |config|
# Để tham khảo thêm, xem tài liệu tại
# https://docs.vagrantup.com.
# Tất cả môi trường mà Vagrant xây dựng đều cần một box. Bạn có thể tìm các
# box tại https://vagrantcloud.com/search.
# Đây là một số thông tin chi tiết về vagrant box "ubuntu/bionic64":
# Hệ điều hành: Ubuntu 18.04 LTS (Bionic Beaver)
# Ubuntu 18.04 LTS sẽ được cập nhật bảo mật và sửa lỗi
# từ Canonical, công ty đứng sau Ubuntu, cho đến tháng 4 năm 2023
# đối với bản desktop và server, và đến tháng 4 năm 2028 đối
# với bản server có Extended Security Maintenance (ESM).
# Kiến trúc: x86_64 (64-bit)
# Dung lượng bộ nhớ: 10 GB
# RAM: 2 GB
# CPUs: 2
# Giao diện đồ họa: None (headless)
# Người tạo: VirtualBox
config.vm.box = "ubuntu/bionic64"
# Tắt tính năng tự động cập nhật của box. Nếu tắt,
# boxes sẽ chỉ kiểm tra cập nhật khi người dùng chạy
# `vagrant box outdated`. Không khuyến khích.
config.vm.box_check_update = false
# Xem thêm tài liệu của Virtual box tại
# https://developer.hashicorp.com/vagrant/docs/providers/virtualbox/configuration
# Khởi tạo Control Plane
(1..NUM_MASTER_NODE).each do |i|
config.vm.define "kubemaster" do |node|
node.vm.provider "virtualbox" do |vb|
vb.name = "kubemaster"
vb.memory = 2048
vb.cpus = 2
end
node.vm.hostname = "kubemaster"
node.vm.network :private_network, ip: IP_NW + "#{MASTER_IP_START + i}"
end
end
# Khởi tạo Nodes
(1..NUM_WORKER_NODE).each do |i|
config.vm.define "kubenode0#{i}" do |node|
node.vm.provider "virtualbox" do |vb|
vb.name = "kubenode0#{i}"
vb.memory = 2048
vb.cpus = 2
end
node.vm.hostname = "kubenode0#{i}"
node.vm.network :private_network, ip: IP_NW + "#{NODE_IP_START + i}"
end
end
end
Trong
bcdedit /set hypervisorlaunchtype off
9 này, chúng ta đơn giản chỉ khai báo: - Số lượng máy ảo:
vagrant ssh <hostname>
1, vagrant ssh <hostname>
2 - Địa chỉ IP:
vagrant ssh <hostname>
3, vagrant ssh <hostname>
4, vagrant ssh <hostname>
5 - Kết nối mạng nội bộ:
vagrant ssh <hostname>
6 - hostname riêng biệt cho mỗi máy ảo:
vagrant ssh <hostname>
7 - Hệ điều hành:
vagrant ssh <hostname>
8 - Tài nguyên hệ thống:
vagrant ssh <hostname>
9, cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
0
Cú pháp trong
bcdedit /set hypervisorlaunchtype off
9 là Ruby, nhưng để viết hay chỉnh sửa bạn không cần phải hiểu về
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
2. Xem thêm đây để biết thêm thông tin về
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
3. Bắt đầu khởi tạoChạy câu lệnh:
vagrant up
Output sẽ tương tự như sau:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
Bạn có thể kiểm tra trạng thái các máy ảo đã dựng bằng lệnh sau:
vagrant status
Thông tin về các máy ảo được tạo và quản lý bởi
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
4 được trả về
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
Lỗi nhức nách: vagrant up times out tại bước 'default: SSH auth method: private key'Lỗi này xảy ra khi bật máy ảo không thành công. Mặc định, Virtual Box sử dụng TSC mode gọi là "RealTscOffset," để điều chỉnh giá trị TSC (Time Stamp Counter) trên máy ảo để đồng bộ clock freqency của CPU giữa máy host và máy ảo. Nếu bạn đang sử dụng Windows đã bật phần mềm máy ảo
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
5, phải tắt
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
5 để tránh gây ra xung đột với
bcdedit /set hypervisorlaunchtype off
8 dẫn đến lỗi
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
8 time out ở trên. Để tắt hoàn toàn
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
5, chạy lệnh sau trong cmd:
bcdedit /set hypervisorlaunchtype off
sau đó tắt và bật lại máy tính. Chú ý rằng
lsmod | grep overlay
lsmod | grep br_netfilter
0 là viết tắt của lsmod | grep overlay
lsmod | grep br_netfilter
1, nói cách khác nó sẽ ảnh hưởng đến những phần mềm có thiết lập khi boot lại hệ điều hành, vì vậy bạn cần phải lsmod | grep overlay
lsmod | grep br_netfilter
2 máy hoàn toàn (không lsmod | grep overlay
lsmod | grep br_netfilter
3 hay lsmod | grep overlay
lsmod | grep br_netfilter
- để áp dụng thay đổi. Để PC tắt trong khoảng
lsmod | grep overlay
lsmod | grep br_netfilter
5 trước khi bật lại. Nếu PC không cho shutdown trong Start menu, bạn có thể chạy lệnh lsmod | grep overlay
lsmod | grep br_netfilter
6 trong cmd dưới quyền admin. Trên laptop, bạn có thể cần phải tháo pin. Cài lại
bcdedit /set hypervisorlaunchtype off
6 và
bcdedit /set hypervisorlaunchtype off
8. Nếu lỗi vẫn còn, có thể bạn sẽ phải cài lại hệ điều hành
lsmod | grep overlay
lsmod | grep br_netfilter
9, nhớ đừng bật
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
5! Truy cập vào máy ảo bằng VagrantĐể ssh vào máy ảo, chỉ cần chạy lệnh:
vagrant ssh <hostname>
Có thể thấy trong output khi chạy
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
8,
bcdedit /set hypervisorlaunchtype off
6 có chuyển tiếp port 22 và tạo ssh keypairs cho mỗi máy ảo dù chúng ta không thiết lập trong
bcdedit /set hypervisorlaunchtype off
9. Để xem thêm thông tin, bạn có thể đọc Vagrant Share: SSH Sharing và Vagrantfile: config.ssh. OK, sang bước kế tiếp nào! Cài đặt container runtime (containerd) trên tất cả các máy ảoThực hiện công việc ở bước này trên tất cả các máy ảo Ghi chú:
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
4 đã bị bỏ khỏi dự án
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
5 ở bản
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
6. Đọc Dockershim Removal FAQ để biết thêm thông tin.
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
4 là một thành phẩn của
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
5 được sử dụng để giao tiếp với
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
9. Nó được giới thiệu như một giải pháp tạm thời cho phép
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
5 sử dụng vagrant up
01 như một vagrant up
02 trước khi
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
5 có vagrant up
04 của riêng họ.
Bạn cần phải cài đặt một
vagrant up
02 trên mỗi node trong cụm K8s (Kubernetes) để các
vagrant up
06 có thể chạy ở đó. Và phiên bản K8s 1.26 yêu cầu phải sử dụng một
vagrant up
02 tương thích với
vagrant up
08 của K8s. Đây là một số
vagrant up
02 phổ biến với Kubernetes: - containerd
- CRI-O
- Docker Engine
- Mirantis Container Runtime
Bạn có thể xem hướng dẫn cài đặt cho các loại trên tại đây. Trong hướng dẫn này, chúng ta sẽ sử dụng Containerd. Cài đặt và thiết lập các yêu cầu cần chuẩn bị trước
Tải các module của nhân Linux cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
Để kiểm tra module
vagrant up
12 và
vagrant up
13 đã được load, chạy lệnh dưới đây:
lsmod | grep overlay
lsmod | grep br_netfilter
Chuyển tiếp IPv4 và cho phép iptables nhận diện brigded traffic # thiết lập các tham số sysctl, luôn tồn tại dù khởi động lại
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF
# Áp dụng các tham số sysctl mà không cần khởi động lại
sudo sysctl --system
Để kiểm tra
vagrant up
18,
vagrant up
20,
vagrant up
21 đã được bật trong thiết lập sysctl hay chưa, chạy lệnh:
vagrant up
0 Cài đặt containerdGói
vagrant up
22 ở định dạng DEB và RPM được phân phối bởi
vagrant up
01 (không phải bởi dự án
vagrant up
24). So sánh với các tệp nhị phân gốc của
vagrant up
24, gói
vagrant up
22 cũng bao gồm
vagrant up
27, nhưng lại không có
vagrant up
28. vagrant up
29 là giao diện tiêu chuẩn để cấu hình mạng cho các vagrant up
30 trên vagrant up
31. Nó cho phép một loạt các tùy chọn kết nối mạng bao gồm vagrant up
32, vagrant up
33 và các chính sách bảo mật sử dụng với ứng dụng containerized. Trong hướng dẫn này, chúng ta sẽ sử dụng vagrant up
34 với vagrant up
35 sẽ được cài đặt ở bước sau trong mục .
Cập nhật apt package index và cài đặt packages cho phép apt sử dụng repository qua HTTPS:
vagrant up
1 Thêm GPG key chính thức của Docker:
vagrant up
2 Sử dụng lệnh sau để cài đặt repository:
vagrant up
3 Cập nhật lại apt package index sau khi cài đặt repo:
vagrant up
4 Cài đặt phiên bản mới nhất của gói
vagrant up
22
vagrant up
5 Cgroup driversTrong Linux, các control group được sử dụng để giới hạn tài nguyên phân bổ cho các tiến trình. Các
vagrant up
37 và
vagrant up
02 chạy dưới nó đều cần
vagrant up
39 để thực hiện việc quản lý tài nguyên cho các
vagrant up
40 và
vagrant up
30 như yêu cầu hay giới hạn về cpu/memory. Để giao tiếp với các
vagrant up
42,
vagrant up
37 và
vagrant up
02 cần sử dụng
vagrant up
45. Một điều cực kỳ quan trọng đó là
vagrant up
37 và
vagrant up
02 cần phải sử dụng cùng một loại
vagrant up
45 với thiết lập giống nhau. Có hai loại
vagrant up
49 hỗ trợ đó là: Bởi vì các máy ảo đã dựng của chúng ta sử dụng systemd, vậy nên ta sẽ thiết lập
vagrant up
37 và
vagrant up
24 dùng systemd làm
vagrant up
45. Tùy thuộc vào bản phân phối và phiên bản của Linux, bạn sẽ thấy loại
vagrant up
45 khác nhau. Để xem loại vagrant up
45 hiện tại trên Linux, bạn có thể kiểm tra giá trị của vagrant up
55 bằng cách nhập lệnh: vagrant up
56
Thiết lập vagrant up
45 cho
vagrant up
24 Để thiết lập cho
vagrant up
24 dùng
vagrant up
45 là
vagrant up
61, chạy:
vagrant up
6 thay thế toàn bộ nội dung trong tệp
vagrant up
62 với nội dung cài đặt sau:
vagrant up
7 nhớ khởi động lại
vagrant up
24 để áp dụng thay đổi
vagrant up
8 Thiết lập vagrant up
45 cho
vagrant up
37 Trong phiên bản 1.22, nếu người dùng không cài đặt trường
vagrant up
66 trong
vagrant up
67,
vagrant up
68 sẽ mặc định nó là systemd. Chúng ta không cần làm gì để thiết lập
vagrant up
45 cho
vagrant up
37 trong hướng dẫn này vì sẽ dùng
vagrant up
68 để khởi tạo cụm K8s trong các bước tiếp theo. Bạn có thể xem tại để biết thêm thông tin về cách thiết lập. Cài đặt kubeadm, kubelet và kubectl trên tất cả các máy ảoThực hiện công việc ở bước này trên tất cả các máy ảo
vagrant up
72 là một command-line tool dùng để khởi tạo một
vagrant up
73. Nó là một bản phân phối chính thức của
# thiết lập các tham số sysctl, luôn tồn tại dù khởi động lại
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF
# Áp dụng các tham số sysctl mà không cần khởi động lại
sudo sysctl --system
5 và được thiết kế để đơn giản hóa quá trình thiết lập
vagrant up
73.
vagrant up
72 tự động hóa nhiều tác vụ liên quan đến thiết lập
vagrant up
77 chẳng hạn như cấu hình
vagrant up
78, tạo
vagrant up
79, và thiết lập
vagrant up
80. Một trong những nội dung chính được đề cập trong kỳ thi
vagrant up
81 là thiết lập vagrant up
77, bao gồm việc sử dụng các công cụ như kubeadm để khởi tạo một vagrant up
73 mới.
Tắt swap space:Bạn phải tắt tính năng
vagrant up
84 để
vagrant up
37 hoạt động bình thường. Xem thêm thảo luận về điều này trong issue: https://github.com/kubernetes/kubernetes/issues/53533
vagrant up
86, là
vagrant up
87 chính chạy trên
vagrant up
88, giả sử mỗi
vagrant up
89 có một lượng bộ nhớ khả dụng cố định. Nếu
vagrant up
89 bắt đầu tiến hành swap,
vagrant up
37 có thể bị delay hoặc các vấn đề khác ảnh hưởng đến tính
vagrant up
92 và
vagrant up
93 của
vagrant up
73. Chính vì vậy,
# thiết lập các tham số sysctl, luôn tồn tại dù khởi động lại
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF
# Áp dụng các tham số sysctl mà không cần khởi động lại
sudo sysctl --system
5 khuyên
vagrant up
84 nên được disabled trên mỗi
vagrant up
89 trong
vagrant up
77. Để tắt
vagrant up
84 trên máy Linux, sử dụng:
vagrant up
9 Cài đặt kubeadm, kubelet và kubectl :
vagrant up
37: component chạy trên tất cả các máy trong vagrant up
77 và thực hiện những việc như khởi động các vagrant up
40 và vagrant up
30. Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
04: command line tool dùng để nói chuyện với vagrant up
77. vagrant up
68: công cụ cài đặt các component còn lại của Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
07.
vagrant up
68 sẽ không cài đặt
vagrant up
37 hay
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
04 cho bạn, vì vậy hãy đảm bảo chúng sử dụng các phiên bản phù hợp với các
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
11 khác trong
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
12 mà
vagrant up
68 cài cho bạn. Cảnh báo: Hướng dẫn này sẽ loại bỏ các
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
14 ra khỏi mọi tiến trình system upgrade. Do vagrant up
68 và
thiết lập các tham số sysctl, luôn tồn tại dù khởi động lạicat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF Áp dụng các tham số sysctl mà không cần khởi động lạisudo sysctl --system
5 cần được đặc biệt chú ý mỗi khi upgrade. Để biết thêm thông tin về việc các phiên bản lệch nhau được hỗ trợ hãy xem: - Kubernetes version and version-skew policy
- Kubeadm-specific
Cập nhật Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
17 và cài các
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
18 cần thiết để sử dụng trong
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
19:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
0 Tải Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
20:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
1 Thêm Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
19:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
2 Cập nhật lại Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
17, cài đặt phiên bản mới nhất của
vagrant up
37,
vagrant up
68 và
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
04, ghim phiên bản hiện tại tránh việc tự động cập nhật:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
3
vagrant up
37 sẽ tự động khởi động lại mỗi giây vì ở trạng thái crashloop, đợi
vagrant up
68 đưa ra yêu cầu cần thực hiện. Ghi chú: 🔐
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
28 được tạo bởi vagrant up
68 sẽ bị hết hạn sau Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
30. Đọc thêm ở đây để biết thêm về cách tùy chỉnh và làm mới Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
31.
Khởi động control plane và nodes
Khởi tạo control plane Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
32 là nơi chạy các
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
11 bao gồm
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
34 (cơ sở dữ liệu của
vagrant up
- và
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
36 (nơi các câu lệnh
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
04 giao tiếp). Để tiến hành khởi tạo, chạy câu lệnh sau ở máy ảo mà chúng ta đặt tên là
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
38:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
4 Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48 đầu tiên sẽ chạy một loại các bước kiểm tra để đảm bảo máy đã sẵn sàng chạy
# thiết lập các tham số sysctl, luôn tồn tại dù khởi động lại
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF
# Áp dụng các tham số sysctl mà không cần khởi động lại
sudo sysctl --system
5. Những bước kiểm tra này sẽ đưa ra các cảnh báo và thoát lệnh khi có lỗi. Kế tiếp
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48 tải xuống và cài đặt các thành phần của
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
32. Việc này có thể sẽ mất vài phút, sau khi kết thúc bạn sẽ thấy thông báo:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
5 Lưu lại câu lệnh
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
52 khi init thành công để thêm các node vào
vagrant up
77. Để
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
04 có thể dùng với
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
55, chạy những lệnh sau, chúng cũng được nhắc trong output khi
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48 thành công:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
6 Mặt khác, nếu bạn là
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
57, có thể dùng lệnh sau:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
7 Cảnh báo:
vagrant up
72 cấp certificate trong Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
59 để có Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
60, Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
61. Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
62 là một nhóm người dùng siêu cấp, bỏ qua lớp ủy quyền (như RBAC). Tuyệt đối không chia sẻ tệp Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
59 với bất kỳ ai, thay vào đó hãy cấp cho người dùng các quyền tùy chỉnh bằng cách tạo cho họ một tệp Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
64 với lệnh Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
65. Để biết thêm chi tiết hãy đọc .
Thêm các node vào clusterChạy câu lệnh trong phần output của
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48 trên tất cả các
vagrant up
88 - máy ảo:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
68,
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
69 với sudo permission:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
8 Nếu bạn không lưu lại lệnh
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
70, quay lại máy control-plane:
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
38. Lấy
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
72 bằng lệnh
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
9 Output sẽ tương tự như sau:
vagrant status
0 Mặc định,
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
73 sẽ hết hạn sau
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
74. Nếu bạn thêm
vagrant up
88 khi
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
72 đã hết hạn, bạn có thể tạo
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
72 mới bằng cách chạy lệnh sau trên
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
78:
vagrant status
1 Output sẽ cho
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
72 mới tương tự như sau:
vagrant status
2 Lấy
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
80 bằng lệnh
vagrant status
3 Output sẽ tương tự:
vagrant status
4 Lấy
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
81 bằng lệnh
vagrant status
5 Sẽ được output tương tự:
vagrant status
6
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
81 sẽ là
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
83 Thêm
vagrant up
88 vào
vagrant up
73 thành công Bạn sẽ nhận được thông báo thành công như sau trên các máy
vagrant up
88:
vagrant status
7 Sau vài giây, bạn sẽ thấy thông tin
vagrant up
89 này trong phần
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
88 của lệnh
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
89 khi chạy trên
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
90. Kiểm tra các component của Kubernetes clusterỞ control-plane
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
38 và worker nodes
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
68,
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
69 chạy lệnh:
vagrant status
8 Tất cả các components với LISTEN ports tương ứng sẽ được hiển thị như dưới đây: kubemaster
vagrant status
9 Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
94 hiển thị chỉ LISTEN tới Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
95 nhưng thực chất Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
96 đang lắng nghe qua địa chỉ Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
97 cho phép truy cập qua địa chỉ Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
98, còn gọi là Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
99. Đây là lý do tại sao có thể chạy lệnh Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
70 trên vagrant status
01 thành công với vagrant status
02 tới địa chỉ Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
98. Ví dụ, địa chỉ IPv4 vagrant status
04 có thể biểu diễn bằng địa chỉ IPv6 vagrant status
05.
kubenode*
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
0 Cài đặt Pod network add-onChạy lệnh
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
89 trên
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
32 để kiểm tra các
vagrant up
89 đã thêm vào
vagrant up
77
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
1 Có thể thấy, các máy ảo
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
38,
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
68,
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
69 đã được thêm vào
vagrant up
73 nhưng đang có
vagrant status
14 là
vagrant status
15. Chạy lệnh
vagrant status
16 trên
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
32 để xem tất cả
vagrant up
40 trong
vagrant status
19
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
2 Bạn phải triển khai
vagrant up
29 hỗ trợ
vagrant up
35 để các
vagrant status
22 có thể giao tiếp với nhau.
vagrant status
23 sẽ không được khởi động cho đến khi hoàn thất thiết lập
vagrant status
24.
vagrant status
25 là
vagrant status
26 cung cấp kết nối mạng giữa các pod trong một
vagrant up
73. Nó tạo một
vagrant status
28 phủ toàn bộ
vagrant up
77 và gắn cho mỗi
vagrant up
40 một địa chỉ IP riêng. Trong khi
vagrant up
28 có thể được sử dụng với mọi
vagrant up
02,
vagrant status
33 dành riêng cho
# thiết lập các tham số sysctl, luôn tồn tại dù khởi động lại
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF
# Áp dụng các tham số sysctl mà không cần khởi động lại
sudo sysctl --system
5 và cung cấp chức năng mạng cần thiết cho
vagrant status
35. Một số ví dụ về
vagrant status
33 có kể đến
vagrant status
37,
vagrant status
38, and
vagrant status
39. (Xem thêm các
vagrant status
33 khác tại ) Trong hướng dẫn này, chúng ta sẽ sử dụng Weave Net add-ons. Nó dễ dàng cài đặt, sử dụng và phù hợp với việc triển khai ở quy mô nhỏ. Để cài đặt nó cho
vagrant up
73, chạy lệnh dưới đây trên control plane
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
38:
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
3 Output sẽ như sau
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
4 Cần đảm bảo rằng
vagrant status
43 không bị trùng lặp với mạng trên các máy trong
vagrant up
77. Nếu bạn khai báo
vagrant status
45 khi chạy
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48, phải thêm tham số
vagrant status
47 vào tệp YAML của
vagrant status
48. Chạy lệnh sau trên control plane
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
38:
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
5 Lệnh này sẽ cho phép bạn chỉnh sửa tệp YAML của
vagrant status
50. Tìm đến phần
vagrant status
51 của
vagrant up
30 có tham số
vagrant status
53 để thêm biến môi trường
vagrant status
47 và truyền tham số
vagrant status
45 khi chạy
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48. (Tệp được mở trong trình chỉnh sửa
vagrant status
57)
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
6 Lưu tệp và đợi một vài phút để
vagrant status
50 khởi động lại các
vagrant up
40. Thiết lập thành côngChạy lại lệnh
vagrant status
16 trên control plane để kiểm tra, bạn sẽ thấy 3 pods của
vagrant status
50 và
vagrant status
62 hiển thị đang chạy. (STATUS: Running)
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
7 Chạy
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
89 để kiểm tra trạng thái các
vagrant up
89 trong
vagrant up
77, chúng sẽ đều ở trạng thái sẵn sàng. (STATUS: Ready)
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
8 Nếu bạn thắc mắc tại sao
vagrant status
66 của các vagrant up
88 hiển thị vagrant status
68, điều đó có nghĩa là các vagrant up
89 này đang không chạy các vagrant status
70 hay vagrant status
71 chỉ định vagrant status
72. Thông thường vagrant status
01 sẽ không chạy các vagrant status
70, vì thế điều này hoàn toàn bình thường trong một vagrant up
73. vagrant status
76 là một phần trung tâm của
# thiết lập các tham số sysctl, luôn tồn tại dù khởi động lại
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
EOF
# Áp dụng các tham số sysctl mà không cần khởi động lại
sudo sysctl --system
5, xem thêm để biết thêm thông tin. Nếu muốn tùy chỉnh
vagrant up
77 với kubeadm, bạn có thể đọc Create cluster kubeadm. Clean upSẽ có lúc bạn gặp những lỗi không biết cách giải quyết hoặc đơn giản chỉ muốn bắt đầu lại từ đầu, phần này sẽ dành cho bạn! Giữ lại các máy ảo, chỉ dọn dẹp Kubernetes cluster
Loại bỏ nodeChạy lệnh này để bỏ tất cả các
vagrant up
40 đang chạy trên
vagrant up
89 theo đúng quy trình:
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
9 Reset các trạng thái được cài đặt bởi kubeadm
bcdedit /set hypervisorlaunchtype off
0 Quá trình reset này sẽ không bao gồm việc reset hay dọn dẹp
vagrant status
81 hay
vagrant status
82. Nếu bạn muốn reset
vagrant status
83, phải thực hiện thủ công như sau:
bcdedit /set hypervisorlaunchtype off
1 Nếu muốn reset
vagrant status
82, bạn phải chạy lệnh dưới đây:
bcdedit /set hypervisorlaunchtype off
2 Bây giờ tiến hành loại bỏ
vagrant up
89 khỏi
vagrant up
77:
bcdedit /set hypervisorlaunchtype off
3 Nếu muốn thiết lập lại, run
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48 (thiết lập thành
vagrant status
- hoặc
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
70 (thiết lập thành
vagrant up
- với các đối số phù hợp.
Dọn dẹp control planeTiến hành quá trình đảo ngược lại tất cả các thay đổi
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48 đã thực hiện trên máy với lệnh:
bcdedit /set hypervisorlaunchtype off
4
vagrant status
92: Xóa
vagrant status
93 được dùng để giao tiếp với
vagrant up
77. Nếu không khai báo, một số thư mục sẽ được tìm để xóa
vagrant status
93. (Nếu bạn thiết lập cho
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
55 sau khi chạy
Bringing machine 'kubemaster' up with 'virtualbox' provider...
Bringing machine 'kubenode01' up with 'virtualbox' provider...
Bringing machine 'kubenode02' up with 'virtualbox' provider...
==> kubemaster: Importing base box 'ubuntu/bionic64'...
==> kubemaster: Matching MAC address for NAT networking...
==> kubemaster: Setting the name of the VM: kubemaster
==> kubemaster: Clearing any previously set network interfaces...
==> kubemaster: Preparing network interfaces based on configuration...
kubemaster: Adapter 1: nat
kubemaster: Adapter 2: hostonly
==> kubemaster: Forwarding ports...
kubemaster: 22 (guest) => 2222 (host) (adapter 1)
==> kubemaster: Running 'pre-boot' VM customizations...
==> kubemaster: Booting VM...
==> kubemaster: Waiting for machine to boot. This may take a few minutes...
kubemaster: SSH address: 127.0.0.1:2222
kubemaster: SSH username: vagrant
kubemaster: SSH auth method: private key
kubemaster: Warning: Connection reset. Retrying...
kubemaster: Warning: Connection aborted. Retrying...
kubemaster:
kubemaster: Vagrant insecure key detected. Vagrant will automatically replace
kubemaster: this with a newly generated keypair for better security.
kubemaster:
kubemaster: Inserting generated public key within guest...
kubemaster: Removing insecure key from the guest if it's present...
kubemaster: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubemaster: Machine booted and ready!
==> kubemaster: Checking for guest additions in VM...
kubemaster: The guest additions on this VM do not match the installed version of
kubemaster: VirtualBox! In most cases this is fine, but in rare cases it can
kubemaster: prevent things such as shared folders from working properly. If you see
kubemaster: shared folder errors, please make sure the guest additions within the
kubemaster: virtual machine match the version of VirtualBox you have installed on
kubemaster: your host and reload your VM.
kubemaster:
kubemaster: Guest Additions Version: 5.2.42
kubemaster: VirtualBox Version: 7.0
==> kubemaster: Setting hostname...
==> kubemaster: Configuring and enabling network interfaces...
==> kubemaster: Mounting shared folders...
kubemaster: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode01: Importing base box 'ubuntu/bionic64'...
==> kubenode01: Matching MAC address for NAT networking...
==> kubenode01: Setting the name of the VM: kubenode01
==> kubenode01: Fixed port collision for 22 => 2222. Now on port 2200.
==> kubenode01: Clearing any previously set network interfaces...
==> kubenode01: Preparing network interfaces based on configuration...
kubenode01: Adapter 1: nat
kubenode01: Adapter 2: hostonly
==> kubenode01: Forwarding ports...
kubenode01: 22 (guest) => 2200 (host) (adapter 1)
==> kubenode01: Running 'pre-boot' VM customizations...
==> kubenode01: Booting VM...
==> kubenode01: Waiting for machine to boot. This may take a few minutes...
kubenode01: SSH address: 127.0.0.1:2200
kubenode01: SSH username: vagrant
kubenode01: SSH auth method: private key
kubenode01: Warning: Connection reset. Retrying...
kubenode01: Warning: Connection aborted. Retrying...
kubenode01:
kubenode01: Vagrant insecure key detected. Vagrant will automatically replace
kubenode01: this with a newly generated keypair for better security.
kubenode01:
kubenode01: Inserting generated public key within guest...
kubenode01: Removing insecure key from the guest if it's present...
kubenode01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode01: Machine booted and ready!
==> kubenode01: Checking for guest additions in VM...
kubenode01: The guest additions on this VM do not match the installed version of
kubenode01: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode01: prevent things such as shared folders from working properly. If you see
kubenode01: shared folder errors, please make sure the guest additions within the
kubenode01: virtual machine match the version of VirtualBox you have installed on
kubenode01: your host and reload your VM.
kubenode01:
kubenode01: Guest Additions Version: 5.2.42
kubenode01: VirtualBox Version: 7.0
==> kubenode01: Setting hostname...
==> kubenode01: Configuring and enabling network interfaces...
==> kubenode01: Mounting shared folders...
kubenode01: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
==> kubenode02: Importing base box 'ubuntu/bionic64'...
==> kubenode02: Matching MAC address for NAT networking...
==> kubenode02: Setting the name of the VM: kubenode02
==> kubenode02: Fixed port collision for 22 => 2222. Now on port 2201.
==> kubenode02: Clearing any previously set network interfaces...
==> kubenode02: Preparing network interfaces based on configuration...
kubenode02: Adapter 1: nat
kubenode02: Adapter 2: hostonly
==> kubenode02: Forwarding ports...
kubenode02: 22 (guest) => 2201 (host) (adapter 1)
==> kubenode02: Running 'pre-boot' VM customizations...
==> kubenode02: Booting VM...
==> kubenode02: Waiting for machine to boot. This may take a few minutes...
kubenode02: SSH address: 127.0.0.1:2201
kubenode02: SSH username: vagrant
kubenode02: SSH auth method: private key
kubenode02: Warning: Connection reset. Retrying...
kubenode02: Warning: Connection aborted. Retrying...
kubenode02:
kubenode02: Vagrant insecure key detected. Vagrant will automatically replace
kubenode02: this with a newly generated keypair for better security.
kubenode02:
kubenode02: Inserting generated public key within guest...
kubenode02: Removing insecure key from the guest if it's present...
kubenode02: Key inserted! Disconnecting and reconnecting using new SSH key...
==> kubenode02: Machine booted and ready!
==> kubenode02: Checking for guest additions in VM...
kubenode02: The guest additions on this VM do not match the installed version of
kubenode02: VirtualBox! In most cases this is fine, but in rare cases it can
kubenode02: prevent things such as shared folders from working properly. If you see
kubenode02: shared folder errors, please make sure the guest additions within the
kubenode02: virtual machine match the version of VirtualBox you have installed on
kubenode02: your host and reload your VM.
kubenode02:
kubenode02: Guest Additions Version: 5.2.42
kubenode02: VirtualBox Version: 7.0
==> kubenode02: Setting hostname...
==> kubenode02: Configuring and enabling network interfaces...
==> kubenode02: Mounting shared folders...
kubenode02: /vagrant => C:/Users/MSI BRAVO/kubernetes-install-cluster-with-kubeadm
48, đừng quên xóa tệp thiết lập
vagrant status
98) Tương tự như đã đề cập ở phần loại bỏ
vagrant up
89, quá trình reset này sẽ không reset hay dọn dẹp
vagrant status
81 hay
vagrant status
82. Nếu muốn reset, bạn phải làm thủ công như khi loại bỏ node. Xóa bỏ tất cả các máy ảoBởi vì sử dụng
bcdedit /set hypervisorlaunchtype off
6 để tự động hóa quá trình tạo các máy ảo, bạn có thể xóa bỏ tất cả chỉ với một câu lệnh. Chạy lệnh này ở thư mục đang sử dụng trên máy tính (Nơi cài đặt
bcdedit /set hypervisorlaunchtype off
6 và
bcdedit /set hypervisorlaunchtype off
8):
bcdedit /set hypervisorlaunchtype off
5 Nếu bạn chỉ muốn tắt các máy ảo, thay vào đó hãy chạy lệnh
Current machine states:
kubemaster running (virtualbox)
kubenode01 running (virtualbox)
kubenode02 running (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME .
`
05. Khi đó, lúc cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
sudo modprobe overlay
sudo modprobe br_netfilter
8 lại, tất cả công việc đã thực hiện trên máy ảo sẽ vẫn còn đó thay vì mất hết. Tìm hiểu thêm về lệnh này tại đây. |