511e7ab541
* ID translation for assign-pod-node * fix typo * add pods/pod-nginx.yaml example file * add pods/pod-with-node-affinity.yaml example file * add pods/pod-with-pod-affinity.yaml example file * Apply suggestions from code review Co-Authored-By: Irvi Aini <7439590+irvifa@users.noreply.github.com> * tidy up words following code review suggestion
14 lines
194 B
YAML
14 lines
194 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: nginx
|
|
labels:
|
|
env: test
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx
|
|
imagePullPolicy: IfNotPresent
|
|
nodeSelector:
|
|
disktype: ssd
|