https://pulumi.com logo
#kubernetes
Title
# kubernetes
v

victorious-dusk-75271

08/30/2022, 8:54 PM
How do you solve this issue? because of this pulumi fails
Copy code
warning: Refreshed resource is in an unhealthy state:
    * Resource 'allrites-frontend' was created but failed to initialize
    * Service does not target any Pods. Selected Pods may not be ready, or field '.spec.selector' may not match labels on any Pods
s

steep-toddler-94095

08/31/2022, 12:00 AM
the second bullet point gives you a good idea how to solve it!
v

victorious-dusk-75271

08/31/2022, 3:00 AM
I know whats those errors are and removing the service solves the problem but the thing is, pulumi deleted the deployment because i changed the image and failed to create the deployment then its wont create the deployment unless i delete the service from kubernetes and pulumi stack
7 Views