cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1259
Views
5
Helpful
4
Replies

CICD Pipeline - Unable to deploy due to requested resource missing

grpieter
Cisco Employee
Cisco Employee

Hi,

 

the last step 'deploy' is failing due to the error:

 

User "default" set.
2 WARNING: Using insecure connection to cluster
3 Cluster "default" set.
4 Context "default" created.
5 Switched to context "default".
6 Deploying to http://master:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy
7 Set deployment image cicd-helloworld
8 Error from server (NotFound): the server could not find the requested resource (get deployments.extensions demo-app-cicd)
4 Replies 4

adamjsr
Cisco Employee
Cisco Employee

Seeing the same.  The instructions are a little outdated/inconsistent, e.g. IPs don't match the Sandbox lab, there is an extra 'kubernetes_token' attribute in the drone yaml file, set to a placeholder value, that isn't referenced at all in the Lab.  I had problems with the git push command and had to use the force flag to get the push to complete.  Someone needs to go through and validate the instructions are still accurate.

@adamjsr do you have a link to the learning lab you are experiencing an issue with, please?

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

@adamjsr thanks you, i have opened this with our team https://github.com/CiscoDevNet/learning-labs-issues/issues/311

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: