hello, I’m new here and very new to Kubernetes. My limited experience has been with Minikube. In our current use case, we have created a number of scripts to create a Minikube cluster, verify it’s active, generate manifest files, launch pods, etc. We handle everything on a Linux server and use Minikube Dashboard to access the environment to monitor for health and operations remotely. Thus far everything we have done is maintained and accessed via command line operations on the server. Our client has asked that we move to Podman, and we have also decided to start moving our work over to Rancher. We will start to spin up new Servers for the work we will be implementing, but that won’t start for a while. For now, we need, want, to move what we are currently using over with minimal disruption in the work we have implemented.
What we have chosen. For now, we are looking to utilize RKE with K8. and implement our current work with Docker as a first step. Looking over the different installation methods on Rancher’s document site, we want to avoid running Rancher itself as a Docker Container and prefer to have it installed directly on our system. For our current setup, we want access to the cluster on the local machine and will work on configuring remote deployment at a later time.
For my initial work, I’ve been referencing Setting up a High-availabiliity RKE Kubernetes Cluster how-to. I’ve managed to install all the CLI tools, Kubectl and RKE on a Ubuntu 22.04 Virtual Machine via VB. However, I have been struggling to understand the configuration file.
I have tried to manually create the configuration file, and use the automated prompt. In both situations, I’m receiving two warnings and an error.
Currently, I’m using a simple configuration file.
nodes:
- address:
user:
role:
- etcd
- controlplane
- worker
Can someone point me in the direction of how to get a simple configuration up and running on the local machine and a resource for understanding Configuration files?
I’ve looked at other resources on the errors, but I’m having issues understanding what is happening and why.