Skip to content

Commit

Permalink
chore: update example for node and python
Browse files Browse the repository at this point in the history
Signed-off-by: Simon LUCIDO <[email protected]>
  • Loading branch information
lucido-simon committed Oct 24, 2023
1 parent dff6515 commit 30234aa
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
4 changes: 4 additions & 0 deletions examples/node/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ api:
grpc_host: 0.0.0.0
# The port on which the gRPC server will listen
gprc_port: 50051
# Bridge name
bridge: lambdo0
# The IP address of the bridge
ip: 10.0.50.0/8
vmm:
# The kernel path to use for the vmm
kernel: /var/lib/lambdo/kernel/vmlinux.bin
Expand Down
Binary file modified examples/node/node-12.img
Binary file not shown.
18 changes: 13 additions & 5 deletions examples/python/config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
apiVersion: lambdo.io/v1alpha1
kind: Config
api:
# The port on which the API server will listen
port: 3000
# The host on which the API server will listen
host: 127.0.0.1
web_host: 0.0.0.0
# The port on which the API server will listen
web_port: 3000
# The host on which the gRPC server will listen
grpc_host: 0.0.0.0
# The port on which the gRPC server will listen
gprc_port: 50051
# Bridge name
bridge: lambdo0
# The IP address of the bridge
ip: 10.0.50.0/8
vmm:
# The kernel path to use for the vmm
kernel: /var/lib/lambdo/kernel/vmlinux.bin
Expand All @@ -16,7 +24,7 @@ agent: # NOT IMPLEMENTED
languages:
# The name of the language runtime
- name: PYTHON
# The version of the node runtime
# The version of python
version: 3.8
# The initramfs to use for the runtime
initramfs: /var/lib/lambdo/initramfs/python-3.img
Expand All @@ -29,4 +37,4 @@ languages:
# Whether to enable the output
enabled: true
# Whether to enable debug output (useful for build steps)
debug: false
debug: false
Binary file modified examples/python/python-3.img
Binary file not shown.

0 comments on commit 30234aa

Please sign in to comment.