tekton | A full stack project based on tekton , gaegraph , gaeforms

 by   renzon Python Version: Current License: MIT

kandi X-RAY | tekton Summary

kandi X-RAY | tekton Summary

tekton is a Python library. tekton has no bugs, it has no vulnerabilities, it has a Permissive License and it has high support. However tekton build file is not available. You can download it from GitHub.

A full stack project based on tekton, gaegraph, gaeforms and gaepermission
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tekton has a highly active ecosystem.
              It has 32 star(s) with 49 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 5 open issues and 35 have been closed. On average issues are closed in 16 days. There are 1 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of tekton is current.

            kandi-Quality Quality

              tekton has 0 bugs and 0 code smells.

            kandi-Security Security

              tekton has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tekton code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tekton is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tekton releases are not available. You will need to build from source code and install.
              tekton has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed tekton and discovered the below as its top functions. This is intended to give you an instant insight into tekton implemented functionality, and help decide if they suit your requirements.
            • Prepare the flask response
            • Render a template by convention
            • Render a template by name
            • Get the namespace for a given host
            • Set up the namespace
            • Make the agency
            • Make the convention
            • Post the agency
            Get all kandi verified functions for this library.

            tekton Key Features

            No Key Features are available at this moment for tekton.

            tekton Examples and Code Snippets

            No Code Snippets are available at this moment for tekton.

            Community Discussions

            QUESTION

            How do I access a private Container Registry from IBM Cloud Delivery Pipeline (Tekton)
            Asked 2022-Apr-04 at 07:52

            I am trying to use a container image from a private container registry in one of my tasks.

            ...

            ANSWER

            Answered 2022-Apr-03 at 06:35

            The secret you created (type basic-auth) would not allow Kubelet to pull your Pods images.

            The doc mentions those secrets are meant to provision some configuration, inside your tasks containers runtime. Which may then be used during your build jobs, pulling or pushing images to registries.

            Although Kubelet needs some different configuration (eg: type dockercfg), to authenticate when pulling images / starting containers.

            Source https://stackoverflow.com/questions/71718042

            QUESTION

            How to use Kustomize to configure Traefik 2.x IngressRoute (metadata.name, spec.routes[0].services[0].name & spec.routes[0].match = Host() )
            Asked 2022-Apr-04 at 06:14

            We have a EKS cluster running with Traefik deployed in CRD style (full setup on GitHub) and wan't to deploy our app https://gitlab.com/jonashackt/microservice-api-spring-boot with the Kubernetes objects Deployment, Service and IngressRoute (see configuration repository here). The manifests look like this:

            deployment.yml:

            ...

            ANSWER

            Answered 2022-Apr-04 at 06:14
            1. Change the IngressRoutes .spec.routes[0].services[0].name with Kustomize

            Changing the IngressRoutes .spec.routes[0].services[0].name is possible with Kustomize using a NameReference transformer (see docs here) - luckily I found inspiration in this issue. Therefore we need to include the configurations keyword in our kustomize.yaml:

            Source https://stackoverflow.com/questions/71704023

            QUESTION

            ArgoCD & Traefik 2.x: How to configure argocd-server Deployment to run with TLS disabled (where to put --insecure flag)
            Asked 2022-Mar-31 at 13:16

            We have a setup with Traefik as the Ingress Controller / CRD and ArgoCD. We installed ArgoCD into our EKS setup as described in the Argo getting stared guide:

            ...

            ANSWER

            Answered 2022-Mar-31 at 13:16
            0. Why a declarative ArgoCD setup with Kustomize is a great way to configure custom parameters

            There are multiple options on how to configure ArgoCD. A great way is to use a declarative approach, which should be the default Kubernetes-style. Skimming the ArgoCD docs there's a additional configuration section where the possible flags of the ConfigMap argocd-cmd-params-cm can be found. The flags are described in argocd-cmd-params-cm.yaml. One of them is the flag server.insecure

            Source https://stackoverflow.com/questions/71692891

            QUESTION

            Can Knative always start pods for each incoming request?
            Asked 2022-Mar-23 at 21:38

            We want to build a simplified job/task processing system based on Kubernetes. We thought about using Knative and its eventing features. However, one requirement is to execute each task/job isolated in a separate pod. Afterwards, we wanna destroy the pod. Every other task/job is processed by new pods, etc. Further, the jobs/tasks can be long-running, i.e., multiple hours or even days.

            We are wondering if we can use and configure Knative to achieve this. I'm actually a bit sceptical due to the scale to zero feature, which would destroy long-running jobs (learned from here: https://stackoverflow.com/a/65881346/7065173). Further, our jobs/tasks shouldn't necessarily listen to an HTTP(S) port. These jobs/tasks are basically pre-packaged into a container and the respective action is executed using Docker CMD.

            What do you guys think, is Knative a good baseline for our endeavour? ... Even more, do you have any tip/suggestion what baseline to use instead (we also have an eye on Tekton btw.)?

            ...

            ANSWER

            Answered 2022-Mar-23 at 16:05

            If you have tasks you want to run for days, then Knative is probably not a good baseline for the effort. Knative assumes that your application is only active as long as there is at least one HTTP request in flight to your application. As you intuit, leaving an HTTP connection open for days is probably not a good design practice.

            For your use case, it seems like Kubernetes Jobs might be the best approach. If you need something to react to the "there is work to spin up a job" signal and create the Job, you could use a Knative Service to talk to Kubernetes to create the Job; I've seen that work successfully in other cases.

            Knative also doesn't provide a hard mechanism for "exit after processing one request"; for users that want this level of isolation, I've suggested putting an exit(1) call in their application after they handle one request, but I agree that it's not an ideal workaround.

            Source https://stackoverflow.com/questions/71589021

            QUESTION

            Create Route53 hosted zone A record dynamically from CI based on previously provisioned Kubernetes Service' AWS ELB
            Asked 2022-Mar-11 at 12:36

            We have a AWS EKS setup (full repo here), where we install Traefik using Helm. This creates a Kubernetes Service called traefik which gets provisioned an AWS Elastic Load Balancer. The ELB url can be obtained using kubectl like this:

            ...

            ANSWER

            Answered 2022-Mar-11 at 12:36

            We choose to use AWS CLI to do that for us. The docs provide a starting point. But we can't do this using a static file like with the proposed --change-batch file://sample.json - instead we need to have it dynamic so we can use a command inside our GitHub Actions workflow.

            The idea is derived from this so answer, where we can simply use the json snippet inline without an extra file. Also need to have an idempotent solution which we can run 1 or many times in GitHub Actions CI. Therefore we used the "Action" : "UPSERT" (see https://aws.amazon.com/premiumsupport/knowledge-center/simple-resource-record-route53-cli/).

            Source https://stackoverflow.com/questions/71438625

            QUESTION

            Share variables of GitHub Actions job to multiple subsequent jobs while retaining specific order
            Asked 2022-Feb-24 at 11:49

            We have a GitHub Actions workflow consiting of 3 jobs:

            1. provision-eks-with-pulumi: Provisions AWS EKS cluster (using Pulumi here)
            2. install-and-run-argocd-on-eks: Installing & configuring ArgoCD using kubeconfig from job 1.
            3. install-and-run-tekton-on-eks: Installing & running Tekton using kubeconfig from job 1., but depending on job 2.

            We are already aware of this answer and the docs and use jobs..outputs to define the variable in job 1. and jobs..needs. to use the variable in the subsequent jobs. BUT it only works for our job 2. - but failes for job 3.. Here's our workflow.yml:

            ...

            ANSWER

            Answered 2022-Feb-21 at 13:46

            That's easy, because a GitHub Actions job can depend on multiple jobs using the needs keyword. All you have to do in job 3. is to use an array notation like needs: [job1, job2].

            So for your workflow it will look like this:

            Source https://stackoverflow.com/questions/71207392

            QUESTION

            How to login to ArgoCD CLI non-interactive in CI like GitHub Actions?
            Asked 2022-Feb-24 at 11:47

            We have a full-blown setup using AWS EKS with Tekton installed and want to use ArgoCD for application deployment.

            As the docs state we installed ArgoCD on EKS in GitHub Actions with:

            ...

            ANSWER

            Answered 2022-Feb-24 at 11:47

            QUESTION

            Report Tekton pipeline status to GitLab regardless if pipeline failed or succeeded (using gitlab-set-status Task)
            Asked 2022-Feb-24 at 11:43

            We're already using the gitlab-set-status Task from Tekton Hub to report our Tekton Pipeline's status back into our GitLab instance (here's our EKS setup & Tekton installment and a example project on gitlab.com). Our pipeline.yml looks like this and currently reports the STATE success every time the Tekton Pipeline runs:

            ...

            ANSWER

            Answered 2021-Nov-30 at 07:09

            In v0.14 Tekton introduced the so called finally Tasks, which run at the end of every Pipeline - regardless which Task failed or succeeded. As the docs state:

            finally tasks are guaranteed to be executed in parallel after all PipelineTasks under tasks have completed regardless of success or error.

            In general finally tasks look like this:

            Source https://stackoverflow.com/questions/70156006

            QUESTION

            kubectl wait for Service on AWS EKS to expose Elastic Load Balancer (ELB) address reported in .status.loadBalancer.ingress field
            Asked 2022-Feb-24 at 11:37

            As the kubernetes.io docs state about a Service of type LoadBalancer:

            On cloud providers which support external load balancers, setting the type field to LoadBalancer provisions a load balancer for your Service. The actual creation of the load balancer happens asynchronously, and information about the provisioned balancer is published in the Service's .status.loadBalancer field.

            On AWS Elastic Kubernetes Service (EKS) a an AWS Load Balancer is provisioned that load balances network traffic (see AWS docs & the example project on GitHub provisioning a EKS cluster with Pulumi). Assuming we have a Deployment ready with the selector app=tekton-dashboard (it's the default Tekton dashboard you can deploy as stated in the docs), a Service of type LoadBalancer defined in tekton-dashboard-service.yml could look like this:

            ...

            ANSWER

            Answered 2022-Feb-24 at 11:37

            TLDR;

            Prior to Kubernetes v1.23 it's not possible using kubectl wait, but using until together with grep like this:

            Source https://stackoverflow.com/questions/70108499

            QUESTION

            How to trigger Tekton Pipeline from GitLab CI directly with predefined GitLab CI variables & Tekton logs streamed into GitLab Pipeline logs
            Asked 2022-Feb-24 at 11:35

            We have a AWS EKS running (setup using Pulumi), where we installed Tekton as described in the Cloud Native Buildpacks Tekton docs. The example project is available.

            Our Tekton pipeline is configured like this (which is derived from the Cloud Native Buildpacks Tekton docs also):

            ...

            ANSWER

            Answered 2021-Nov-16 at 15:31

            TLDR;

            I created a fully comprehensible example project showing all necessary steps and running pipelines here: https://gitlab.com/jonashackt/microservice-api-spring-boot/ with the full .gitlab-ci.yml to directly trigger a Tekton Pipeline:

            Source https://stackoverflow.com/questions/69991507

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tekton

            You can download it from GitHub.
            You can use tekton like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/renzon/tekton.git

          • CLI

            gh repo clone renzon/tekton

          • sshUrl

            git@github.com:renzon/tekton.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link