> For the complete documentation index, see [llms.txt](https://docs.stakepool.dev.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stakepool.dev.br/polygon/kubernetes/run-a-node.md).

# Run a node

**Before starting the installation, make sure to verify that the worker cluster is active. You can do this by checking the status of your node.**

```
sudo kubectl get nodes
```

Now that the entire environment is up and running, all that's left is to save the [files](/polygon/kubernetes/files.md) with a .yaml extension and execute them.\\

```
sudo kuebctl apply -f deploy-storage.yaml
sudo kubectl apply -f deploy.yaml
```

**To check whether the polygon node is running, you can check the status of the pod.**

```
sudo kubectl get deploy -o wide
```

<figure><img src="/files/3ywZTY5EnHeAf1S7lMyl" alt=""><figcaption></figcaption></figure>

To check the logs you can pass the name of the pod plus the name of the container you want to view, example:

```
sudo kubectl logs -f polygon-sentry-deployment-cc9449857-9f95k -c heimdall
```

<figure><img src="/files/g4d5bGshuspQLJL70p9O" alt=""><figcaption></figcaption></figure>

<pre><code><strong>sudo kubectl logs -f polygon-sentry-deployment-cc9449857-9f95k -c bor
</strong></code></pre>

<figure><img src="/files/2W3SxbRvpqQxrLBECNJ9" alt=""><figcaption></figcaption></figure>
