All command run as root. So pay attention to disk label when copy/pasting.
Find new drive:
# fdisk -l
Model: ST1000DX 001-1CM162 (scsi)
Disk /dev/sde: 1000GB
Sector size (logical/physical): 512B/4096B
gengwg@gengwg-mbp:~/go$ ls | |
pkg | |
gengwg@gengwg-mbp:~/go$ g [email protected]:kubernetes/kubernetes.git | |
Cloning into 'kubernetes'... | |
Enter passphrase for key '/Users/gengwg/.ssh/id_rsa': | |
remote: Enumerating objects: 1324661, done. | |
remote: Counting objects: 100% (174/174), done. | |
remote: Compressing objects: 100% (113/113), done. | |
remote: Total 1324661 (delta 80), reused 61 (delta 61), pack-reused 1324487 | |
Receiving objects: 100% (1324661/1324661), 834.92 MiB | 12.02 MiB/s, done. |
engwg@gengwg-mbp:~$ kind create cluster --image kindest/node:v1.23.6 | |
Creating cluster "kind" ... | |
✓ Ensuring node image (kindest/node:v1.23.6) 🖼 | |
✓ Preparing nodes 📦 | |
✓ Writing configuration 📜 | |
✓ Starting control-plane 🕹️ | |
✓ Installing CNI 🔌 | |
✓ Installing StorageClass 💾 | |
Set kubectl context to "kind-kind" | |
You can now use your cluster with: |
gengwg@gengwg-mbp:~$ kind create cluster --image kindest/node:v1.23.5 | |
Creating cluster "kind" ... | |
✓ Ensuring node image (kindest/node:v1.23.5) 🖼 | |
✓ Preparing nodes 📦 | |
✓ Writing configuration 📜 | |
✓ Starting control-plane 🕹️ | |
✓ Installing CNI 🔌 | |
✓ Installing StorageClass 💾 | |
Set kubectl context to "kind-kind" |
# v1.23 | |
$ kind create cluster | |
Creating cluster "kind" ... | |
✓ Ensuring node image (kindest/node:v1.23.4) 🖼 | |
✓ Preparing nodes 📦 | |
✓ Writing configuration 📜 | |
✓ Starting control-plane 🕹️ | |
✓ Installing CNI 🔌 | |
✓ Installing StorageClass 💾 |
# v1.21 | |
$ kind create cluster --image kindest/node:v1.21.1 | |
Creating cluster "kind" ... | |
⢎⡠ Ensuring node image (kindest/node:v1.21.1) 🖼 ^R[B | |
✓ Ensuring node image (kindest/node:v1.21.1) 🖼 | |
✓ Preparing nodes 📦 | |
✓ Writing configuration 📜 | |
✓ Starting control-plane 🕹️ | |
✓ Installing CNI 🔌 |
apiVersion: batch/v1 | |
kind: CronJob | |
metadata: | |
name: example | |
spec: | |
concurrencyPolicy: Forbid | |
failedJobsHistoryLimit: 1 | |
jobTemplate: | |
spec: | |
activeDeadlineSeconds: 600 |
[474515.167775] Bluetooth: Core ver 2.22 | |
[474515.167821] NET: Registered protocol family 31 | |
[474515.167829] Bluetooth: HCI device and connection manager initialized | |
[474515.167833] Bluetooth: HCI socket layer initialized | |
[474515.167835] Bluetooth: L2CAP socket layer initialized | |
[474515.167839] Bluetooth: SCO socket layer initialized | |
[474515.182168] usbcore: registered new interface driver btusb | |
[474515.255046] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 | |
[474515.255048] Bluetooth: BNEP filters: protocol multicast | |
[474515.255051] Bluetooth: BNEP socket layer initialized |
All command run as root. So pay attention to disk label when copy/pasting.
Find new drive:
# fdisk -l
Model: ST1000DX 001-1CM162 (scsi)
Disk /dev/sde: 1000GB
Sector size (logical/physical): 512B/4096B
How to find the root servers and tld servers:
$ nslookup
> set type=ns
> .
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
/etc/apt/sources.list
to deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free
/etc/apt/sources.list.d/appstore.list
. If no such a list file, please create one there and add below source: