Link to these links: https://git.io/vKSVZ
Module 1:
- Run jenkins from war file:
jenkins -jar jenkins.war
- Run jenkins from docker:
docker run -d \
--restart unless-stopped \
--name jenkins \
# Namespace / Service | |
- A pod can access a service in its own namespace by just using service name. | |
A pod can access a service in a different namespace by using below format. | |
<svc-name>.<ns-name>.<svc>.<cluster.local> | |
e.g db-service.dev.svc.cluster.local | |
- When a service is created, a DNS entry is added automatically in this format: | |
db-service.dev.svc.cluster.local | |
Here db-service is service name, dev is namespace, svc represents service and cluster.local is domain. | |
# Good Links | |
http://www.yamllint.com/ | |
https://youtu.be/02AA5JRFn5w | |
######################################### | |
minikube | |
######################################### | |
minikube start | |
minikube status | |
minikube stop |
Link to these links: https://git.io/vKSVZ
Module 1:
jenkins -jar jenkins.war
docker run -d \
--restart unless-stopped \
--name jenkins \
stage 'CI' | |
node { | |
git branch: 'jenkins2-course', | |
url: 'https://github.com/g0t4/solitaire-systemjs-course' | |
// pull dependencies from npm | |
// on windows use: bat 'npm install' | |
sh 'npm install' |