> For the complete documentation index, see [llms.txt](https://dev7days.gitbook.io/dev7days/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev7days.gitbook.io/dev7days/scheduling/manual-scheduling.md).

# Manual Scheduling

Describe about Manual Scheduling

It is the way that we create schedule for `Pod` .By default in `Pod` template when we create the `Pod` Kubernetes will have scheduler to select the `Node` . After create pod it will update section called `nodeName` in template file

```yaml
# 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
            
          
```

We can use this `nodeName` property in case that we create the `Pod` at first time but If we would like to add the `nodeName` to existing `Pod` we need to use `Binding`&#x20;

```yaml
# Binding Template
apiVersion: v1
kind: Binding
metadata:
  name: nginx
target:
  apiVersion: v1
  kind: Node
  name: <node_name>  
  
```

{% hint style="warning" %}
**Noted:**

If the status of pod is pending , it mean don't have the scheduler in k8s
{% endhint %}
