https://pulumi.com logo
#general
Title
# general
s

sticky-thailand-14236

05/11/2020, 10:02 PM
hi guys, i like what i see with pulumi but i am having an interesting issue: I keep getting
[1/3] Finding Pods to direct traffic to
when in doing a
pulumi up
with my service. the following is my service:
Copy code
const streamService = new k8s.core.v1.Service(config.appNameStream, {
  metadata: {
    namespace: namespace.metadata.name,
    labels: {
      app: config.appNameStream,
      service: config.appNameStream
    }
  },
  spec: {
    ports: [{name: "grpc", port: 50051}],
    selector: {
      app: config.appNameStream
    }
  }
})
What exactly am i doing wrong?
g

gorgeous-egg-16927

05/11/2020, 10:25 PM
Pulumi is waiting on the resource to be ready as documented here: https://www.pulumi.com/docs/reference/pkg/kubernetes/core/v1/service/#service If the Service times out waiting to be ready, you might double-check that the selectors match the related Pods
s

sticky-thailand-14236

05/11/2020, 10:34 PM
yah i got it. the service spec.serviceAccountName was wrong
fixed it and it is up and runnning
thanks
👍 1