kiali: Unable to install kiali on GKE cluster

Describe the bug Trying to install Kiali on running cluster on GKE and run into an error

Versions used Kiali: latest Istio: 1.0.3 Kubernetes flavour and version: GKE v1.10.11-gke.1

To Reproduce

  1. Run curl -L http://git.io/getLatestKialiKubernetes | bash
  2. Receiving the error:
Downloading YAML via: wget -q -O - https://raw.githubusercontent.com/kiali/kiali/v0.11/deploy/kubernetes/secret.yaml
error: error validating "STDIN": error validating data: [unknown object type "nil" in Secret.data.passphrase, unknown object type "nil" in Secret.data.username]; if you choose to ignore these errors, turn validation off with --validate=false
ERROR: Failed to deploy to kubernetes. Aborting.

Expected behavior Installation should pass correctly

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (2 by maintainers)

Most upvoted comments

@satyajituk In a terminal where you have available kubectl command and you are logged in into your GKE cluster.

@jmazzitelli Perhaps you could also try:

bash <(curl -L http://git.io/getLatestKialiKubernetes)

This prevents storing the file. I haven’t tried, so not sure if it works. Just suggesting another alternative.

The fix here is a documentation fix (nothing to be fixed in the script itself). I am going to change our docs to change the install command from:

curl -L http://git.io/getLatestKialiKubernetes | bash

to

curl -o /tmp/deploy-kiali.sh -L http://git.io/getLatestKialiKubernetes && bash /tmp/deploy-kiali.sh 

This allows the user to download and install in one command, but does not pipe the script directly into bash, rather, stored the script in /tmp and runs it from there thus preserving keyboard stdin for use by the script.

(this same doc fix is required for the OpenShift install script also)