forked from kata-containers/kata-containers
-
Notifications
You must be signed in to change notification settings - Fork 42
runtime: agent: use PCI segments 1+ for blk devices #183
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
823dcd2
Revert "runtime: agent: use up to 10 PCI segments (#61)"
danmihai1 6a47c86
runtime: clh: clean-up merge from main
danmihai1 c905577
runtime: agent: use PCI segments 1+ for blk devices
danmihai1 bbc7b97
samples: pod with ~70 image layers
danmihai1 cbb60ff
genpolicy: update sample location
Redent0r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
src/agent/samples/policy/yaml/dont-enable-kata-debug/pod-lots-of-layers.yaml
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| --- | ||
| # This pod fails to start if Kata debug features are enabled. | ||
| # It starts successfully without Kata debug output. | ||
| # | ||
| # The policy generated by the genpolicy tool is also too large | ||
| # and therefore gets rejected by "kubectl apply". | ||
| apiVersion: v1 | ||
| kind: Pod | ||
| metadata: | ||
| name: debug-failing-many-layers | ||
| spec: | ||
| terminationGracePeriodSeconds: 0 | ||
| restartPolicy: Never | ||
| runtimeClassName: kata-cc | ||
| containers: | ||
| # 29 layers | ||
| - name: azure-vote-front | ||
| image: "mcr.microsoft.com/azuredocs/azure-vote-front:v1" | ||
| command: | ||
| - sh | ||
| - "-c" | ||
| - while true; do echo hello; sleep 10; done | ||
| # 11 layers | ||
| - name: footloose | ||
| image: "quay.io/footloose/ubuntu18.04:latest" | ||
| command: | ||
| - sh | ||
| - "-c" | ||
| - while true; do echo go; sleep 25; done | ||
| # 9 layers | ||
| - name: bootloose | ||
| image: "quay.io/k0sproject/bootloose-ubuntu22.04:latest" | ||
| command: | ||
| - sh | ||
| - "-c" | ||
| - while true; do echo go; sleep 25; done | ||
| # 6 layers | ||
| - name: nginx | ||
| image: "mcr.microsoft.com/cbl-mariner/base/nginx:1.22.1-9-cm2.0.20230904-amd64" | ||
| command: | ||
| - sh | ||
| - "-c" | ||
| - while true; do echo nginx; sleep 10; done | ||
| # 5 layers | ||
| - name: redis | ||
| image: "mcr.microsoft.com/oss/bitnami/redis:6.0.8" | ||
| command: | ||
| - sh | ||
| - "-c" | ||
| - while true; do echo redis; sleep 20; done | ||
| # 4 layers | ||
| - name: go | ||
| image: "mcr.microsoft.com/appsvc/go:1.19-bullseye_20230324.1" | ||
| command: | ||
| - sh | ||
| - "-c" | ||
| - while true; do echo go; sleep 25; done | ||
| # 4 layers | ||
| - name: sysbench-kata | ||
| image: "quay.io/kata-containers/sysbench-kata:latest" | ||
| command: | ||
| - sh | ||
| - "-c" | ||
| - while true; do echo go; sleep 25; done |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.