$ rustup component add rustfmt rls
$ rustup component add clippy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tools/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml b/tools/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml | |
index 0360847a5..99abec7fe 100644 | |
--- a/tools/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml | |
+++ b/tools/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml | |
@@ -17,7 +17,7 @@ spec: | |
hostPID: true | |
containers: | |
- name: kube-kata | |
- image: quay.io/kata-containers/kata-deploy:latest | |
+ image: quay.io/kata-containers/kata-deploy-ci:kata-containers-amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2019 Ericsson Eurolab Deutschland GmbH | |
# Copyright (c) 2021 Adobe Inc. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# XXX: WARNING: this file is auto-generated. | |
# XXX: | |
# XXX: Source file: "config/configuration-clh.toml.in" | |
# XXX: Project: |
Chelsea and I have been looking at adding end-to-end openTelemetry tracing support to Kata Containers.
With Kata 2.x's simpler architecture, we only need tracing support in:
- hypervisor (ideally)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright (c) 2021 Intel Corporation | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
#--------------------------------------------------------------------- | |
# FIXME: - start trace forwarder! | |
#--------------------------------------------------------------------- |
- Use osbuilder to create a custom rootfs.
- Ensure you add extra packages for
bash
,strace
,gdb
(and mayberust-gdb
). - Install an updated
kata-agent.service
file into the image:$ cat kata-agent.service.in # # Copyright (c) 2018-2019 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 #
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/server.rs b/src/server.rs | |
index e307527..5871fd4 100644 | |
--- a/src/server.rs | |
+++ b/src/server.rs | |
@@ -46,6 +46,7 @@ pub struct Server { | |
quit: Arc<AtomicBool>, | |
connections: Arc<Mutex<HashMap<RawFd, Connection>>>, | |
methods: Arc<HashMap<String, Box<dyn MethodHandler + Send + Sync>>>, | |
+ pre_handler: Option<Arc<Box<dyn PreHandler + Send + Sync>>>, | |
handler: Option<JoinHandle<()>>, |
See the newer instructions here:
- You already have Clear Containers and Docker installed.
NewerOlder