Skip to content

Error deploying Kubernetes dashboard from the samples #2898

@Fohlen

Description

@Fohlen
Environment

Running

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/alternative/kubernetes-dashboard.yaml

from the README

Dashboard version: 1.8.3
Kubernetes version: Client 1.9.4 / Server 1.9.0 from Brew distribution
Operating system: OSX
Node.js version: 8.9.1
Go version: (not globally installed)

Steps to reproduce

Installed kubectl and minikube from brew. Tried to deploy the dashboard on minikube via the shortcut from the README

Observed result
serviceaccount "kubernetes-dashboard" unchanged
role "kubernetes-dashboard-minimal" unchanged
rolebinding "kubernetes-dashboard-minimal" unchanged
service "kubernetes-dashboard" configured
The Deployment "kubernetes-dashboard" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"k8s-app":"kubernetes-dashboard"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
Expected result

It should start the dashboard

Comments

Checked the document and it says Kubernetes 1.8 is supported. Don't know if that's the case with 1.9x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions