Welcome to the Linux Foundation Forum!

How to Set up the lab

I'm just getting started in Kubernetes for developers course, but I'm having difficulties trying to run scripties (i.e., K8sWorker.sh and k8scp.sh) in lab 2.1 after successfully running the k8scp.sh i'm unable to run the second script, it shows me the following warning message and exits:

/k8scp_run exists. Script has already been. Do not run on control plane.
This should be run on the worker node.

After restarting my machine, I'm now unable to connect to the control plane,
How to set up the lab? In what order should I run scripts?

Answers

  • Posts: 2,458

    Hi @dochomore,

    The error you see is expected when running both scripts on the same Virtual Machine, or the same script twice consecutively on the same VM.
    The recommended lab environment requires two distinct VMs. The first VM should be the control plane node, where you execute the k8scp.sh script. The second VM should be the worker node, where you execute the k8sWorker.sh script.

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training