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/user-guide/preparing-infrastructure/setup-containerd.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,18 @@ EOF
45
45
sudo systemctl restart containerd
46
46
```
47
47
48
+
On-Premises workload validation based on RKE2 requires to use a docker registry. If you need to setup any insecure registries with `containerd`, modify the `rke2` configuration as follows, assuming your private registry is `foo.com:5000`:
49
+
50
+
```shell
51
+
cat | sudo tee /etc/rancher/rke2/registries.yaml <<EOF
52
+
mirrors:
53
+
"foo.com:5000":
54
+
endpoint:
55
+
- "http://foo.com:5000"
56
+
EOF
57
+
sudo systemctl restart rke2-server
58
+
```
59
+
48
60
## Setup Data Storage
49
61
50
62
Optionally, if you need to move the containerd storage location to, for example, `/mnt/storage/containerd`:
DLB is supported in certain SPR SKUs. Please make sure your CPU sku (QDF) supports DLB.
5
+
6
+
And DLB is broken with latest BKC kernel `5.15.0-spr.bkc.pc.2.10.0.x86_64`.
7
+
Before running the workload, please make sure your SPR has DLB device by running the following command:
8
+
9
+
```shell
10
+
lspci | grep 2710
11
+
```
12
+
13
+
If there are devices listed, then please download the DLB driver from this link: https://www.intel.com/content/www/us/en/download/686372/intel-dynamic-load-balancer.html
14
+
15
+
Execute the following commands:
16
+
17
+
```shell
18
+
tar -xf dlb_linux_src_release_<dlb_driver_version>.txz
Copy file name to clipboardExpand all lines: doc/user-guide/preparing-infrastructure/setup-wsf.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ flowchart TD;
19
19
net <--> sut3;;
20
20
```
21
21
22
-
where the SUT machines can be physical hosts in the On-Premesis case, or virtualized VMs in the Cloud or KVM execution. If Kubernetes is used, it is assumed that the SUT hosts form a Kubernetes cluster, where one of the SUTs be the Kubernetes controller.
22
+
where the SUT machines can be physical hosts in the On-Premesis case, or virtualized VMs in the Cloud. If Kubernetes is used, it is assumed that the SUT hosts form a Kubernetes cluster, where one of the SUTs be the Kubernetes controller.
23
23
24
24
There can be many variations of the above diagram:
25
25
- Combine dev and the Kubernetes controller on the same machine.
@@ -167,18 +167,16 @@ Use the following setup steps:
167
167
168
168
- Use `cmake -DREGISTRY=<registry_url> ..` to set the private registry URL.
169
169
- Set `k8s_enable_registry: false` in `script/terraform/terraform-config.static.tf`. This is the default.
170
-
- If the host has enough CPU cores and memory, suggest to use the KVM development setup for more flexibility.
171
170
172
171
---
173
172
174
173
## Setup Scripts
175
-
> Note: All scripts mentioned below, such as setup-dev.sh, setup-sut-kvm.sh, etc, are found inside ```script/setup/``` and must be executed from there.
174
+
> Note: All scripts mentioned below, such as setup-dev.sh, etc, are found inside ```script/setup/``` and must be executed from there.
176
175
-**[`setup-dev.sh`][setup-dev.sh-self]**: Setup the dev host.
177
176
-**[`setup-reg.sh`][setup-reg.sh-self]**: Setup a private docker registry.
178
177
-**[`setup-sut-native.sh`][setup-sut-native.sh-self]**: Setup the SUT host for native workload execution.
179
178
-**[`setup-sut-docker.sh`][setup-sut-docker.sh-self]**: Setup the SUT host for docker/docker-compose workload execution.
180
179
-**[`setup-sut-k8s.sh`][setup-sut-k8s.sh-self]**: Setup the SUT host for Kubernetes workload execution.
181
-
-**[`setup-sut-kvm.sh`][setup-sut-kvm.sh-self]**: Setup the KVM host.
182
180
183
181
### setup-dev.sh
184
182
@@ -266,7 +264,6 @@ where `options` are:
266
264
267
265
[Instructions of Cloud Setup]: #cloud-setup
268
266
[Instructions of On-Premises Setup]: #on-premises-setup
0 commit comments