$ kubectl vm create -os ubuntu -n boot # Using latest operating system version
+$ kubectl vm create -os ubuntu:22.04 -n boot # Using exact operating system version
+diff --git a/latest/index.html b/latest/index.html index b401d64..0f43f49 100644 --- a/latest/index.html +++ b/latest/index.html @@ -532,7 +532,7 @@
$ kubectl vm create -os ubuntu -n boot # Using latest operating system version
+$ kubectl vm create -os ubuntu:22.04 -n boot # Using exact operating system version
+By default, Boot plugin will use your public key from ~/.ssh/id_rsa.pub
, but you can explicitly provide a list of authorized keys:
$ echo "ssh-rsa AAAAB3N... some-key" >> authorized_keys # Create a list of SSH authorized keys
-$ kubectl vm create -os ubuntu -auth-keys authorized_keys -n boot # Using latest operating system version
-$ kubectl vm create -os ubuntu:22.04 -auth-keys authorized_keys -n boot # Using exact operating system version
+$ kubectl vm create -os ubuntu -auth-keys authorized_keys -n boot # Using latest operating system version
$ kubectl vm create -os ubuntu -cpu 1.0 -mem 512Mi -auth-keys authorized_keys -n boot
-$ kubectl vm create -os ubuntu -cpu '1.0/0.5' -mem '512Mi/256Mi' -auth-keys authorized_keys -n boot # Different requests and limits
+$ kubectl vm create -os ubuntu -cpu 1.0 -mem 512Mi -n boot
+$ kubectl vm create -os ubuntu -cpu '1.0/0.5' -mem '512Mi/256Mi' -n boot # Different requests and limits
$ kubectl vm create -os ubuntu -auth-keys /path/to/authorized_keys.file -n boot
+When this flag is missing, plugin will try to use your public key from ~/.ssh/id_rsa.pub
file.
$ echo "ssh-rsa AAAAB3N... some-key" >> authorized_keys
-$ kubectl vm create -os ubuntu -auth-keys authorized_keys -n team-beta # Like in any kubectl command, -n flag sets namespace name
+$ kubectl vm create -os ubuntu -n team-beta # Like in any kubectl command, -n flag sets namespace name