cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
522
Views
0
Helpful
1
Replies

K8s cluster not accessible from 'Cisco DevNet Containers v1'

adamjsr
Cisco Employee
Cisco Employee

Hi,


I'm using the dCloud environment 'Cisco DevNet Containers v1' for the module at https://developer.cisco.com/learning/tracks/containers/containers-intro-1/containers-deploy-to-k8s/step/1.  This choice was based on the guidance at https://developer.cisco.com/learning/tracks/containers/containers-lab/containers-verify/step/2

That guidance stated:

 

'

The lab pod is available at https://dcloud.cisco.com.

Navigate to the Catalog tab.
Select DevNet from the Content Producers menu on the left.
Select DevNet Containers Pod from the list.
Follow the setup instructions.

'

 

Note: there was no 'DevNet Containers Pod' in the dCloud Catalog under the 'DevNet' Content Producer type like the document at https://developer.cisco.com/learning/tracks/containers/containers-lab/containers-verify/step/2 indicated there should be, not sure if this is relevant.  So I went with the closest environment of the 4 listed in dCloud, which was 'Cisco DevNet Containers v1'.

 

When I go to run any 'kubectl' commands in the module, I get an error:

 

"The connection to the server 198.18.1.157:6443 was refused - did you specify the right host or port?"

 

 

It seems my developer environment cannot access the K8s cluster.  In the Lab Guide for this environment accessible via https://dcloud2-rtp.cisco.com/content/demo/633348?returnPathTitleKey=content-view, there is no mention of the host 198.18.1.157.  I can ping 198.18.1.157 however, though I don't know the credentials to SSH into it.

 

I tried updating the kubeconfig file as described in https://developer.cisco.com/learning/tracks/containers/containers-intro-1/containers-deploy-to-k8s/step/1 even though this should not have been necessary since I was using the dCloud lab.  It didn't help.  I see the reference to 198.18.1.157 in the kubeconfig file.

 

Please advise if I am using the wrong environment or something -- I had completed the earlier tasks in the same track at https://developer.cisco.com/learning/tracks/containers without issue.  Thanks.

1 Reply 1

Hey there, as this does not live in the devnet sandbox area, this will require a couple of extra steps. If you wished to raise this with the dcloud support team this is done here https://dcloud-cms.cisco.com/help/cisco-dcloud-support - however, in this case, there seems to be some disconnect between a learning lab AND dcloud. I have raised this with the Learning Lab team here https://github.com/CiscoDevNet/learning-labs-issues/issues/282

 

Hope this helps, you can follow the issue there.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: