GithubHelp home page GithubHelp logo

hyeonsangjeon / kubernetes-dashboard-nodeport Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 6 KB

kubernetes dashboard using nodeport

Shell 100.00%
kubernetes kubernetes-dashboard nodeport rbac docker orchestration

kubernetes-dashboard-nodeport's Introduction

Kubernetes Dashboard deploy using Nodeport

This example shows how to set up the dashboard[1] using a custom NodePort In the kubernetes[k8s] environment. The k8s dashboard allows you to view and orchestrate container pool status information.

How to use this kubernetes dashboard compose yaml

To run k8s dashboard, excute this command in a ternimal:

run-dashboard.sh
The account that uses the dashboard must have admin privileges on all clusters by default and use the cluster-admin role of the kubernetes role based access control (RBAC).

screenshot1

Used variables are as follows,

kind Variables
ServiceAccount dashboardadmin
ClusterRole cluster-admin
ClusterRoleBinding kubernetes-dashboard
Namespace kube-system
NodePort 32154
Dashboard URL information https://domain::32154
To check RBAC authorization, excute this command in a ternimal:
kubectl describe clusterrolebinding kubernetes-dashboard
To check access api to dashboardadmin, excute this command in a ternimal:
check-access-by-dashboardadmin.sh
Verify the tokens in the dashboardadmin account in the terminal to log in to the Dashboard:
get-dashboard-token.sh

Reference

[1]. https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/

kubernetes-dashboard-nodeport's People

Contributors

hyeonsangjeon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

somphouang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.