Closed matthewrudy closed 6 years ago
Seems to be a duplicate of https://github.com/Azure/draft/issues/714 Apologies.
resolved for me with the following
➜ example-go git:(master) ✗ minikube stop
Stopping local Kubernetes cluster...
minikube Machine stopped.
➜ example-go git:(master) ✗ minikube delete
Deleting local Kubernetes cluster...
Machine deleted.
➜ example-go git:(master) ✗ minikube start
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.
➜ example-go git:(master) ✗ kubectl cluster-info
Kubernetes master is running at https://192.168.99.100:8443
KubeDNS is running at https://192.168.99.100:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
➜ example-go git:(master) ✗ helm init --service-account default
$HELM_HOME has been configured at /Users/matthew/.helm.
Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Happy Helming!
➜ example-go git:(master) ✗ helm version
\Client: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
➜ example-go git:(master) ✗ eval $(minikube docker-env)
➜ example-go git:(master) ✗ draft up
Draft Up Started: 'example-go': 01CCNN5S3TCG8Q5RNC0GAS4Y9M
example-go: Building Docker Image: SUCCESS ⚓ (52.0167s)
example-go: Releasing Application: SUCCESS ⚓ (2.4844s)
Inspect the logs with `draft logs 01CCNN5S3TCG8Q5RNC0GAS4Y9M`
➜ example-go git:(master) ✗ draft connect
Connect to go:8080 on localhost:51024
[go]: + exec app
Nice!
So I've been trying to get the getting_started guide working. https://github.com/Azure/draft/blob/master/docs/getting-started.md
But I end up hitting an error when running
draft up
Steps to reproduce:
I have draft 0.14.1
I'm running minikube
I've configured docker to use the minikube docker
I'm running kube 1.10.1
Helm seems to be running
Then I go into an example and configure it
Then try to run it
it fails with the error
I guess there's either a bug, or some step missing from the getting started guide.
Thanks for your help.