Run a node

In this step, we will install the Polygon node. However, before proceeding with the installation, please ensure that you are using the Kubernetes architecture.

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

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
sudo kubectl logs -f polygon-sentry-deployment-cc9449857-9f95k -c bor

Last updated