You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/design/subscription-config.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,3 +84,52 @@ spec:
84
84
- mountPath: /config
85
85
name: config-volume
86
86
```
87
+
88
+
### Tolerations
89
+
90
+
The `tolerations` field defines a list of [Tolerations](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) for the Pod created by OLM.
91
+
92
+
> Note: Tolerations defined here will be appended to existing Tolerations, if not already present.
93
+
94
+
#### Example
95
+
96
+
Inject toleration to tolerate all taints.
97
+
98
+
```
99
+
kind: Subscription
100
+
metadata:
101
+
name: my-operator
102
+
spec:
103
+
package: etcd
104
+
channel: alpha
105
+
config:
106
+
tolerations:
107
+
- operator: "Exists"
108
+
```
109
+
110
+
### Resources
111
+
112
+
The `resources` field defines [Resource Constraints](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container) for all the containers in the Pod created by OLM.
113
+
114
+
> Note: Resource Constraints defined here will overwrite existing resource constraints.
115
+
116
+
#### Example
117
+
118
+
Inject a request of 0.25 cpu and 64 MiB of memory, and a limit of 0.5 cpu and 128MiB of memory in each container.
0 commit comments