forked from kata-containers/kata-containers
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from microsoft/danmihai1/hotplug7
runtime: agent: use PCI segments 1+ for blk devices
- Loading branch information
Showing
10 changed files
with
191 additions
and
60 deletions.
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 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 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 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 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 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 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 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 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.