hi guys, i like what i see with pulumi but i am ha...
# general
s
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
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
yah i got it. the service spec.serviceAccountName was wrong
fixed it and it is up and runnning
thanks
👍 1