C
Coder.com•2y ago
jbot_26

Kubernetes Pod recreation causing issue.

We are 100% on spot instances for our EKS cluster and I'm trying to manage kubernetes pod with Kuberentes deployment to make sure Pod get self heal whenever it's get re-created. Looks like it's causing issue because of Pod name changes every time it gets recreated and Coder throws error
"error": update replica: github.com/coder/coder/enterprise/replicasync.(*Manager).syncReplicas /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:292 - sql: no rows in result set
"error": update replica: github.com/coder/coder/enterprise/replicasync.(*Manager).syncReplicas /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:292 - sql: no rows in result set
No description
2 Replies
jbot_26
jbot_26•2y ago
If I stop and re-start workspace it works fine after that. 🤔 May be I need to make sure I have correct resource ID?
jbot_26
jbot_26•2y ago
Resource Metadata - Coder OSS main docs
Learn how to expose resource data to users
Want results from more Discord servers?
Add your server