net test pods

This commit is contained in:
Joseph Hanson 2023-12-31 15:32:20 -06:00
parent 527b808c95
commit af7f8c8ca0
2 changed files with 22 additions and 1 deletions

View file

@ -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

View 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