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...
Watch video Rancher Cloud-config.yml example cloud-init add SSH keys online without registration, duration hours minute second in high quality. This video was added by user VirtualizationHowto 06 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,999 once and liked it 36 people.