estafette / estafette-gke-preemptible-killer

Kubernetes controller to spread preemption for preemtible VMs in GKE to avoid mass deletion after 24 hours
https://helm.estafette.io
MIT License
448 stars 72 forks source link

private key should be a PEM or plain PKSC1 or PKCS8 #74

Closed Jhooow93 closed 4 years ago

Jhooow93 commented 4 years ago

Hi,

I'm pretty confident this is a user error but I'm getting this log and the instance can't be deleted.

<nil> ERR Error deleting GCloud instance error="Delete https://www.googleapis.com/compute/v1/projects/<project>/zones/us-east4-a/instances/gke-customer-services-t0-c7ef-gateway-6766c062-7pbx?alt=json: private key should be a PEM or plain PKSC1 or PKCS8; parse error: asn1: syntax error: sequence truncated" host=gke-customer-services-t0-c7ef-gateway-6766c062-7pbx

I got the same error on estafette shifter too. I'm doing something wrong ?

ashishjh-bst commented 2 years ago

@Jhooow93 I am facing the same issue, what was the fix for it?