Our great sponsors
-
tekton-argocd-poc
This a PoC using Tekton (for CI) and ArgoCD (CD). It uses a local k8s cluster (K3D)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Puts Debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
The first step is to fork the repo https://github.com/jaruizes/tekton-argocd-poc because:
So, examples of Kubernetes objects are: Pod, Service, Deployment, etc...Tekton builds its own objects to Kubernetes and deploys them into the cluster. If you feel curious about custom objects, here the official documentation is and you can also check the Tekton Github to see how these objects are. For instance, Pipeline or Task
Argo CD, like Tekton, also creates its own Kubernetes custom resources that are installed into the Kubernetes cluster.
Reusability: the different elements within the CI/CD process use the Kubernetes objects defined by Tekton and Argo CD in the same way that you work with deployments o service objects. That means that stages, tasks or applications are YAML files that you can store in some repository and use in every cluster with Tekton and Argo CD installed. For instance, it's possible to use artifacts from Tekton catalog or even, it's possible to use the Openshift catalog or building a custom one.
A Kubernetes cluster. If you don't have one, you can create a K3D one using the script create-local-cluster.sh but, obviously, you need to have installed K3D
apiVersion: v1 kind: Secret metadata: name: git-auth namespace: tekton-poc annotations: tekton.dev/git-0: https://github.com type: kubernetes.io/basic-auth stringData: username: tekton password: ## INSERT TOKEN HERE