-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area/deployarea/labelsdeploy-health-checkdeploy-labellerhelp wantedWe would love to have this done, but don't have the bandwidth, need help from contributorsWe would love to have this done, but don't have the bandwidth, need help from contributorskind/bugSomething isn't workingSomething isn't workingpriority/p1High impact feature/bug.High impact feature/bug.
Description
I have a service with type: Loadbalancer
that I deploy with Skaffold. The service creates fine, the load balancer shows as healthy on the GCP console, but when I do kubectl get svc
the External IP address never gets resolved and is stuck in <pending>
. Everything works if I deploy same service using kubectl apply
.
I actually have this on video as well: https://youtu.be/JUFIF9QMN9M?t=1630
This has happened multiple times with multiple clusters, projects, and services. @ahmetb is experiencing the same issue as well.
Right now, I'm thinking there is something Skaffold does to the service (labels?) which is preventing the service from getting the external IP address.
Information
- Skaffold version: v.0.11.0
- Operating system: Linux
- Contents of skaffold.yaml:
Service YAML
apiVersion: v1
kind: Service
metadata:
name: uptimecheck
labels:
app: uptimecheck
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 3000
protocol: TCP
name: http
selector:
app: "uptimecheck"
Skaffold YAML
apiVersion: skaffold/v1alpha2
kind: Config
build:
artifacts:
- imageName: gcr.io/xxx/xxx
deploy:
kubectl:
manifests:
- svc.yaml
Steps to reproduce the behavior
skaffold dev
ahmetb, afoninsky, suyashkumar, jrbaudin and nandak522
Metadata
Metadata
Assignees
Labels
area/deployarea/labelsdeploy-health-checkdeploy-labellerhelp wantedWe would love to have this done, but don't have the bandwidth, need help from contributorsWe would love to have this done, but don't have the bandwidth, need help from contributorskind/bugSomething isn't workingSomething isn't workingpriority/p1High impact feature/bug.High impact feature/bug.