Manual Scheduling
Describe about Manual Scheduling
# Pod Template
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
name: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 8080
nodeName: <node_name> # this property will set automatically but we can customize it
# Binding Template
apiVersion: v1
kind: Binding
metadata:
name: nginx
target:
apiVersion: v1
kind: Node
name: <node_name>
Last updated