#Harvest logs
1 messages · Page 1 of 1 (latest)
trying to deploy harvest pod in my k8s cluster
Harvest sends logs to console for container deployments. You should see logs in relevant pod for it. Do you see any failed pods in kubectl command?
@sullen scroll we are seeing only 1 harvest pod (with 1 container)
each poller spawns a separate container?
Yes each poller should have its own pod
okay..just to understand, why does it have option to specify multiple pollers in harvest.yml?
i mean we specified 2 clusters in pollers section.
- ontap1:
- umeng-aff300-01-02:
but it only spawned 1 pod (with 1 container). what should be the ideal case here?
There are some basic steps mentioned here for k8, Have you tried these?
https://github.com/NetApp/harvest/tree/main/docker/k8
harvest.yml consist of configuration for all pollers at one place and it is shared by multiple pollers
yes we followed the steps. Thats how we were able to create our deployment.yaml
ok wait , we tried with 1 poller only and it created 1 deployment.yaml and then modified it to add new poller
if we have 2 pollers, does it create multiple deployments?
it is upto you.. you can have as many deployment files you want... 1 per poller or all poller in one. It all depends on your deployment configuration. Example mentioned at https://github.com/NetApp/harvest/tree/main/docker/k8 generates 1 deployment file consisting of all pollers. When you apply it , it creates 1 pod per poller.
Thanks, we tried it and its creating each pod for 1 poller.
but is it possible with harvest to have all pollers in 1 pod? because we didnt see any such statement in documentation..