If you use Rancher to deploy your Kubernetes nodes in VMware vSphere or any other cloud environment, you can make use of the Cloud Config configuration in the Node template to specify various initialization configuration settings. One of the basic things you can do is specify SSH keys in your Node Template for Rancher. This allows connecting to your Kubernetes nodes locally if these become disconnected from Rancher. In the video tutorial we look at how to implement the cloud config for SSH keys in VMware vSphere Kubernetes nodes or any other cloud environment.
Subscribe to the channel: / @virtualizationhowto
My blog: https://www.virtualizationhowto.com
_____________________________________________________
Social Media: / vspinmaster
LinkedIn: / brandon-lee-vht
Github: https://github.com/brandonleegit
Introduction - 0:00
Talking about the node template - 1:52
Customing a node template for cloud config - 2:20
Cloud Config YAML section in the node template - 3:00
Running the ssh-keygen command - 4:24
Discussing taking the public key and entering into the cloud config configuration - 5:45
Cloud config and entering your public ssh key into the YAML configuration - 6:20
Overview of the YAML code and what it means - 6:45
Copying and pasting the configuration into the Rancher Cloud config block - 7:40
Creating a new cluster with the node template that contains the SSH keys - 8:33
Generating a Putty specific private key file to connect using Putty - 9:38
Using Putty to connect to the Kubernetes node - 10:34
Successfully connecting to the Kubernetes node with the SSH keys - 11:15
Concluding thoughts on cloud config with custom SSH keys - 12:04
Read my detailed blog post covering the topic in detail how to use the cloud config YAML configuration to add SSH keys:
https://www.virtualizationhowto.com/2...
On this page of the site you can watch the video online Rancher Cloud-config.yml example cloud-init add SSH keys with a duration of hours minute second in good quality, which was uploaded by the user VirtualizationHowto 06 July 2022, share the link with friends and acquaintances, this video has already been watched 2,999 times on youtube and it was liked by 36 viewers. Enjoy your viewing!