Comments (6)
Hi @jsteenb2 thanks to reach us. from v0.68.0
we have add new field called options
, with options you can achieve this. https://tekton.dev/docs/operator/tektonconfig/#additional-fields-as-options
apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
name: config
spec:
pipeline:
options:
deployments:
tekton-pipelines-controller:
spec:
template:
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: NotIn
values:
- windows
- key: node-role.kubernetes.io/restricted-egress
operator: In
values:
- ''
nodeSelector:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/restricted-egress
operator: Exists
topologySpreadConstraints:
However the priorityClassName
NOT in the options. I will include that. thanks!
from operator.
would be great to see an example of what the pod_template woudl look like integrating into this. The options field was opaque in its structure to me. I never would have guessed I could have done what you outlined above. Extending the docs here would be immensely helpful 🙏
from operator.
@jsteenb2 you have to add the entry to each deployment separately in the options.
from operator.
ohhh interesting, thank you! I'll give this a shot today 👍
from operator.
@jkandasa , is there a way to set the affinity and tolerations for all deployments? Or do we have to list them all out separately in the options? I'm using yaml references, but it feels suboptimal having to map this to each individually.
from operator.
gotcha, that's less than ideal, but workable on our end
from operator.
Related Issues (20)
- Provide a way to configure PVC for internal DB in Results HOT 3
- "options" generates unnecessary values on TektonConfig CR
- "options" adding resource entries on multiple installersets
- display the actual error into the TektonConfig status
- Resolve conflict between Prereonciler and Reconciler during upgrade HOT 1
- what is Rekor UUID? HOT 2
- add required fields on kubernetes manifest generation
- helm chart support extraenv HOT 3
- TektonResult installation fails if targerNamespace is different HOT 1
- Enhance the "[bot] bump payload versions" to update the "clusterserviceversion" template HOT 1
- Revert Results Prereconcile and reconcile resolution PR HOT 2
- TektonHub CR not able to clone HOT 15
- [e2e] Tektonhubexternaldatabase testcase failing with namespace not found on PPC64LE HOT 6
- On install, conflicting components are created HOT 5
- Reconcile a namespace again with missing rolebinding HOT 1
- Add tracing support in operator
- Pipeline tasks failing after upgrading Openshift Pipelines operator from 1.8 to 1.9 HOT 1
- Chains section in TektonConfig gets override with default HOT 2
- helm chart 0.71.0 missing some crd (ManualApprovalGate) HOT 1
- Question: why there is a relatively large `source.tar.gz` file in the pipeline operator image HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operator.