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 \| 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' |
Link to these links: https://git.io/vKSVZ
Module 1:
jenkins -jar jenkins.wardocker run -d \
--restart unless-stopped \
--name jenkins \| # Good Links | |
| http://www.yamllint.com/ | |
| https://youtu.be/02AA5JRFn5w | |
| ######################################### | |
| minikube | |
| ######################################### | |
| minikube start | |
| minikube status | |
| minikube stop |
| # 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. | |
| from openai import OpenAI | |
| client = OpenAI( | |
| base_url="https://openrouter.ai/api/v1", | |
| api_key="<YOUR OPEN ROUTER API KEY>", | |
| ) | |
| completion = client.chat.completions.create( | |
| model="tngtech/deepseek-r1t2-chimera:free", |
| from openai import OpenAI | |
| client = OpenAI( | |
| base_url="https://router.huggingface.co/hyperbolic/v1", | |
| api_key="<YOUR HUGGING FACE API KEY>", | |
| ) | |
| completion = client.chat.completions.create( | |
| model="deepseek-ai/DeepSeek-R1-0528", | |
| messages=[ |