cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1087
Views
0
Helpful
2
Replies

Kubernetes CI/CD demo-app-cicd

gomez.esteban
Level 1
Level 1

The kubernetes services is not showing the ip address for the demo-app-cicd. The app has been deployed in Drone successfully but the kubernetes does not show the ip address of the app. There is no ping from kubernetes SSH shell and the 10.96.0.1.

2 Replies 2

zowu
Cisco Employee
Cisco Employee

There is no service defined in the demo-app-cicd.yaml. You may create a service against the pod:


apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app: demo-app-cicd
ports:
- protocol: TCP
port: 80
targetPort: 80

 

The service could be located at: http://10.10.20.21:8001/api/v1/namespaces/default/services/my-service/proxy/#!/pod?namespace=default

hepark
Level 1
Level 1

Same problem here. I was following the "CI/CD Overview" learning lab, which is out of sync from the current lab setup (as of May '20).

Just follow the instructions from the link provided inside the sandbox itself (under CICD tab). I found how to obtain the ip address of the pod, in the "Pod service validation" section.

https://devnetsandbox.cisco.com/sandbox-instructions/CICD_Pipeline/helloworld.html