You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in this comment, it seems to be required that the spec include the https:// protocol, not just a host and port. #238 (comment)
Btw I also had to use kubernetes.docker.internal as the host (my k8s is the one built into Docker for Mac) instead of localhost.
$ KUBECONFIG=~/loki-test/default.kubeconfig get pods
No resources found in default namespace.
$ KUBECONFIG=~/loki-test/default.kubeconfig tk status environments/loki
connecting to Kubernetes: finding usable context: no cluster that matches the apiServer `kubernetes.docker.internal:6443` was found. Please check your $KUBECONFIG
The text was updated successfully, but these errors were encountered:
Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.88. Please mark this comment with 👍 or 👎 to give our bot feedback!
Ah this is probably user error since Loki install does show --serverwith the protocol.
But the message from tk init should be updated to use protocol too. I think I didn't include it because I saw this message:
% tk init
Installing k.libsonnet: jsonnet-bundler not found in $PATH. Follow https://tanka.dev/install#jsonnet-bundler for installation instructions
Directory structure set up! Remember to configure the API endpoint:
`tk env set environments/default --server=127.0.0.1:6443`
As mentioned in this comment, it seems to be required that the spec include the
https://
protocol, not just a host and port.#238 (comment)
Btw I also had to use
kubernetes.docker.internal
as the host (my k8s is the one built into Docker for Mac) instead oflocalhost
.The text was updated successfully, but these errors were encountered: