net test pods
This commit is contained in:
parent
527b808c95
commit
af7f8c8ca0
2 changed files with 22 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: rocky-linux
|
name: rocky-nessa
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
|
nodeName: nessa
|
||||||
containers:
|
containers:
|
||||||
- name: rocky
|
- name: rocky
|
||||||
image: rockylinux:9
|
image: rockylinux:9
|
20
kubernetes/apps/default/rocky-nienna.yaml
Normal file
20
kubernetes/apps/default/rocky-nienna.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: rocky-nienna
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
nodeName: nienna
|
||||||
|
containers:
|
||||||
|
- name: rocky
|
||||||
|
image: rockylinux:9
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
command: ["/bin/bash", "-c", "while true; do sleep 10; done"]
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 512Mi
|
||||||
|
limits:
|
||||||
|
cpu: 4000m
|
||||||
|
memory: 4000Mi
|
Reference in a new issue