Skip to content

Commit e6bf8ff

Browse files
committed
render-sync
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
1 parent 9b24a46 commit e6bf8ff

File tree

4 files changed

+341
-0
lines changed

4 files changed

+341
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
apiVersion: machineconfiguration.openshift.io/v1
2+
kind: KubeletConfig
3+
metadata:
4+
creationTimestamp: null
5+
name: performance-manual
6+
ownerReferences:
7+
- apiVersion: performance.openshift.io/v2
8+
kind: PerformanceProfile
9+
name: manual
10+
uid: ""
11+
spec:
12+
kubeletConfig:
13+
apiVersion: kubelet.config.k8s.io/v1beta1
14+
authentication:
15+
anonymous: {}
16+
webhook:
17+
cacheTTL: 0s
18+
x509: {}
19+
authorization:
20+
webhook:
21+
cacheAuthorizedTTL: 0s
22+
cacheUnauthorizedTTL: 0s
23+
containerRuntimeEndpoint: ""
24+
cpuManagerPolicy: static
25+
cpuManagerPolicyOptions:
26+
full-pcpus-only: "true"
27+
cpuManagerReconcilePeriod: 5s
28+
evictionHard:
29+
imagefs.available: 15%
30+
memory.available: 100Mi
31+
nodefs.available: 10%
32+
nodefs.inodesFree: 5%
33+
evictionPressureTransitionPeriod: 0s
34+
fileCheckFrequency: 0s
35+
httpCheckFrequency: 0s
36+
imageMinimumGCAge: 0s
37+
kind: KubeletConfiguration
38+
kubeReserved:
39+
memory: 500Mi
40+
logging:
41+
flushFrequency: 0
42+
options:
43+
json:
44+
infoBufferSize: "0"
45+
verbosity: 0
46+
memoryManagerPolicy: Static
47+
memorySwap: {}
48+
nodeStatusReportFrequency: 0s
49+
nodeStatusUpdateFrequency: 0s
50+
reservedMemory:
51+
- limits:
52+
memory: 1100Mi
53+
numaNode: 0
54+
reservedSystemCPUs: "0"
55+
runtimeRequestTimeout: 0s
56+
shutdownGracePeriod: 0s
57+
shutdownGracePeriodCriticalPods: 0s
58+
streamingConnectionIdleTimeout: 0s
59+
syncFrequency: 0s
60+
systemReserved:
61+
memory: 500Mi
62+
topologyManagerPolicy: single-numa-node
63+
volumeStatsAggPeriod: 0s
64+
machineConfigPoolSelector:
65+
matchLabels:
66+
machineconfiguration.openshift.io/role: worker-cnf
67+
status:
68+
conditions: null
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
apiVersion: machineconfiguration.openshift.io/v1
2+
kind: MachineConfig
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
machineconfiguration.openshift.io/role: worker-cnf
7+
name: 50-performance-manual
8+
ownerReferences:
9+
- apiVersion: performance.openshift.io/v2
10+
kind: PerformanceProfile
11+
name: manual
12+
uid: ""
13+
spec:
14+
baseOSExtensionsContainerImage: ""
15+
config:
16+
ignition:
17+
config:
18+
replace:
19+
verification: {}
20+
proxy: {}
21+
security:
22+
tls: {}
23+
timeouts: {}
24+
version: 3.2.0
25+
passwd: {}
26+
storage:
27+
files:
28+
- contents:
29+
source: data:text/plain;charset=utf-8;base64,IyEvdXNyL2Jpbi9lbnYgYmFzaAoKc2V0IC1ldW8gcGlwZWZhaWwKCm5vZGVzX3BhdGg9Ii9zeXMvZGV2aWNlcy9zeXN0ZW0vbm9kZSIKaHVnZXBhZ2VzX2ZpbGU9IiR7bm9kZXNfcGF0aH0vbm9kZSR7TlVNQV9OT0RFfS9odWdlcGFnZXMvaHVnZXBhZ2VzLSR7SFVHRVBBR0VTX1NJWkV9a0IvbnJfaHVnZXBhZ2VzIgoKaWYgWyAhIC1mICIke2h1Z2VwYWdlc19maWxlfSIgXTsgdGhlbgogIGVjaG8gIkVSUk9SOiAke2h1Z2VwYWdlc19maWxlfSBkb2VzIG5vdCBleGlzdCIKICBleGl0IDEKZmkKCnRpbWVvdXQ9NjAKc2FtcGxlPTEKY3VycmVudF90aW1lPTAKd2hpbGUgWyAiJChjYXQgIiR7aHVnZXBhZ2VzX2ZpbGV9IikiIC1uZSAiJHtIVUdFUEFHRVNfQ09VTlR9IiBdOyBkbwogIGVjaG8gIiR7SFVHRVBBR0VTX0NPVU5UfSIgPiIke2h1Z2VwYWdlc19maWxlfSIKCiAgY3VycmVudF90aW1lPSQoKGN1cnJlbnRfdGltZSArIHNhbXBsZSkpCiAgaWYgWyAkY3VycmVudF90aW1lIC1ndCAkdGltZW91dCBdOyB0aGVuCiAgICBlY2hvICJFUlJPUjogJHtodWdlcGFnZXNfZmlsZX0gZG9lcyBub3QgaGF2ZSB0aGUgZXhwZWN0ZWQgbnVtYmVyIG9mIGh1Z2VwYWdlcyAke0hVR0VQQUdFU19DT1VOVH0iCiAgICBleGl0IDEKICBmaQoKICBzbGVlcCAkc2FtcGxlCmRvbmUK
30+
verification: {}
31+
group: {}
32+
mode: 448
33+
path: /usr/local/bin/hugepages-allocation.sh
34+
user: {}
35+
- contents:
36+
source: data:text/plain;charset=utf-8;base64,IyEvdXNyL2Jpbi9lbnYgYmFzaAoKZnVsbF9wYXRoPSR7MX0KWyAtbiAiJHtmdWxsX3BhdGh9IiBdIHx8IHsgZWNobyAiVGhlIGZ1bGwgZGV2aWNlIHBhdGggYXJndW1lbnQgaXMgbWlzc2luZyIgPiYyIDsgZXhpdCAxOyB9CgptYXNrPSR7Mn0KWyAtbiAiJHttYXNrfSIgXSB8fCB7IGVjaG8gIlRoZSBtYXNrIGFyZ3VtZW50IGlzIG1pc3NpbmciID4mMiA7IGV4aXQgMTsgfQoKIyByZXBsYWNlICctJyB3aXRoICcvJwpkZV9lc2NhcGVfcGF0aD0iL3N5cyR7ZnVsbF9wYXRoLy8tLy99IgoKIyBnZXQgdGhlIHBhdGggZm9yIHRoZSBxdWV1ZXMKcXVldWVzX3BhdGg9JHtkZV9lc2NhcGVfcGF0aCUvcngqfQoKIyBzZXQgcnBzIGFmZmluaXR5IGZvciBhbGwgcXVldWVzCmZvciBpIGluICIke3F1ZXVlc19wYXRofSIvcngtKi9ycHNfY3B1czsgZG8KICBlY2hvICIke21hc2t9IiA+ICIke2l9Igpkb25lCg==
37+
verification: {}
38+
group: {}
39+
mode: 448
40+
path: /usr/local/bin/set-rps-mask.sh
41+
user: {}
42+
- contents:
43+
source: data:text/plain;charset=utf-8;base64,IyEvdXNyL2Jpbi9iYXNoCgpzZXQgLWV1byBwaXBlZmFpbAoKZm9yIGNwdSBpbiAke09GRkxJTkVfQ1BVUy8vLC8gfTsKICBkbwogICAgb25saW5lX2NwdV9maWxlPSIvc3lzL2RldmljZXMvc3lzdGVtL2NwdS9jcHUkY3B1L29ubGluZSIKICAgIGlmIFsgISAtZiAiJHtvbmxpbmVfY3B1X2ZpbGV9IiBdOyB0aGVuCiAgICAgIGVjaG8gIkVSUk9SOiAke29ubGluZV9jcHVfZmlsZX0gZG9lcyBub3QgZXhpc3QsIGFib3J0IHNjcmlwdCBleGVjdXRpb24iCiAgICAgIGV4aXQgMQogICAgZmkKICBkb25lCgplY2hvICJBbGwgY3B1cyBvZmZsaW5lZCBleGlzdHMsIHNldCB0aGVtIG9mZmxpbmUiCgpmb3IgY3B1IGluICR7T0ZGTElORV9DUFVTLy8sLyB9OwogIGRvCiAgICBvbmxpbmVfY3B1X2ZpbGU9Ii9zeXMvZGV2aWNlcy9zeXN0ZW0vY3B1L2NwdSRjcHUvb25saW5lIgogICAgZWNobyAwID4gIiR7b25saW5lX2NwdV9maWxlfSIKICAgIGVjaG8gIm9mZmxpbmUgY3B1IG51bSAkY3B1IgogIGRvbmUKCg==
44+
verification: {}
45+
group: {}
46+
mode: 448
47+
path: /usr/local/bin/set-cpus-offline.sh
48+
user: {}
49+
- contents:
50+
source: data:text/plain;charset=utf-8;base64,IyEvdXNyL2Jpbi9lbnYgYmFzaApzZXQgLWV1byBwaXBlZmFpbApzZXQgLXgKCiMgY29uc3QKU0VEPSIvdXNyL2Jpbi9zZWQiCiMgdHVuYWJsZSAtIG92ZXJyaWRhYmxlIGZvciB0ZXN0aW5nIHB1cnBvc2VzCklSUUJBTEFOQ0VfQ09ORj0iJHsxOi0vZXRjL3N5c2NvbmZpZy9pcnFiYWxhbmNlfSIKQ1JJT19PUklHX0JBTk5FRF9DUFVTPSIkezI6LS9ldGMvc3lzY29uZmlnL29yaWdfaXJxX2Jhbm5lZF9jcHVzfSIKClsgISAtZiAke0lSUUJBTEFOQ0VfQ09ORn0gXSAmJiBleGl0IDAKCiR7U0VEfSAtaSAnL15ccypJUlFCQUxBTkNFX0JBTk5FRF9DUFVTXGIvZCcgJHtJUlFCQUxBTkNFX0NPTkZ9IHx8IGV4aXQgMAplY2hvICJJUlFCQUxBTkNFX0JBTk5FRF9DUFVTPSIgPj4gJHtJUlFCQUxBTkNFX0NPTkZ9CgojIHdlIG5vdyBvd24gdGhpcyBjb25maWd1cmF0aW9uLiBCdXQgQ1JJLU8gaGFzIGNvZGUgdG8gcmVzdG9yZSB0aGUgY29uZmlndXJhdGlvbiwKIyBhbmQgdW50aWwgaXQgZ2FpbnMgdGhlIG9wdGlvbiB0byBkaXNhYmxlIHRoaXMgcmVzdG9yZSBmbG93LCB3ZSBuZWVkIHRvIG1ha2UKIyB0aGUgY29uZmlndXJhdGlvbiBjb25zaXN0ZW50IHN1Y2ggYXMgdGhlIENSSS1PIHJlc3RvcmUgd2lsbCBkbyBub3RoaW5nLgppZiBbIC1uICR7Q1JJT19PUklHX0JBTk5FRF9DUFVTfSBdICYmIFsgLWYgJHtDUklPX09SSUdfQkFOTkVEX0NQVVN9IF07IHRoZW4KCXRydWUgPiAke0NSSU9fT1JJR19CQU5ORURfQ1BVU30KZmkK
51+
verification: {}
52+
group: {}
53+
mode: 448
54+
path: /usr/local/bin/clear-irqbalance-banned-cpus.sh
55+
user: {}
56+
- contents:
57+
source: data:text/plain;charset=utf-8;base64,CltjcmlvLnJ1bnRpbWVdCmluZnJhX2N0cl9jcHVzZXQgPSAiMCIKCgojIFdlIHNob3VsZCBjb3B5IHBhc3RlIHRoZSBkZWZhdWx0IHJ1bnRpbWUgYmVjYXVzZSB0aGlzIHNuaXBwZXQgd2lsbCBvdmVycmlkZSB0aGUgd2hvbGUgcnVudGlt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WxsIHRoZSBwcm9jZXNzaW5nIG9uIGl0cyBjb3Jlcy4KbmV0LmNvcmUucnBzX2RlZmF1bHRfbWFzayA9IDAwMDAwMDAxCg==
65+
verification: {}
66+
group: {}
67+
mode: 420
68+
path: /etc/sysctl.d/99-default-rps-mask.conf
69+
user: {}
70+
- contents:
71+
source: data:text/plain;charset=utf-8;base64,U1VCU1lTVEVNPT0icXVldWVzIiwgQUNUSU9OPT0iYWRkIiwgRU5We0RFVlBBVEh9PT0iL2RldmljZXMvcGNpKi9xdWV1ZXMvcngqIiwgVEFHKz0ic3lzdGVtZCIsIEVOVntTWVNURU1EX1dBTlRTfT0idXBkYXRlLXJwc0AlcC5zZXJ2aWNlIg==
72+
verification: {}
73+
group: {}
74+
mode: 420
75+
path: /etc/udev/rules.d/99-netdev-physical-rps.rules
76+
user: {}
77+
- contents:
78+
source: data:text/plain;charset=utf-8;base64,IyEvYmluL2Jhc2gKCiMgY3B1c2V0LWNvbmZpZ3VyZS5zaCBjb25maWd1cmVzIHRocmVlIGNwdXNldHMgaW4gcHJlcGFyYXRpb24gZm9yIGFsbG93aW5nIGNvbnRhaW5lcnMgdG8gaGF2ZSBjcHUgbG9hZCBiYWxhbmNpbmcgZGlzYWJsZWQuCiMgVG8gY29uZmlndXJlIGEgY3B1c2V0IHRvIGhhdmUgbG9hZCBiYWxhbmNlIGRpc2FibGVkIChvbiBjZ3JvdXAgdjEpLCBhIGNwdXNldCBjZ3JvdXAgbXVzdCBoYXZlIGBjcHVzZXQuc2NoZWRfbG9hZF9iYWxhbmNlYAojIHNldCB0byAwIChkaXNhYmxlKSwgYW5kIGFueSBjcHVzZXQgdGhhdCBjb250YWlucyB0aGUgc2FtZSBzZXQgYXMgYGNwdXNldC5jcHVzYCBtdXN0IGFsc28gaGF2ZSBgY3B1c2V0LnNjaGVkX2xvYWRfYmFsYW5jZWAgc2V0IHRvIGRpc2FibGVkLgoKc2V0IC1ldW8gcGlwZWZhaWwKCnJvb3Q9L3N5cy9mcy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/usr/local/bin/cpuset-configure.sh
83+
user: {}
84+
- contents:
85+
source: data:text/plain;charset=utf-8;base64,W1VuaXRdCkRlc2NyaXB0aW9uPVRvcCBsZXZlbCBzbGljZSB1c2VkIHRvIGdpdmUgb3BlbnZzd2l0Y2ggYWNjZXNzIHRvIGFuIHVucmVzdHJpY3RlZCBzZXQgb2YgY3B1cwoKW1NsaWNlXQo=
86+
verification: {}
87+
group: {}
88+
mode: 420
89+
path: /etc/systemd/system/ovs.slice
90+
user: {}
91+
- contents:
92+
source: data:text/plain;charset=utf-8;base64,W1NlcnZpY2VdClNsaWNlPW92cy5zbGljZQo=
93+
verification: {}
94+
group: {}
95+
mode: 420
96+
path: /etc/systemd/system/openvswitch.service.d/01-use-ovs-slice.conf
97+
user: {}
98+
- contents:
99+
source: data:text/plain;charset=utf-8;base64,W1NlcnZpY2VdClNsaWNlPW92cy5zbGljZQo=
100+
verification: {}
101+
group: {}
102+
mode: 420
103+
path: /etc/systemd/system/ovs-vswitchd.service.d/01-use-ovs-slice.conf
104+
user: {}
105+
- contents:
106+
source: data:text/plain;charset=utf-8;base64,W1NlcnZpY2VdClNsaWNlPW92cy5zbGljZQo=
107+
verification: {}
108+
group: {}
109+
mode: 420
110+
path: /etc/systemd/system/ovsdb-server.service.d/01-use-ovs-slice.conf
111+
user: {}
112+
- contents:
113+
source: data:text/plain;charset=utf-8;base64,IyBUaGlzIGZpbGUgZW5hYmxlcyB0aGUgZHluYW1pYyBjcHUgYWZmaW5pdHkgbWFuYWdlbWVudCBvZiB0aGUgT1ZTIHNlcnZpY2VzCiMKIyBJdCBpcyByZWFkIGJ5IHRoZSBPVk4ncyBvdm5rdWJlLW5vZGUgRGFlbW9uU2V0IGNvbnRhaW5lciBhbmQgdGhlIGZlYXR1cmUKIyBpcyBlbmFibGVkIHdoZW4gdGhpcyBmaWxlIGV4aXN0cyBhbmQgaXMgbm90IGVtcHR5ICh0aGlzIGNvbW1lbnRhcnkgdGV4dAojIGVuc3VyZXMgdGhhdCkKIwojIEZvciBkaXNhYmxpbmcgdGhpcyBmZWF0dXJlIGluIGVtZXJnZW5jaWVzLCBlaXRoZXI6CiMgMSkgZGVsZXRlIHRoaXMgZmlsZSBhbmQgc2V0IHRoZSBjcHUgYWZmaW5pdHkgb2YgT1ZTIHNlcnZpY2VzIG1hbnVhbGx5CiMgMikgb3IgcmVwbGFjZSB0aGUgY29udGVudHMgb2YgdGhpcyBmaWxlIHdpdGggYW4gZW1wdHkgc3RyaW5nCiMgICAgdmlhIGEgTWFjaGluZUNvbmZpZwo=
114+
verification: {}
115+
group: {}
116+
mode: 420
117+
path: /var/lib/ovn-ic/etc/enable_dynamic_cpu_affinity
118+
user: {}
119+
systemd:
120+
units:
121+
- contents: |
122+
[Unit]
123+
Description=Sets network devices RPS mask
124+
125+
[Service]
126+
Type=oneshot
127+
ExecStart=/usr/local/bin/set-rps-mask.sh %i 0
128+
name: update-rps@.service
129+
- contents: |
130+
[Unit]
131+
Description=Hugepages-1048576kB allocation on the node 0
132+
Before=kubelet.service
133+
134+
[Service]
135+
Environment=HUGEPAGES_COUNT=1
136+
Environment=HUGEPAGES_SIZE=1048576
137+
Environment=NUMA_NODE=0
138+
Type=oneshot
139+
RemainAfterExit=true
140+
ExecStart=/usr/local/bin/hugepages-allocation.sh
141+
142+
[Install]
143+
WantedBy=multi-user.target
144+
enabled: true
145+
name: hugepages-allocation-1048576kB-NUMA0.service
146+
- contents: |
147+
[Unit]
148+
Description=Move services to reserved cpuset
149+
Before=network-online.target
150+
151+
[Service]
152+
Type=oneshot
153+
ExecStart=/usr/local/bin/cpuset-configure.sh
154+
155+
[Install]
156+
WantedBy=multi-user.target crio.service
157+
enabled: true
158+
name: cpuset-configure.service
159+
- contents: |
160+
[Unit]
161+
Description=Set cpus offline: 2,3
162+
Before=kubelet.service
163+
164+
[Service]
165+
Environment=OFFLINE_CPUS=2,3
166+
Type=oneshot
167+
RemainAfterExit=true
168+
ExecStart=/usr/local/bin/set-cpus-offline.sh
169+
170+
[Install]
171+
WantedBy=multi-user.target
172+
enabled: true
173+
name: set-cpus-offline.service
174+
- contents: |
175+
[Unit]
176+
Description=Clear the IRQBalance Banned CPU mask early in the boot
177+
Before=kubelet.service
178+
Before=irqbalance.service
179+
180+
[Service]
181+
Type=oneshot
182+
RemainAfterExit=true
183+
ExecStart=/usr/local/bin/clear-irqbalance-banned-cpus.sh
184+
185+
[Install]
186+
WantedBy=multi-user.target
187+
enabled: true
188+
name: clear-irqbalance-banned-cpus.service
189+
extensions: null
190+
fips: false
191+
kernelArguments: null
192+
kernelType: realtime
193+
osImageURL: ""
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: node.k8s.io/v1
2+
handler: high-performance
3+
kind: RuntimeClass
4+
metadata:
5+
creationTimestamp: null
6+
name: performance-manual
7+
ownerReferences:
8+
- apiVersion: performance.openshift.io/v2
9+
kind: PerformanceProfile
10+
name: manual
11+
uid: ""
12+
scheduling:
13+
nodeSelector:
14+
node-role.kubernetes.io/worker-cnf: ""

0 commit comments

Comments
 (0)