Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s dashboard #113

Closed
10sr opened this issue Oct 4, 2019 · 14 comments
Closed

k8s dashboard #113

10sr opened this issue Oct 4, 2019 · 14 comments

Comments

@10sr
Copy link
Owner

10sr commented Oct 4, 2019

No description provided.

@10sr
Copy link
Owner Author

10sr commented Oct 4, 2019

@10sr
Copy link
Owner Author

10sr commented Oct 4, 2019

@10sr
Copy link
Owner Author

10sr commented Oct 4, 2019

@10sr
Copy link
Owner Author

10sr commented Oct 4, 2019

1.7 以降だから今使えないような?

@10sr
Copy link
Owner Author

10sr commented Dec 13, 2019

metrics-server は $ kubectl create -f deploy/1.8+/ で普通にできた
create したあとに apply したら微妙なログが出たけどまあ大丈夫?

10sr@tk2-407-44672:~/kubernetes_manifests/metrics-server$ kubectl apply -f deploy/1.8+/
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
clusterrole.rbac.authorization.k8s.io/system:aggregated-metrics-reader configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
clusterrolebinding.rbac.authorization.k8s.io/metrics-server:system:auth-delegator configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
rolebinding.rbac.authorization.k8s.io/metrics-server-auth-reader configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
apiservice.apiregistration.k8s.io/v1beta1.metrics.k8s.io configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
serviceaccount/metrics-server configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
deployment.apps/metrics-server configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
service/metrics-server configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
clusterrole.rbac.authorization.k8s.io/system:metrics-server configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
clusterrolebinding.rbac.authorization.k8s.io/system:metrics-server configured

@10sr
Copy link
Owner Author

10sr commented Dec 16, 2019

https://github.com/kubernetes/dashboard/blob/master/docs/user/installation.md

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

@10sr
Copy link
Owner Author

10sr commented Dec 16, 2019

ssh sakura -L 8001:localhost:8001
kubectl proxy

http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/#/login

@10sr
Copy link
Owner Author

10sr commented Dec 16, 2019

kubectl -n kubernetes-dashboard describe secrets `kubectl -n kubernetes-dashboard get secret | /usr/bin/awk '/kubernetes-dashboard-token-/{print $1}'`

@10sr
Copy link
Owner Author

10sr commented Dec 16, 2019

https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md このあたりを参照しても api を引く権限がないと言われてしまう

@10sr
Copy link
Owner Author

10sr commented Jan 16, 2020

namespaces is forbidden: User "system:serviceaccount:kubernetes-dashboard:kubernetes-dashboard" cannot list resource "namespaces" in API group "" at the cluster scope

@10sr
Copy link
Owner Author

10sr commented Feb 7, 2020

9bf4a54 ようやく rolebindings がわかった

@10sr
Copy link
Owner Author

10sr commented Feb 7, 2020

kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc4/aio/deploy/alternative.yaml

いったんつくりなおし

@10sr
Copy link
Owner Author

10sr commented Feb 14, 2020

できたのでは?

@10sr 10sr closed this as completed Feb 14, 2020
@10sr
Copy link
Owner Author

10sr commented Feb 14, 2020

https://k8s.3ends.info/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant