bright-policeman-5586008/10/2020, 4:08 PM
This results in
kubernetes.core.v1.Service.get("service", "kube-dns", opts=pulumi.ResourceOptions(provider=kubernetes_provider))
Preview failed: resource 'kube-dns' does not exist
And yes, my kubernetes_provider is using the
$ kubectl --kubeconfig /tmp/kubeconfig get svc -n kube-system kube-dns NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kube-dns ClusterIP 10.100.0.10 <none> 53/UDP,53/TCP 3d22h
gorgeous-egg-1692708/10/2020, 4:29 PM
call. Should be
in this case
bright-policeman-5586008/10/2020, 4:33 PM
It's the whole point of this exercise. I need to get the IP of the service so that I can redeploy and have the pods start. EKS is very silly in this Fargate exclusion limitation.
error: Preview failed: 2 errors occurred: * Resource 'kube-dns' 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
gorgeous-egg-1692708/10/2020, 4:41 PM
like that. I think that’s a bug.
bright-policeman-5586008/10/2020, 4:44 PM
bright-policeman-5586008/10/2020, 4:47 PM
gorgeous-egg-1692708/10/2020, 4:54 PM
failing a readiness check?