mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-11 14:32:26 +00:00
Compare commits
3 Commits
burgerdev/
...
mahuber/st
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b04a936d3 | ||
|
|
ff6088050e | ||
|
|
eee6049ee9 |
@@ -2322,7 +2322,7 @@ async fn cdh_handler_trusted_storage(oci: &mut Spec) -> Result<()> {
|
|||||||
&dev_major_minor,
|
&dev_major_minor,
|
||||||
"luks2",
|
"luks2",
|
||||||
KATA_IMAGE_WORK_DIR,
|
KATA_IMAGE_WORK_DIR,
|
||||||
"-E lazy_journal_init",
|
"-O ^has_journal -m 0 -i 163840 -I 128",
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -86,8 +86,6 @@ setup_langchain_flow() {
|
|||||||
# generated policy.rego to it and set it as the cc_init_data annotation.
|
# generated policy.rego to it and set it as the cc_init_data annotation.
|
||||||
# We must overwrite the default empty file AFTER create_tmp_policy_settings_dir()
|
# We must overwrite the default empty file AFTER create_tmp_policy_settings_dir()
|
||||||
# copies it to the temp directory.
|
# copies it to the temp directory.
|
||||||
# As we use multiple vCPUs we set `max_concurrent_layer_downloads_per_image = 1`,
|
|
||||||
# see: https://github.com/kata-containers/kata-containers/issues/12721
|
|
||||||
create_nim_initdata_file() {
|
create_nim_initdata_file() {
|
||||||
local output_file="$1"
|
local output_file="$1"
|
||||||
local cc_kbs_address
|
local cc_kbs_address
|
||||||
@@ -110,7 +108,6 @@ name = "cc_kbc"
|
|||||||
url = "${cc_kbs_address}"
|
url = "${cc_kbs_address}"
|
||||||
|
|
||||||
[image]
|
[image]
|
||||||
max_concurrent_layer_downloads_per_image = 1
|
|
||||||
authenticated_registry_credentials_uri = "kbs:///default/credentials/nvcr"
|
authenticated_registry_credentials_uri = "kbs:///default/credentials/nvcr"
|
||||||
'''
|
'''
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ spec:
|
|||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
args:
|
args:
|
||||||
- sleep 6000
|
- sleep 6000
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: "2"
|
||||||
volumeDevices:
|
volumeDevices:
|
||||||
- devicePath: /dev/trusted_store
|
- devicePath: /dev/trusted_store
|
||||||
name: trusted-storage
|
name: trusted-storage
|
||||||
|
|||||||
Reference in New Issue
Block a user