Skip to content

Piping minikube start script into bash script fails to run full script #15

Description

@eriknelson

What date were you attending the hackathon?

12/13

What scenario were you running when you encountered the issue?

001 stateless app mirror

What did you expect to happen?

Copy pasted the minikube start script and it only ran half of the commands.

What actually happened?

Only the minikube commands run, it seems to stdout part of the script and not
all the commands run, so that when people go to run the examples they fail
in ways that are caused by bad networking.

Please include any relevant logs or errors

😄  [dest] minikube v1.24.0 on Redhat 8.4 (xen/amd64)
✨  Automatically selected the podman driver
👍  Starting control plane node dest in cluster dest
🚜  Pulling base image ...
E1213 15:25:31.169906   32322 cache.go:201] Error downloading kic artifacts:  not yet implemented, see issue #8426
🔥  Creating podman container (CPUs=2, Memory=2200MB) ...
🐳  Preparing Kubernetes v1.22.3 on Docker 20.10.8 ...
    ▪ Generating certificates and keys ...
        ▪ Booting up control plane ...
            ▪ Configuring RBAC rules ...
            🔎  Verifying Kubernetes components...
                ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
                🌟  Enabled addons: storage-provisioner, default-storageclass
                💡  kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'
                🏄  Done! kubectl is now configured to use "dest" cluster and "default" namespace by default
                clusters started, configuring networking between source and destination clusters
                minikube ssh -p ${DEST_CLUSTER_NAME} sudo ip r add $SOURCE_IP_RANGE via $(echo $DEST_IP | cut -d"." -f1-3).1

                minikube ssh -p ${SRC_CLUSTER_NAME} "ping -c 4 ${DEST_IP}"
                if [ "$?" != 0 ];
                then
                  echo "unable to set up networking"
                    exit 1
                    fi

[... snip ...]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hackathonkind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions