mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-09 13:32:08 +00:00
Compare commits
3 Commits
fsmerged-e
...
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,
|
||||
"luks2",
|
||||
KATA_IMAGE_WORK_DIR,
|
||||
"-E lazy_journal_init",
|
||||
"-O ^has_journal -m 0 -i 163840 -I 128",
|
||||
)
|
||||
.await?;
|
||||
break;
|
||||
|
||||
@@ -86,8 +86,6 @@ setup_langchain_flow() {
|
||||
# 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()
|
||||
# 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() {
|
||||
local output_file="$1"
|
||||
local cc_kbs_address
|
||||
@@ -110,7 +108,6 @@ name = "cc_kbc"
|
||||
url = "${cc_kbs_address}"
|
||||
|
||||
[image]
|
||||
max_concurrent_layer_downloads_per_image = 1
|
||||
authenticated_registry_credentials_uri = "kbs:///default/credentials/nvcr"
|
||||
'''
|
||||
EOF
|
||||
|
||||
@@ -28,6 +28,9 @@ spec:
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- sleep 6000
|
||||
resources:
|
||||
limits:
|
||||
cpu: "2"
|
||||
volumeDevices:
|
||||
- devicePath: /dev/trusted_store
|
||||
name: trusted-storage
|
||||
|
||||
Reference in New Issue
Block a user