Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I poc #12

Open
wants to merge 74 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 69 commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
87a5a0f
Adding I-PoC example to veraqcruz-examples (squashed)
alexandref75 Nov 1, 2021
53d7ab3
Add headers and License information to source code files
alexandref75 Nov 1, 2021
785c2ba
Spell check on README, adding Python Docs for functions.
alexandref75 Nov 1, 2021
54e66df
Add support for instance_id and instance_hash to VaaS
alexandref75 Nov 2, 2021
11c520b
Change docker repository to veracruz
alexandref75 Nov 2, 2021
3fb8d4f
Fix stray code block
alexandref75 Nov 3, 2021
2a9adc3
Add better error handling and recovery
alexandref75 Nov 3, 2021
4dedfab
Fix erroneous code block
alexandref75 Nov 3, 2021
3e54b1f
Document Iotex-S3-app
alexandref75 Nov 3, 2021
5828dda
Add script to start iotex-user-app.sh with correct parameters
alexandref75 Nov 3, 2021
f9733ea
Fix support for single identity per certificate
alexandref75 Nov 5, 2021
89f8a29
Fix figure
alexandref75 Nov 5, 2021
c38a9e8
Add warning about multiple identities with same certificate
alexandref75 Nov 6, 2021
69c0d12
Add support for changing Veracruz Nitro size (hugepages size)
alexandref75 Nov 8, 2021
5d1341b
Add support for changing Veracruz pod memori size and CPU size
alexandref75 Nov 8, 2021
7205870
Add troubleshooting for S3 errors
alexandref75 Nov 8, 2021
54f92be
Add entry to future support of remote repositories
alexandref75 Nov 9, 2021
14d46d0
Fix make images before veracruz-client
alexandref75 Jan 4, 2022
f37861d
Fixes for running i-PoC on 22.04
Apr 8, 2022
59cdecc
First entry just show what are the veracruz instances running
Apr 8, 2022
bda0a1f
Fixes for veracruz runtime (nitro) WIP
alexandref75 Aug 1, 2022
9abcdb9
Add support for Veracruz runtime with mbed-TLS
alexandref75 Aug 12, 2022
70916cd
Dupplicated entry on vaas-server.py
alexandref75 Aug 12, 2022
554c2b4
Update CCFaaS to new policy format
gbryant-arm Aug 18, 2022
ebcb848
Adjust to new policy format
gbryant-arm Aug 23, 2022
b893a64
Update YAML deployment script
gbryant-arm Aug 23, 2022
43bdc9b
FIx CCFaaS for using v1.1.1 nitro image
alexandref75 Aug 25, 2022
bbfae2b
Add debugging messages
gbryant-arm Sep 9, 2022
4a9d619
Update image versions
gbryant-arm Sep 23, 2022
dfafac0
Fix config var
gbryant-arm Sep 23, 2022
08306e2
Don't restart veracruz-server pod after it dies
gbryant-arm Sep 23, 2022
0958e36
Demo updates and fixes
alexandref75 Oct 10, 2022
620961a
Fix ececution. explict compution step was added
alexandref75 Oct 10, 2022
580e13f
Small fixes on README
alexandref75 Oct 11, 2022
36afc68
Changes to user portion of the demo (adding crypto)
alexandref75 Oct 12, 2022
d1c3c28
Add function name to user app's arguments
gbryant-arm Oct 13, 2022
221a678
Documentation update
alexandref75 Oct 13, 2022
0431873
Fix command line of iotex-user-app
alexandref75 Oct 13, 2022
d6f5d78
Add cert.conf
gbryant-arm Oct 14, 2022
38fadeb
Add function registration scripts and partial policies
gbryant-arm Oct 14, 2022
f6e792f
Add hugepages reference
alexandref75 Oct 17, 2022
fb6bce9
Add reference to a tag on veracruz
alexandref75 Oct 20, 2022
b3c2991
small text corrections
alexandref75 Oct 20, 2022
63e83c2
Add reference to VoD on README
alexandref75 Oct 24, 2022
9ff8b86
Fixes fro veracruz-nitro (1.3.3) and miscelaneous changes
alexandref75 Jan 24, 2023
f4b7a43
Missing file.
alexandref75 Jan 24, 2023
751aafd
Updates for VOD tar and README fixes
alexandref75 Jan 25, 2023
02ad951
Add info about S3
alexandref75 Jan 25, 2023
7763e27
Fix info about S3
alexandref75 Jan 25, 2023
2920248
Fix tar incorrect file and register do not need veracruz-client
alexandref75 Jan 25, 2023
ef38efe
Spell check of README.md
alexandref75 Jan 25, 2023
88f2401
Fixes in markdown for README.md
alexandref75 Jan 25, 2023
d5e223a
Updated to VOD 1.3.3 and fixes on README
alexandref75 Jan 26, 2023
feb9d0b
Update outputs for the example run
alexandref75 Jan 26, 2023
6b47896
Fixes on README, presentation mostly.
alexandref75 Jan 27, 2023
179260c
Updated to veracruz/veracruz-example main
alexandref75 Jan 27, 2023
7aba0ef
Updated to veracruz/veracruz-examples main
alexandref75 Jan 27, 2023
a4ba2f7
Merge branch 'veracruz-main' into i-poc
alexandref75 Jan 27, 2023
f1827d8
Merge branch 'i-poc'
alexandref75 Jan 27, 2023
031c757
Polishing README
alexandref75 Jan 27, 2023
176faa2
Fix error Max instead of Min.
alexandref75 Jan 30, 2023
5e7b115
Revert commit that removed decryption key on execute_program
alexandref75 Feb 14, 2023
059f032
Revert "Updated to veracruz/veracruz-examples main"
alexandref75 Feb 14, 2023
379a8ce
Adding checks for decrytion key files
alexandref75 Feb 14, 2023
a2d3eb6
Some language changes on README
alexandref75 Feb 16, 2023
f5198b5
Describe options to install veracruz
alexandref75 Feb 23, 2023
9791b37
Clarify installing K3s on EC2
alexandref75 Feb 23, 2023
9e35597
Fix README for reference to main-k3s directory
alexandref75 Feb 28, 2023
4b365f5
Add documentation about variables in config.vars.template
alexandref75 Mar 6, 2023
8604de0
Add requirement of 2GB for YOLOv3 model
alexandref75 Mar 7, 2023
43255ca
Fix for newer versions of docker (require --output)
alexandref75 Mar 13, 2023
763e297
Change order on README for the example (Running)
alexandref75 Mar 27, 2023
b340242
Add some documentation on how to run the model
alexandref75 Mar 27, 2023
96128c7
Change configuration of README
alexandref75 Apr 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion i-poc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
#

IMAGE_SUBDIRS=vaas-server ccfaas-app iotex-s3-app
VERACRUZ_NITRO_IMAGE=veracruz/veracruz-nitro:v1.3.3

all: veracruz-client k8s-config

veracruz-client:
CONTAINERID=$(shell docker create veracruz/veracruz-nitro:v1.2.0); \
CONTAINERID=$(shell docker create $(VERACRUZ_NITRO_IMAGE)); \
docker cp $$CONTAINERID:/work/veracruz-client/veracruz-client veracruz-client; \
docker cp $$CONTAINERID:/work/veracruz-client/hash hash; \
docker rm $$CONTAINERID
Expand Down
717 changes: 574 additions & 143 deletions i-poc/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion i-poc/ccfaas-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# and copyright information.
#

FROM ubuntu:20.04
FROM ubuntu:22.04

RUN apt-get update -y;apt-get upgrade -y;apt-get install -y netcat curl python3-pip;apt-get -y clean

Expand Down
2 changes: 1 addition & 1 deletion i-poc/ccfaas-app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# example repository root directory for copyright and licensing information.
#
#
VERSION=0.87.26
VERSION=0.87.28

all: image

Expand Down
2 changes: 1 addition & 1 deletion i-poc/iotex-s3-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# and copyright information.
#

FROM ubuntu:20.04
FROM ubuntu:22.04

RUN apt-get update -y;apt-get upgrade -y;apt-get install -y openssl netcat curl python3-pip;apt-get -y clean

Expand Down
2 changes: 1 addition & 1 deletion i-poc/iotex-s3-app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
#

VERSION=0.8.4
VERSION=0.8.6

all: image

Expand Down
4 changes: 3 additions & 1 deletion i-poc/iotex-user-app/execute_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function check_if_file_exists() {

VERACRUZ_CLIENT=$(pwd)/veracruz-client

if [ $# -lt 6 ]
if [ $# -lt 8 ]
then
echo "$0: <policy> <certificate file out> <key file out> <output file veracruz> <output file name> <program> <decryption key path> <decryption IV path>"
alexandref75 marked this conversation as resolved.
Show resolved Hide resolved
exit 1
Expand All @@ -42,6 +42,8 @@ DECRYPTION_IV_PATH=$8
check_if_file_exists "${POLICY}" "Policy"
check_if_file_exists "${CERTIFICATE_OUT}" "Certificate_out"
check_if_file_exists "${KEY_OUT}" "Key_out"
check_if_file_exists "${DECRYPTION_KEY_PATH}" "Decryption key"
check_if_file_exists "${DECRYPTION_IV_PATH}" "Decryption IV"

VERACRUZ_URL=$(grep veracruz_server_url "${POLICY}" | sed -e 's/^[^:]*: *\"//' -e 's/".*//')
VERACRUZ_HOST=$(echo "${VERACRUZ_URL}" | cut -d ":" -f 1)
Expand Down
8 changes: 4 additions & 4 deletions i-poc/iotex-user-app/function_policy_big.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"data_files": [
{
"data_file": "/program_data/coco.names",
"pi_hash": "634a1132eb33f8091d60f2c346ababe8b905ae08387037aed883953b7329af84"
"pi_hash": "COCO_HASH"
},
{
"data_file": "/program_data/yolov3.cfg",
"pi_hash": "2ca0ab366618b5c005931e057e9cef2e40a1988e2481b3cbd960047c8ec11995"
"pi_hash": "YOLOV3_CFG_HASH"
},
{
"data_file": "/program_data/yolov3.weights",
"pi_hash": "523e4e69e1d015393a1b0a441cef1d9c7659e3eb2d7e15f793f060a21b32f297"
"pi_hash": "YOLOV3_WEIGHTS_HASH"
}
],
"programs": [
Expand Down Expand Up @@ -51,7 +51,7 @@
}
],
"id": 0,
"pi_hash": "7612e3490f14a9ee523f357e86f97098a94678f4e06c8202cf307d163db9f7aa",
"pi_hash": "PROGRAM_HASH",
"program_file_name": "/program/detector.wasm"
}
],
Expand Down
8 changes: 4 additions & 4 deletions i-poc/iotex-user-app/function_policy_small.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"data_files": [
{
"data_file": "/program_data/coco.names",
"pi_hash": "634a1132eb33f8091d60f2c346ababe8b905ae08387037aed883953b7329af84"
"pi_hash": "COCO_HASH"
},
{
"data_file": "/program_data/yolov3.cfg",
"pi_hash": "15bd05a05354738b051e5f5b1ad6d2eb800b866c63be3d1766bf168960e8d950"
"pi_hash": "YOLOV3_CFG_HASH"
},
{
"data_file": "/program_data/yolov3.weights",
"pi_hash": "dccea06f59b781ec1234ddf8d1e94b9519a97f4245748a7d4db75d5b7080a42c"
"pi_hash": "YOLOV3_WEIGHTS_HASH"
}
],
"programs": [
Expand Down Expand Up @@ -51,7 +51,7 @@
}
],
"id": 0,
"pi_hash": "7612e3490f14a9ee523f357e86f97098a94678f4e06c8202cf307d163db9f7aa",
"pi_hash": "PROGRAM_HASH",
"program_file_name": "/program/detector.wasm"
}
],
Expand Down
33 changes: 33 additions & 0 deletions i-poc/iotex-user-app/register-function-aux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash

function pretty_print_wget() {
echo "$1" | jq 2>/dev/null
if [ $? -gt 0 ]
then
echo "$1"
else
if [ ! -z "$2" ]
then
echo "$1" | jq 2>/dev/null > $2
fi
fi
if [ ! -z "$3" ]
then
echo "$1" > $3
fi
}

function load_file_veracruz() {
FUNCTION_NAME=$1
TYPE_LOAD=$2 # program or data_file
PROGRAM_NAME=$3
LOCAL_FILE_NAME=$4

if [ ! -e "${LOCAL_FILE_NAME}" ]
then
echo "ERROR: file \"${LOCAL_FILE_NAME}\" does not exist, bailing out"
exit 1
fi

pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file="${LOCAL_FILE_NAME}" http://${CCFAAS_HOST}:${CCFAAS_PORT}/function/${FUNCTION_NAME}/${TYPE_LOAD}/$(echo -n "${PROGRAM_NAME}" | base64) 2>&1)"
}
58 changes: 29 additions & 29 deletions i-poc/iotex-user-app/register-function-big.sh
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
#!/bin/bash

HOSTIP=127.0.0.1
HOSTPORT=5010
JSON_FUNCTION_POLICY=$(cat function_policy_big.json)
CCFAAS_HOST=${1:-"127.0.0.1"}
CCFAAS_PORT=${2:-"5010"}

echo "Acessing CCFaaS at ${CCFAAS_HOST}:${CCFAAS_PORT}"

FUNCTION_NAME="vod_big"

BUNDLE_PATH="."
client_path="../../veracruz-client"
PROGRAM_PATH="."

function pretty_print_wget() {
echo "$1" | jq 2>/dev/null
if [ $? -gt 0 ]
then
echo "$1"
else
if [ ! -z "$2" ]
then
echo "$1" | jq 2>/dev/null > $2
fi
fi
if [ ! -z "$3" ]
then
echo "$1" > $3
fi
}

TAG="iotex-demo-v1.3.3"

BUNDLE_PATH="big-"${TAG}

. register-function-aux.sh

if [ ! -e "${BUNDLE_PATH}/detector.wasm" ]; then
echo "=============Downloading tarball containing the program, program data (model and configuration) and example inputs (encrypted video, key, IV)"
wget -q --content-on-error -nv https://github.com/veracruz-project/video-object-detection/releases/download/${TAG}/bundle_big.tar.gz
mkdir ${BUNDLE_PATH}
tar -xf bundle_big.tar.gz -C ${BUNDLE_PATH}
fi
PROGRAM_HASH=$(sha256sum "${BUNDLE_PATH}/detector.wasm" | cut -d " " -f 1)
COCO_HASH=$(sha256sum "${BUNDLE_PATH}/coco.names" | cut -d " " -f 1)
YOLOV3_CFG_HASH=$(sha256sum "${BUNDLE_PATH}/yolov3.cfg" | cut -d " " -f 1)
YOLOV3_WEIGHTS_HASH=$(sha256sum "${BUNDLE_PATH}/yolov3.weights" | cut -d " " -f 1)
JSON_FUNCTION_POLICY=$(cat function_policy_big.json | sed -e "s/PROGRAM_HASH/${PROGRAM_HASH}/g" -e "s/COCO_HASH/${COCO_HASH}/g" -e "s/YOLOV3_CFG_HASH/${YOLOV3_CFG_HASH}/g" -e "s/YOLOV3_WEIGHTS_HASH/${YOLOV3_WEIGHTS_HASH}/g")

echo "=============Deleting function"
pretty_print_wget "$(curl -X DELETE http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME} 2>&1)"
pretty_print_wget "$(curl -X DELETE http://${CCFAAS_HOST}:${CCFAAS_PORT}/function/${FUNCTION_NAME} 2>&1)"

echo "=============Registering function"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-data="${JSON_FUNCTION_POLICY}" --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function 2>&1)"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-data="${JSON_FUNCTION_POLICY}" --header='Content-Type:application/json' http://${CCFAAS_HOST}:${CCFAAS_PORT}/function 2>&1)"

echo "=============Provisioning program"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$PROGRAM_PATH/detector.wasm --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/program/$(echo -n "/program/detector.wasm" | base64) 2>&1)"
load_file_veracruz "${FUNCTION_NAME}" "program" "/program/detector.wasm" "${BUNDLE_PATH}/detector.wasm"

echo "=============Provisioning data"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$BUNDLE_PATH/input/coco.names --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/data_file/$(echo -n "/program_data/coco.names" | base64) 2>&1)"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$BUNDLE_PATH/input/yolov3.cfg --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/data_file/$(echo -n "/program_data/yolov3.cfg" | base64) 2>&1)"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$BUNDLE_PATH/input/yolov3.weights --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/data_file/$(echo -n "/program_data/yolov3.weights" | base64) 2>&1)"
load_file_veracruz "${FUNCTION_NAME}" "data_file" "/program_data/coco.names" "${BUNDLE_PATH}/coco.names"
load_file_veracruz "${FUNCTION_NAME}" "data_file" "/program_data/yolov3.cfg" "${BUNDLE_PATH}/yolov3.cfg"
load_file_veracruz "${FUNCTION_NAME}" "data_file" "/program_data/yolov3.weights" "${BUNDLE_PATH}/yolov3.weights"
57 changes: 28 additions & 29 deletions i-poc/iotex-user-app/register-function-small.sh
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
#!/bin/bash

HOSTIP=127.0.0.1
HOSTPORT=5010
JSON_FUNCTION_POLICY=$(cat function_policy_small.json)
CCFAAS_HOST=${1:-"127.0.0.1"}
CCFAAS_PORT=${2:-"5010"}

echo "Acessing CCFaaS at ${CCFAAS_HOST}:${CCFAAS_PORT}"

FUNCTION_NAME="vod_small"

BUNDLE_PATH="."
client_path="../../veracruz-client"
PROGRAM_PATH="."

function pretty_print_wget() {
echo "$1" | jq 2>/dev/null
if [ $? -gt 0 ]
then
echo "$1"
else
if [ ! -z "$2" ]
then
echo "$1" | jq 2>/dev/null > $2
fi
fi
if [ ! -z "$3" ]
then
echo "$1" > $3
fi
}
TAG="iotex-demo-v1.3.3"

BUNDLE_PATH="small-"${TAG}

. register-function-aux.sh

if [ ! -e "${BUNDLE_PATH}/detector.wasm" ]; then
echo "=============Downloading tarball containing the program, program data (model and configuration) and example inputs (encrypted video, key, IV)"
wget -q --content-on-error -nv https://github.com/veracruz-project/video-object-detection/releases/download/${TAG}/bundle_small.tar.gz
mkdir ${BUNDLE_PATH}
tar -xf bundle_small.tar.gz -C ${BUNDLE_PATH}
fi
PROGRAM_HASH=$(sha256sum "${BUNDLE_PATH}/detector.wasm" | cut -d " " -f 1)
COCO_HASH=$(sha256sum "${BUNDLE_PATH}/coco.names" | cut -d " " -f 1)
YOLOV3_CFG_HASH=$(sha256sum "${BUNDLE_PATH}/yolov3-tiny.cfg" | cut -d " " -f 1)
YOLOV3_WEIGHTS_HASH=$(sha256sum "${BUNDLE_PATH}/yolov3-tiny.weights" | cut -d " " -f 1)
JSON_FUNCTION_POLICY=$(cat function_policy_small.json | sed -e "s/PROGRAM_HASH/${PROGRAM_HASH}/g" -e "s/COCO_HASH/${COCO_HASH}/g" -e "s/YOLOV3_CFG_HASH/${YOLOV3_CFG_HASH}/g" -e "s/YOLOV3_WEIGHTS_HASH/${YOLOV3_WEIGHTS_HASH}/g")

echo "=============Deleting function"
pretty_print_wget "$(curl -X DELETE http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME} 2>&1)"
pretty_print_wget "$(curl -X DELETE http://${CCFAAS_HOST}:${CCFAAS_PORT}/function/${FUNCTION_NAME} 2>&1)"

echo "=============Registering function"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-data="${JSON_FUNCTION_POLICY}" --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function 2>&1)"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-data="${JSON_FUNCTION_POLICY}" --header='Content-Type:application/json' http://${CCFAAS_HOST}:${CCFAAS_PORT}/function 2>&1)"

echo "=============Provisioning program"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$PROGRAM_PATH/detector.wasm --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/program/$(echo -n "/program/detector.wasm" | base64) 2>&1)"
load_file_veracruz "${FUNCTION_NAME}" "program" "/program/detector.wasm" "${BUNDLE_PATH}/detector.wasm"

echo "=============Provisioning data"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$BUNDLE_PATH/input/coco.names --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/data_file/$(echo -n "/program_data/coco.names" | base64) 2>&1)"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$BUNDLE_PATH/input/yolov3-tiny.cfg --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/data_file/$(echo -n "/program_data/yolov3.cfg" | base64) 2>&1)"
pretty_print_wget "$(wget -q --content-on-error -nv -O- --post-file=$BUNDLE_PATH/input/yolov3-tiny.weights --header='Content-Type:application/json' http://${HOSTIP}:${HOSTPORT}/function/${FUNCTION_NAME}/data_file/$(echo -n "/program_data/yolov3.weights" | base64) 2>&1)"
load_file_veracruz "${FUNCTION_NAME}" "data_file" "/program_data/coco.names" "${BUNDLE_PATH}/coco.names"
load_file_veracruz "${FUNCTION_NAME}" "data_file" "/program_data/yolov3.cfg" "${BUNDLE_PATH}/yolov3-tiny.cfg"
load_file_veracruz "${FUNCTION_NAME}" "data_file" "/program_data/yolov3.weights" "${BUNDLE_PATH}/yolov3-tiny.weights"
2 changes: 1 addition & 1 deletion i-poc/main-k3s/config.vars.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
EXTERNAL_IP_USE=<IP to be used for external access, normally one of the internal IPs of one of the nodes of k8s in AWS (172.31.xxxx)>
VERACRUZ_MIN_PORT_USE=<Smallest port number to be used for a veracruz instance, default is 3014>
VERACRUZ_MIN_PORT_USE=<Largest number to be used for a veracruz instance, default is 3016>
VERACRUZ_MAX_PORT_USE=<Largest number to be used for a veracruz instance, default is 3016>
VERACRUZ_ENDPOINT_HOSTNAME_USE=<hostname.domainame that will be used on the policy for users to access the endpoint, external name AWS is recommended>
RUNTIME_HUGHEPAGES_SIZE_USE=2048 # In MBytes
RUNTIME_POD_SIZE_USE=500 # In MBytes
Expand Down
2 changes: 1 addition & 1 deletion i-poc/main-k3s/iotex-s3-app-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
containers:
- name: iotex-s3-app
image: veracruz/iotex-s3-veracruz-app:0.8.4
image: veracruz/iotex-s3-veracruz-app:0.8.6
imagePullPolicy: IfNotPresent
ports:
- containerPort: 5000
Expand Down
2 changes: 1 addition & 1 deletion i-poc/main-k3s/veracruz-ccfaas-app-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
containers:
- name: ccfaas-server-app
image: veracruz/veracruz-ccfaas-server:0.87.26
image: veracruz/veracruz-ccfaas-server:0.87.28
imagePullPolicy: IfNotPresent
env:
- name: VAAS_ACCESS_URL
Expand Down
2 changes: 1 addition & 1 deletion i-poc/main-k3s/veracruz-nitro-proxy-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
spec:
containers:
- name: veracruz-nitro-proxy
image: veracruz/veracruz-nitro:v1.2.0
image: veracruz/veracruz-nitro:v1.3.3
imagePullPolicy: IfNotPresent
command: ['/work/proxy-attestation-server/proxy-attestation-server','0.0.0.0:3010','--ca-cert','/work/proxy-config-files/CACert.pem','--ca-key','/work/proxy-config-files/CAKey.pem']
ports:
Expand Down
2 changes: 1 addition & 1 deletion i-poc/main-k3s/veracruz-vaas-app-deploy.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
value: |
REPLACE_CACERT_PEM
- name: RUNTIME_MANAGER_IMAGE
value: "veracruz/veracruz-nitro:v1.2.0"
value: "veracruz/veracruz-nitro:v1.3.3"
- name: RUNTIME_MANAGER_HASH_NITRO
value: RUNTIME_MANAGER_HASH_NITRO_USE
ports:
Expand Down
2 changes: 1 addition & 1 deletion i-poc/vaas-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# and copyright information.
#

FROM ubuntu:20.04
FROM ubuntu:22.04

RUN apt-get update -y;apt-get upgrade -y;apt-get install -y curl python3-pip;apt-get -y clean

Expand Down
2 changes: 1 addition & 1 deletion i-poc/vaas-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
#
#
VERSION=0.86.10
VERSION=0.86.11

all: image

Expand Down