Good combination for k8s manifests?


#1

OK, I spent literally all weekend on this and I’m at the end of my tether.

I’m trying to deploy a spinnaker install with the ability to deploy an app to Kubernetes. I’d prefer to be able to use manifests, and to be able to deploy to 2 different clusters, but that’s optional, as I’m up against a really tight deadline.

Unfortunately, every combination of versions and methods I try seems to have a different problem. If someone could please just say, “use this on that” I would be eternally grateful. Here are some examples of what I’ve run up against:

  1. Quick install (kubectl apply -f https://spinnaker.io/downloads/kubernetes/quick-install.yml) installs great, but it gets stuck on the “hello” screen. (Used port forwarding.)
  2. S3 seems to break any version 1.7+, but GCS just hangs.
  3. 1.6 installs, but the kubernetes account doesn’t show up.
  4. One click Google install hangs if you enable Kubernetes support.

I’m sure there’s something simple I’m overlooking. I’m willing to use any method on any cloud at this point.

Thanks!

---- Nick


#2

@NickChase can you try 1 again, and collect the following:

a) kubectl get po -n spinnaker

b) kubectl logs <gate-pod-name> -n spinnaker

c) kubectl logs <clouddriver-pod-name> -n spinnaker

Please put the logs in gist.github.com


#3

Thanks, @lwander!

gate.log: https://gist.github.com/nickchase/26c1cac45adbc591bc51849668ace69d
clouddriver.log: https://gist.github.com/nickchase/d76a18c2879212d5943df71bc1cc91bc
and for good measure, front50.log, showing the fact that s3 fails with an “unknown key” : https://gist.github.com/nickchase/6e770bf76488ce8dc3372f5efc4cf115
(This happens for both AWS and Minio.)

Note that I’m using GKE.

Thanks so much for the help!!!

---- Nick


#4

Thanks @NickChase – can you show the kubectl get po output as well? I’m going to try pinning that manifest set to a specific version of Spinnaker.

What version of K8s is this BTW?

Edit: It’s OK that front50 is warning that keys are missing – the client library just logs everytime you hit a non 200 error code, and there is no other way to check if a key/file exists.


#5

Thanks, @lwander

Here you go: https://gist.github.com/nickchase/8a4248bc4ce3391f174b2ae7d3223ff1

Server version is v1.8.8-gke.0. I can use 1.9.6 if that’s helpful.

Thanks!


#6

1.8.8 should be fine.

I’ve updated that template to pin a specific version of spinnaker (1.7.3) – can you try deleting the spinnaker namespace and redeploying?


#7

It’s a beautiful thing. Thank you, @lwander!!!


#8

It’s a beautiful thing.

I take it that means it worked? :slight_smile:


#9

It does. :slight_smile: Thank you!