Welcome to the Linux Foundation Forum!

Lab 3.2: Configure A Local Repo

I managed to get down to step 14 on lab 3.2, it says:

Test that the repo works after the reboot, as good admins we want to know our configuration is persistent. Be aware it can take a minute or two after reboot for the kube-apiserver to fully start. If the $repo variable isn’t set check the source statement in .bashrc.

student@cp:˜$ curl $repo/v2/_catalog

When I try the curl step I get 'curl: (3) URL using bad/illegal format or missing URL'

I checked the 'source' line in .bashrc and it says '"source <(kubectl completion bash)'

What am I missing? How do I get past this step?

Comments

  • chrispokorni
    chrispokorni Posts: 2,014

    Hi @julieheard,

    Please check that the repo variable is set after the reboot by running echo $repo
    If it is not set (no value is returned by echo ...), check the .bashrc file for the export repo=10.97.40.62:5000 entry, and ensure it is correct. The .bashrc entry should have been created by the local-repo-setup.sh script in step 4.

    Regards,
    -Chris

Categories

Upcoming Training