Unable to properly create service in EKS "Loadbalancer" lab

When I try to create the webapp-color service in step 12 of the Loadbalancer lab in the EKS course, I get the following error:

root@aws-client:~# kubectl create -f service.yaml 
Error from server (InternalError): error when creating "service.yaml": Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-webhook-service.kube-system.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-webhook-service"

When I try to create it with the --dry-run=client flag, it appears to work:

root@aws-client:~# kubectl create -f service.yaml --dry-run=client
service/webapp-color created (dry run)
root@aws-client:~# 

I can also see that the deployment was created, but it is throwing errors during runtime as well:

root@aws-client:~# k describe deployments webapp-color 
Name:                   webapp-color
Namespace:              default
CreationTimestamp:      Thu, 19 Dec 2024 21:00:07 +0000
Labels:                 app=webapp-color
Annotations:            deployment.kubernetes.io/revision: 1
Selector:               app=webapp-color
Replicas:               3 desired | 3 updated | 3 total | 0 available | 3 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:  app=webapp-color
  Containers:
   webapp-color:
    Image:         kodekloud/webapp-color
    Port:          8080/TCP
    Host Port:     0/TCP
    Environment:   <none>
    Mounts:        <none>
  Volumes:         <none>
  Node-Selectors:  <none>
  Tolerations:     <none>
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Available      False   MinimumReplicasUnavailable
  Progressing    False   ProgressDeadlineExceeded
OldReplicaSets:  <none>
NewReplicaSet:   webapp-color-564cb8d898 (3/3 replicas created)
Events:
  Type    Reason             Age   From                   Message
  ----    ------             ----  ----                   -------
  Normal  ScalingReplicaSet  16m   deployment-controller  Scaled up replica set webapp-color-564cb8d898 to 3
root@aws-client:~# 

Has anyone else run into this? If so, were you able to figure out the issue?

Let me see if I can get this to work…

I cannot get it to work. Grader approves cluster that has no nodes, and will not create configuration for LoadBalancer in step 11. I’m skeptical the lab works at all, so I’m kicking this over to the lab team for a check-up.

Thank you! Please keep me posted!