kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
15.63k stars 6.35k forks source link

Kubernetes 1.16 add v2 beta dashboard #5284

Closed davidschrooten closed 4 years ago

davidschrooten commented 4 years ago

Environment:

Kubespray version (commit) (git rev-parse --short HEAD): a1fff30b

Network plugin used: Flannel

Copy of your inventory file:

Command used to invoke ansible:

Output of ansible run:

Anything else do we need to know:

Legacy dashboard is not working anymore on Kubernetes v1.16 and up, add beta v2 dashboard when using kubernetes v1.16 or above.

madianas commented 4 years ago

Can anyone help with this error? I am in the same situation. At least with a temporary fix. I tried just updating a version but google repo does not have the image yet.

davidschrooten commented 4 years ago

Can anyone help with this error? I am in the same situation. At least with a temporary fix. I tried just updating a version but google repo does not have the image yet.

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta1/aio/deploy/recommended.yaml

This creates a new namespace called kubernetes-dashboard. Depending on your setup you might have to make a service to access it.

madianas commented 4 years ago

It was confusing for me. Since I can start from scratch, I've updated roles/download/defaults/main.yml file and deployed a new cluster. dashboard_image_repo: "kubernetesui/dashboard" dashboard_image_tag: "v2.0.0-beta5" This installs a correct dashboard in the same "kube-system" namespace out of the box.

pikomen commented 4 years ago

@madianas What about metrics? in : https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta1/aio/deploy/recommended.yaml the are dashboard-metrics-scraper instead of regular metrics.

fejta-bot commented 4 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot commented 4 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten

floryut commented 4 years ago

5821 will fix this, you can already try it locally, but it will be ship soon (with 2.13)

floryut commented 4 years ago

/close

k8s-ci-robot commented 4 years ago

@floryut: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/kubespray/issues/5284#issuecomment-619543000): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.