How to access/expose kubernetes-dashboard service outside of a cluster? - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/39864385/how-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster) (https://cdn.sstatic.net/Shared/stacks.css?v=d6a266655a25) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=22fb2cb11723) (Feed for question 'How to access/expose kubernetes-dashboard service outside of a cluster?') (/feeds/question/39864385) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) (1) (2.0) Sign up with Google Sign up with GitHub OR (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) (1) () () () () () () Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f39864385%2fhow-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f39864385%2fhow-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f39864385%2fhow-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f39864385%2fhow-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster) Sign up Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json python-3.x .net ruby-on-rails sql-server swift django angular objective-c excel pandas angularjs regex typescript ruby linux ajax iphone vba xml laravel spring asp.net-mvc database wordpress string flutter postgresql mongodb wpf windows amazon-web-services xcode bash git oracle-database spring-boot dataframe azure firebase list docker multithreading vb.net react-native eclipse algorithm powershell macos visual-studio numpy image forms scala function vue.js performance twitter-bootstrap selenium winforms kotlin loops express dart hibernate sqlite matlab python-2.7 shell rest apache entity-framework android-studio csv maven linq qt dictionary unit-testing asp.net-core facebook apache-spark tensorflow file swing class unity-game-engine sorting date authentication go symfony t-sql opencv matplotlib .htaccess google-chrome for-loop datetime codeigniter http perl validation sockets google-maps object uitableview xaml oop if-statement visual-studio-code cordova ubuntu web-services email android-layout github spring-mvc elasticsearch kubernetes selenium-webdriver ms-access user-interface parsing ggplot2 pointers google-sheets machine-learning c++11 security google-apps-script flask ruby-on-rails-3 templates nginx variables exception sql-server-2008 gradle debugging tkinter listview delphi jpa asynchronous web-scraping pdf haskell jsp ssl amazon-s3 google-cloud-platform jenkins testing xamarin wcf npm batch-file generics ionic-framework network-programming unix recursion google-app-engine mongoose visual-studio-2010 .net-core android-fragments assembly animation next.js math session svg hadoop intellij-idea curl django-models rust join winapi laravel-5 url heroku http-redirect tomcat google-cloud-firestore inheritance webpack keras image-processing gcc asp.net-mvc-4 logging dom swiftui web matrix pyspark actionscript-3 button post optimization firebase-realtime-database jquery-ui iis cocoa xpath d3.js javafx firefox internet-explorer xslt caching select asp.net-mvc-3 opengl events asp.net-web-api plot dplyr magento encryption search stored-procedures amazon-ec2 ruby-on-rails-4 memory audio canvas multidimensional-array jsf random vector cookies redux input facebook-graph-api flash xamarin.forms indexing arraylist ipad cocoa-touch data-structures video apache-kafka model-view-controller serialization jdbc woocommerce azure-devops routes razor awk servlets mod-rewrite beautifulsoup excel-formula docker-compose filter iframe aws-lambda design-patterns text django-rest-framework visual-c++ cakephp mobile android-intent react-hooks struct methods groovy mvvm ssh lambda checkbox ecmascript-6 google-chrome-extension time grails installation sharepoint cmake shiny spring-security jakarta-ee android-recyclerview plsql core-data types meteor android-activity sed bootstrap-4 websocket activerecord graph replace scikit-learn file-upload group-by vim junit boost deep-learning sass import memory-management error-handling async-await eloquent dynamic soap silverlight dependency-injection charts layout apache-spark-sql deployment browser gridview svn while-loop google-bigquery vuejs2 ffmpeg dll highcharts view foreach plugins makefile c#-4.0 redis reporting-services jupyter-notebook merge server unicode https reflection google-maps-api-3 twitter oauth-2.0 extjs pytorch axios terminal pip split cmd mysqli encoding django-views automation database-design collections hash netbeans build data-binding ember.js tcp sqlalchemy pdo apache-flex concurrency entity-framework-core command-line spring-data-jpa printing java-8 react-redux jestjs service html-table neo4j lua ansible material-ui parameters module enums flexbox visual-studio-2012 promise outlook firebase-authentication webview web-applications uwp jquery-mobile utf-8 datatable python-requests parallel-processing drop-down-menu colors scroll hive scipy tfs count syntax ms-word twitter-bootstrap-3 ssis google-analytics fonts three.js powerbi rxjs constructor graphql file-io paypal discord cassandra socket.io graphics compiler-errors gwt react-router nlp solr url-rewriting backbone.js memory-leaks datatables oauth terraform datagridview drupal oracle11g zend-framework neural-network knockout.js triggers django-forms interface google-api angular-material casting jmeter linked-list path proxy timer django-templates arduino orm directory parse-platform visual-studio-2015 windows-phone-7 cron push-notification conditional-statements primefaces functional-programming pagination model jar xamarin.android hyperlink uiview gitlab visual-studio-2013 vbscript google-cloud-functions azure-active-directory jwt download swift3 sql-server-2005 configuration process pygame rspec properties combobox callback windows-phone-8 linux-kernel safari permissions scrapy raspberry-pi scripting emacs clojure x86 scope io compilation expo mongodb-query responsive-design nhibernate angularjs-directive azure-functions request bluetooth dns 3d binding reference architecture discord.js playframework version-control pyqt doctrine-orm package get sql-server-2012 rubygems f# autocomplete openssl datepicker kendo-ui tree jackson controller yii pycharm nested grep xamarin.ios static dockerfile statistics null transactions datagrid active-directory uiviewcontroller webforms phpmyadmin discord.py notifications sas computer-vision duplicates mocking youtube nullpointerexception yaml menu sum bitmap blazor asp.net-mvc-5 electron visual-studio-2008 time-series yii2 jsf-2 css-selectors stl android-listview floating-point cryptography ant stream hashmap character-encoding msbuild sdk asp.net-core-mvc google-drive-api selenium-chromedriver jboss cors joomla navigation devise anaconda background camera multiprocessing pyqt5 binary cuda frontend linq-to-sql iterator mariadb onclick plotly ios7 rabbitmq android-jetpack-compose microsoft-graph-api android-asynctask tabs laravel-4 insert environment-variables uicollectionview amazon-dynamodb linker xsd console coldfusion upload continuous-integration ftp textview opengl-es vuejs3 operating-system mockito macros localization formatting xml-parsing json.net kivy type-conversion data.table timestamp calendar integer segmentation-fault android-ndk drag-and-drop prolog char crash jasmine automated-tests dependencies geometry android-gradle-plugin itext firebase-cloud-messaging header fortran sprite-kit mfc attributes nuxt.js azure-pipelines nosql format nestjs odoo db2 jquery-plugins jenkins-pipeline leaflet event-handling postman flutter-layout annotations julia keyboard textbox arm visual-studio-2017 gulp libgdx stripe-payments synchronization xampp timezone crystal-reports dom-events uikit azure-web-app-service android-emulator swagger wso2 sequelize.js namespaces aggregation-framework uiscrollview jvm google-sheets-formula chart.js com subprocess geolocation webdriver centos snowflake-cloud-data-platform html5-canvas garbage-collection dialog widget numbers concatenation qml sql-update set tuples windows-10 java-stream mapreduce smtp ionic2 rotation modal-dialog spring-data android-edittext http-headers nuget doctrine radio-button sonarqube grid lucene xmlhttprequest internationalization listbox initialization switch-statement components google-play apache-camel boolean serial-port ldap ios5 youtube-api gdb return latex pivot eclipse-plugin frameworks tags containers github-actions dataset asp-classic subquery label foreign-keys c++17 copy uinavigationcontroller delegates google-cloud-storage migration struts2 base64 protractor embedded find queue sql-server-2008-r2 uibutton arguments composer-php append jaxb zip stack cucumber autolayout ide entity-framework-6 popup tailwind-css iteration airflow r-markdown windows-7 ssl-certificate vb6 gmail hover jqgrid g++ udp range Next You’ll be prompted to create an account to view your personalized homepage. (/) Home (/questions) Questions (/tags) Tags (/beta/discussions) Discussions Labs (https://chat.stackoverflow.com/?tab=all&sort=active) Chat (/users) Users (/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams () Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams (Illustration of upvote icon after it is clicked) Hang on, you can't upvote just yet. You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can save this post to reference later. Save this post for later Not now (Illustration of upvote icon after it is clicked) Hang on, you can't downvote just yet. You'll need to complete a few actions and gain 125 reputation points before being able to downvote. Casting downvotes indicate issues with quality, effort, or accuracay of a post. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can try suggesting an edit to improve the post. Suggest edit No thanks (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/39864385/how-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster) How to access/expose kubernetes-dashboard service outside of a cluster? (/questions/ask) Ask Question (2016-10-05 02:07:05Z) Asked 8 years, 6 months ago Modified (?lastactivity) (2023-09-14 05:14:59Z) 1 year, 7 months ago (Viewed 155,476 times) Viewed 155k times This question shows research effort; it is useful and clear (70:3:31e,16:fa8de741e5e1da6a,10:1744942306,16:272e903c1999541c,8:39864385,aa4638f8a3c7f2e17ef050126a45f40e6d41d358380881859c6ed766e3f069cf) 62 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:0b46380cbf0d696d,10:1744942306,16:71728c3b6aa2edd8,8:39864385,a3468fa768342d5c015129635985f2a8efb58ac7d92a3c2723da31f42cc93fcc) Save this question. (/posts/39864385/timeline) Show activity on this post. I have got the following services: ubuntu@master:~$ kubectl get services --all-namespaces NAMESPACE NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE default kubernetes 100.64 .0 .1 443 /TCP 48m kube-system kube-dns 100.64 .0 .10 53 /UDP,53/TCP 47m kube-system kubernetes-dashboard 100.70 .83 .136 80 /TCP 47m I am attempting to access kubernetes dashboard. The following response seems reasonable, taking into account curl is not a browser. ubuntu@master:~$ curl 100.70 .83 .136 Kubernetes Dashboard According to the documentation the right access point is (https://localhost/ui) https://localhost/ui . So, I am trying it and receive a bit worrying result. Is it expected response? ubuntu@master:~$ curl https://localhost/ui curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. Trying the same without certificate validation. For curl it might be OK. but I have got the same in a browser, which is connecting though port forwarding via vagrant forwarded_port option. ubuntu@master:~$ curl -k https://localhost/ui Unauthorized What I am doing wrong? and how to make sure I can access the UI? Currently it responds with Unauthorized. The docs for the dashboard tell the password is in the configuration: ubuntu@master:~$ kubectl config view apiVersion: v1 clusters: [] contexts: [] current-context: "" kind: Config preferences: {} users: [] but it seems I have got nothing... Is it expected behavior? How can I authorize with the UI? (/questions/tagged/kubernetes) (show questions tagged 'kubernetes') kubernetes (/q/39864385) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/39864385/edit) () Improve this question Follow (70:3:31e,16:0cf92cb22ff04696,10:1744942306,16:b0c4ea9b4740f5df,8:39864385,099e840c1f66cedfe9499f0eff89c2373e5aeb9b046d2a8ca76885eec3001961) Follow this question to receive notifications asked (2016-10-05 02:07:05Z) Oct 5, 2016 at 2:07 (/users/2093151/andrew) (Andrew's user avatar) (/users/2093151/andrew) Andrew Andrew (reputation score) 2,133 (2 gold badges) 2 2 gold badges (21 silver badges) 21 21 silver badges (30 bronze badges) 30 30 bronze badges 2 Have you seen (http://stackoverflow.com/q/34306082/759019) stackoverflow.com/q/34306082/759019 ? – (/users/759019/anirudh-ramanathan) (46,798 reputation) Anirudh Ramanathan Commented (2016-10-05 06:53:45Z, License: CC BY-SA 3.0) Oct 5, 2016 at 6:53 (number of 'useful comment' votes received) 3 I have seen similar. Everywhere I checked either there is no practical answer (instructions to act) or it is not compatible with 1.4.0 kubernetes or I am missing some basic things. – (/users/2093151/andrew) (2,133 reputation) Andrew Commented (2016-10-05 10:48:40Z, License: CC BY-SA 3.0) Oct 5, 2016 at 10:48 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 12 Answers 12 Sorted by: (/questions/39864385/how-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:b8fdefeab91c535c,10:1744942306,16:aec64a6ba17aeeae,8:52176544,521968e7aedfb33cc97d0b9e55cef0b04f72266971a81b00fad61c5835020281) 51 (This answer is not useful) (70:3:31e,16:3c9a4abae2166377,10:1744942306,16:0e076fe9d6567745,8:52176544,91c9c89e8beb4b78775b6584b21c92cc9bdd24b323407c5b93b26b56c54e5908) Save this answer. (Loading when this answer was accepted…) (/posts/52176544/timeline) Show activity on this post. The offical wiki is a little bit confusing so I reordered it here: If you use the (https://github.com/kubernetes/dashboard/blob/master/aio/deploy/recommended/kubernetes-dashboard.yaml) recommended yaml to deploy the dashboard, you should only access your dashboard by https, and you should generate your certs, refer to (https://github.com/kubernetes/dashboard/wiki/Installation) guide . Then you can run kubectl proxy --address='0.0.0.0' --accept-hosts='^*$' to visit the dashboard on "http://localhost:8001/ui". This page needs to use a token to login. To generate it, refer to (https://github.com/kubernetes/dashboard/wiki/Creating-sample-user) this page . Also you can add NodePort to your yaml and access it using : . If you deploy using the (https://github.com/kubernetes/dashboard/blob/master/aio/deploy/alternative.yaml) http alternative method, you can only access your dashboard by nodeip:port . Remember to add it to yaml first!! After deployment, you should also generate your token and add header Authorization: Bearer for every request . I think this can help you and others who want to use kube-dashboard. (/a/52176544) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/52176544/edit) () Improve this answer Follow (70:3:31e,16:22d81a6efe68778c,10:1744942306,16:91f700f9a952bc0e,8:52176544,fc23893b0c292d6f6241f4d33dfe388b5c5d7e0f74d206a0cf2b4b41f4b7af44) Follow this answer to receive notifications (/posts/52176544/revisions) (show all edits to this post) edited (2020-11-13 05:29:11Z) Nov 13, 2020 at 5:29 (/users/3647441/mario-van-zadel) (mario.van.zadel's user avatar) (/users/3647441/mario-van-zadel) mario.van.zadel (reputation score) 2,949 (15 silver badges) 15 15 silver badges (24 bronze badges) 24 24 bronze badges answered (2018-09-05 03:15:03Z) Sep 5, 2018 at 3:15 (/users/7230212/ysjiang) (ysjiang's user avatar) (/users/7230212/ysjiang) ysjiang ysjiang (reputation score) 661 (6 silver badges) 6 6 silver badges (11 bronze badges) 11 11 bronze badges 2 The alternative YAML URL was changed: (https://github.com/kubernetes/dashboard/blob/master/aio/deploy/alternative.yaml) github.com/kubernetes/dashboard/blob/master/aio/deploy/… – (/users/182474/gabor-garami) (1,267 reputation) Gabor Garami Commented (2020-08-30 10:57:06Z, License: CC BY-SA 4.0) Aug 30, 2020 at 10:57 Thanks, I was trying to access Dashboard outside the cluster and this worked for me! – (/users/3431976/user3431976) (191 reputation) user3431976 Commented (2023-07-20 11:11:25Z, License: CC BY-SA 4.0) Jul 20, 2023 at 11:11 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:7e2d807ce0d1009c,10:1744942306,16:7ba464eb514d5d85,8:48919235,26e07fe910c3a937cade85a3db15091dbd35dafb489571655314008d908d3cce) 32 (This answer is not useful) (70:3:31e,16:56b7ce70dc8b4e43,10:1744942306,16:64499810d172bc0d,8:48919235,8efb7da4b0db6726e744a4ae89b5bbe826a8779ca92b3ac4d67f43edd840a6ac) Save this answer. (Loading when this answer was accepted…) (/posts/48919235/timeline) Show activity on this post. You can reference the document: (https://github.com/kubernetes/dashboard/blob/master/docs/user/accessing-dashboard/README.md) https://github.com/kubernetes/dashboard/blob/master/docs/user/accessing-dashboard/README.md The easy way is to $ kubectl -n kube-system edit service kubernetes-dashboard change the .spec.type to NodePort (/a/48919235) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/48919235/edit) () Improve this answer Follow (70:3:31e,16:2cbcbaf27ccb4ead,10:1744942306,16:498ccd47611548c2,8:48919235,bd5f54947db350c9c57d7f38d7e91911609babb6a83019faea9c93bdf98943d4) Follow this answer to receive notifications (/posts/48919235/revisions) (show all edits to this post) edited (2021-06-07 06:04:50Z) Jun 7, 2021 at 6:04 (/users/723904/martin-bories) (Martin Bories's user avatar) (/users/723904/martin-bories) Martin Bories (reputation score) 1,116 (1 gold badge) 1 1 gold badge (18 silver badges) 18 18 silver badges (37 bronze badges) 37 37 bronze badges answered (2018-02-22 03:35:24Z) Feb 22, 2018 at 3:35 (/users/6299638/yang-young) (Yang Young's user avatar) (/users/6299638/yang-young) Yang Young Yang Young (reputation score) 622 (5 silver badges) 5 5 silver badges (6 bronze badges) 6 6 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:94abab323ae2d75a,10:1744942306,16:c1524f32371f369a,8:65003607,fd309ea831b68e1369231f2bb24e919000679508c5168681f0b229be0387f472) 19 (This answer is not useful) (70:3:31e,16:da22e06b1a2f5ded,10:1744942306,16:1f866c65ffef00d2,8:65003607,342d2845ebaeb0ab14f78dea306dcccfb40f8ea8d548f8f14aa4053d076b4dbc) Save this answer. (Loading when this answer was accepted…) (/posts/65003607/timeline) Show activity on this post. Have you tried this: kubectl port-forward -n kubernetes-dashboard service/kubernetes-dashboard 10443:443 --address 0.0.0.0 In your case the namespace is different (`kube-system`), so: kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 --address 0.0.0.0 Now you should be able to access the dashboard at localhost:10443 (including remotely using a ssh tunnel with the -L 10433:localhost:10433 parameter). (/a/65003607) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/65003607/edit) () Improve this answer Follow (70:3:31e,16:7a7d8d6c34e5a4c3,10:1744942306,16:dd90b8218c5bf196,8:65003607,3648b4444450f8d16063fd5d93cd3f6d0d0fa7b2f0ed60849b143e5daea2fa55) Follow this answer to receive notifications (/posts/65003607/revisions) (show all edits to this post) edited (2023-03-06 18:57:38Z) Mar 6, 2023 at 18:57 (/users/9962007/mirekphd) (mirekphd's user avatar) (/users/9962007/mirekphd) mirekphd (reputation score) 6,971 (3 gold badges) 3 3 gold badges (56 silver badges) 56 56 silver badges (83 bronze badges) 83 83 bronze badges answered (2020-11-25 11:16:26Z) Nov 25, 2020 at 11:16 (/users/6159868/alexw) (AlexW's user avatar) (/users/6159868/alexw) AlexW AlexW (reputation score) 191 (1 silver badge) 1 1 silver badge (2 bronze badges) 2 2 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:9e71ec69af39f4a9,10:1744942306,16:99832901c8e9a4b2,8:40049676,1fe37eafcc549e38278a467465e6b7a4ab32d87f95ca1188404f1318be15bd6f) 12 (This answer is not useful) (70:3:31e,16:7af084044e6d842e,10:1744942306,16:b8d90bef1fd9a9a9,8:40049676,530d56cb6e19db88b75f7840ccdf1a41e7dbdd0f987715883281a80bc25aa8f0) Save this answer. (Loading when this answer was accepted…) (/posts/40049676/timeline) Show activity on this post. You can reach by hitting the nodePort for the dashboard on the master kubectl describe services kubernetes-dashboard --namespace=kube-system NodePort: 30042 /TCP (http://MASTER:30042) http://MASTER:30042 (/a/40049676) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/40049676/edit) () Improve this answer Follow (70:3:31e,16:8a00987a97fbbec5,10:1744942306,16:9e2f58150b7547d6,8:40049676,baee602af43378e3f663c5057f4e412178e34fa627fa4ff410ff4b2b0820439c) Follow this answer to receive notifications answered (2016-10-14 18:17:54Z) Oct 14, 2016 at 18:17 (/users/2363318/user2363318) (user2363318's user avatar) (/users/2363318/user2363318) user2363318 user2363318 (reputation score) 1,067 (1 gold badge) 1 1 gold badge (12 silver badges) 12 12 silver badges (31 bronze badges) 31 31 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:a30166daaac6f0c7,10:1744942306,16:6d374272e9141969,8:41271878,c668a32c474fcb8625bdd9eb75c75c90fa685c2b5a0246fb186bd962d0dace8f) 11 (This answer is not useful) (70:3:31e,16:6c1741e3a385de8d,10:1744942306,16:809b09a3f96802e0,8:41271878,e90212bb527bff434395ab4f981b5078869093f4498f0ad408ec4af0ae09df2c) Save this answer. (Loading when this answer was accepted…) (/posts/41271878/timeline) Show activity on this post. You need to run kubectl proxy locally for accessing the dashboard outside the kubernetes cluster. This is because of the authentication mechanism. After running the below command you'll be able to view the dashboard at (http://localhost/ui) http://localhost/ui on your browser. The admin.conf file is the file on your kubernetes master at /etc/kubernetes/admin.conf You'll have to scp that file to the machine from which you want to access the dashboard and pass it to kubectl command. kubectl --kubeconfig=./admin.conf proxy -p 80 The nodePort approach as mentioned by @user2363318 will be applicable if one of the following two conditions is valid: Your http client (browser or curl) is able to send auth tokens Your service in the kubernetes cluster does not have auth (/a/41271878) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/41271878/edit) () Improve this answer Follow (70:3:31e,16:bbce9582442007c0,10:1744942306,16:a27bdd00bdfb2a1d,8:41271878,cb9be0c4fff1cae335bc2ef2c5b73cdf370778f452f3a1fb446ff4a29b5eaa37) Follow this answer to receive notifications answered (2016-12-21 21:04:22Z) Dec 21, 2016 at 21:04 (/users/434678/livinston) (livinston's user avatar) (/users/434678/livinston) livinston livinston (reputation score) 1,358 (2 gold badges) 2 2 gold badges (13 silver badges) 13 13 silver badges (19 bronze badges) 19 19 bronze badges 2 (number of 'useful comment' votes received) 3 I get F0212 08:37:08.165120 20582 proxy.go:153] listen tcp 127.0.0.1:80: bind: permission denied running your command. Also I don't have amin.conf neither in /etc/kubernetes nor in home folder – (/users/1713660/vladkras) (17,235 reputation) vladkras Commented (2018-02-12 05:41:31Z, License: CC BY-SA 3.0) Feb 12, 2018 at 5:41 Coming in to this late, but you'll likely need to run that as root, since you can't bind to ports under 1024 as an unprivileged user. – (/users/1449926/mikey-t-k) (1,170 reputation) Mikey T.K. Commented (2019-12-17 22:20:29Z, License: CC BY-SA 4.0) Dec 17, 2019 at 22:20 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:763a382340d0e1a6,10:1744942306,16:3550ee0faad686c6,8:63240711,942b80aa59b3ff40dbdb12d06b960e13a37e99f2009450b3abe7e38c6b2f3dac) 6 (This answer is not useful) (70:3:31e,16:a63df6de65ba2a31,10:1744942306,16:42751d69f04d133e,8:63240711,2c40bdc987bb78148b288b7bc7f5663914d902eacee625ae03c0b7ebc717cf8b) Save this answer. (Loading when this answer was accepted…) (/posts/63240711/timeline) Show activity on this post. Using terminal app on my laptop did the following: sudo ssh -i “MYAMOZONHOSTKEYPAIR.pem" -L 8001 :127.0.0.1:8001 ubuntu@MYAMAZONHOST MYAMAZONHOST is where I am running k3s. Upon SSH did the following: sudo k3s kubectl proxy Then using the browser opened the url http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ Kubernetes dashboard opened successfully. (/a/63240711) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/63240711/edit) () Improve this answer Follow (70:3:31e,16:5521ea94cb1bdca9,10:1744942306,16:3a7f656c81acb869,8:63240711,dcbc4d33facbb187225f39f3dd39a6acfaaed79ae5d46b350116dd7a0c19a7f9) Follow this answer to receive notifications (/posts/63240711/revisions) (show all edits to this post) edited (2020-08-04 06:08:33Z) Aug 4, 2020 at 6:08 (/users/4731718/%d7%a1%d7%98%d7%a0%d7%9c%d7%99-%d7%92%d7%a8%d7%95%d7%a0%d7%9f) (סטנלי גרונן's user avatar) (/users/4731718/%d7%a1%d7%98%d7%a0%d7%9c%d7%99-%d7%92%d7%a8%d7%95%d7%a0%d7%9f) סטנלי גרונן (reputation score) 3,017 (25 gold badges) 25 25 gold badges (50 silver badges) 50 50 silver badges (69 bronze badges) 69 69 bronze badges answered (2020-08-04 05:24:05Z) Aug 4, 2020 at 5:24 (/users/14045798/rafi-assadi-h-m) (Rafi Assadi H M's user avatar) (/users/14045798/rafi-assadi-h-m) Rafi Assadi H M Rafi Assadi H M (reputation score) 81 (1 silver badge) 1 1 silver badge (3 bronze badges) 3 3 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:f49d238a49a2731b,10:1744942306,16:2134b832516b34fe,8:69202867,d33fb16fb87621884c6deae95a3649dc596c4574bfc18ee88f7814acaa51fe86) 4 (This answer is not useful) (70:3:31e,16:e5bfba47b77990b6,10:1744942306,16:61c9d880122e9345,8:69202867,67f9c91509da798fba8f1a3b89d93f69537f7b2370b98954da3b1c62769dbbb9) Save this answer. (Loading when this answer was accepted…) (/posts/69202867/timeline) Show activity on this post. create a new service to expose port 8001 to kubernetes-dashboard's 8443. kubectl expose deployment kubernetes-dashboard -n kubernetes-dashboard --type=LoadBalancer --name=kdash --port=8001 --target-port=8443 now, you can access your kubernetes-dashboard with https://:8001 . (/a/69202867) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/69202867/edit) () Improve this answer Follow (70:3:31e,16:c64978e7365ba3c4,10:1744942306,16:2f9d2e5af5d3ba50,8:69202867,9c02f99d1a00bb8723066589846176e59757bfc611df0dbc2f9a79877d12099c) Follow this answer to receive notifications answered (2021-09-16 05:39:51Z) Sep 16, 2021 at 5:39 (/users/2155326/song940) (song940's user avatar) (/users/2155326/song940) song940 song940 (reputation score) 41 (3 bronze badges) 3 3 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:0372af80f2a167ea,10:1744942306,16:7bb0fa1b3c4e8b1c,8:77101960,e63f28b265250a2a916d851475da59a301bc74d38978bd1e98acec39466d5d24) 2 (This answer is not useful) (70:3:31e,16:330ab682232f0f08,10:1744942306,16:bf744dba3ab40ddd,8:77101960,5d641cbc42bae242647a6992703dc41d4645cab7fd71d07331dce3d77f152619) Save this answer. (Loading when this answer was accepted…) (/posts/77101960/timeline) Show activity on this post. incase anyone is facing this issue in 2023 my setup and goal is to simply access remotely via my workstation browser since my cluster and dashboard is in another server in control-plane node : kubectl port-forward -n kubernetes-dashboard service/kubernetes-dashboard :443 --address 0.0 .0 .0 in your workstation : ssh -v -N -L :127.0.0.1:8443 @
where is your remote server username and
is your remote server ip address then open browser in your workstation and type in https://127.0.0.1: (/a/77101960) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/77101960/edit) () Improve this answer Follow (70:3:31e,16:35c49eec56e9381b,10:1744942306,16:fac53b1bf7e3a428,8:77101960,064f4e6693fb4ab44ee44e9a21b5596dada1a75955adb895ae9b0427d878797e) Follow this answer to receive notifications answered (2023-09-14 05:14:59Z) Sep 14, 2023 at 5:14 (/users/6537751/zer0) (zer0's user avatar) (/users/6537751/zer0) zer0 zer0 (reputation score) 93 (1 silver badge) 1 1 silver badge (12 bronze badges) 12 12 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:a5faac1bedb7e50f,10:1744942306,16:b8c99260dc3e5240,8:57940192,9f9358e818cd12cf4eb6848f484e142bd8a53af85d005e632c13d85f991343e0) 1 (This answer is not useful) (70:3:31e,16:580164a483540ed9,10:1744942306,16:4f68d1ba18ff8b54,8:57940192,b582d2c2abd994106c9c7d3448c74eab42d0311076fc09befc1c58df12ccc0f7) Save this answer. (Loading when this answer was accepted…) (/posts/57940192/timeline) Show activity on this post. Just add a little clarity to the above response, Change type: ClusterIP to type: NodePort and save file. Dashboard has been exposed on port 31707 (HTTPS). Now you can access it from your browser at: (https://master-ip:31707) https://master-ip:31707 . Note: The port mentioned could be difference in your case, just run the below kubectl command to get the port from master. kubectl -n kube-system get service kubernetes-dashboard (/a/57940192) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/57940192/edit) () Improve this answer Follow (70:3:31e,16:182c89a333ac7063,10:1744942306,16:509f8eb783097089,8:57940192,379dc27696bd4f0e9fd86ce84640b728051c329d39d0598d614f009a4eee82a1) Follow this answer to receive notifications answered (2019-09-15 00:12:57Z) Sep 15, 2019 at 0:12 (/users/10026269/anrajme) (anrajme's user avatar) (/users/10026269/anrajme) anrajme anrajme (reputation score) 905 (9 silver badges) 9 9 silver badges (7 bronze badges) 7 7 bronze badges 1 (number of 'useful comment' votes received) 1 "Just add a little clarity to the above response " is more deceiving than clear because the answers are ordered differently for each SO user! – (/users/4249857/dvdblk) (3,026 reputation) dvdblk Commented (2020-02-06 20:42:40Z, License: CC BY-SA 4.0) Feb 6, 2020 at 20:42 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:62d687ff2d7e3dde,10:1744942306,16:37db1edaf7f08188,8:71131468,74d03a2a716ad646e0019a5564a495e685875dc4429f8ca95b314fb83a3eec58) 1 (This answer is not useful) (70:3:31e,16:b43d99942dc8ba8e,10:1744942306,16:e0bb2491fa9b75b8,8:71131468,f44b90602dfff8c2aa99104782785afa8bf8a635e1ba098a3c6a3de1a35d84fe) Save this answer. (Loading when this answer was accepted…) (/posts/71131468/timeline) Show activity on this post. Apply those two yaml files, and you should be able to access it. This is assumed that you already have a valid domain: kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml clusterissuer.yml apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: letsencrypt # cluster issuer name spec: acme: server: https://acme-v02.api.letsencrypt.org/directory # production url email: abc@abc.com privateKeySecretRef: name: k8-dashboard-tls-production # secret name solvers: - http01: ingress: class: nginx ingress.yml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: cert-manager.io/cluster-issuer: letsencrypt nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" name: dashboard-api-ingress namespace: kubernetes-dashboard spec: ingressClassName: nginx rules: - host: example.com http: paths: - path: / pathType: Prefix backend: service: name: kubernetes-dashboard port: number: 443 tls: - hosts: - example.com secretName: k8-dashboard-tls-production (/a/71131468) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/71131468/edit) () Improve this answer Follow (70:3:31e,16:b556f6591186a691,10:1744942306,16:6ad7938aba108ded,8:71131468,da6aa347b1fcf2d7cd1e67d23b16220ce0fd2fb861e7f040a9e1ca6a6ec4e8df) Follow this answer to receive notifications answered (2022-02-15 18:18:02Z) Feb 15, 2022 at 18:18 (/users/2383193/hoang-minh) (Hoang Minh's user avatar) (/users/2383193/hoang-minh) Hoang Minh Hoang Minh (reputation score) 1,262 (2 gold badges) 2 2 gold badges (24 silver badges) 24 24 silver badges (49 bronze badges) 49 49 bronze badges 0 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:5f344b3ab729f9f1,10:1744942306,16:bf2ac412002c3058,8:74073477,468ccb765a77a4564f36dcb0985e5137c34dc8b3136283d8267610de23c39a21) 1 (This answer is not useful) (70:3:31e,16:4d81858d04877570,10:1744942306,16:a16955f57ee34395,8:74073477,3bab9d9e3e1a55e992eb45557abf1df642e105a5f0614728d4c1a1520c14fb53) Save this answer. (Loading when this answer was accepted…) (/posts/74073477/timeline) Show activity on this post. For exposing kube dashboard through nginx ingress apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: kubernetes-dashboard-ingress namespace: kubernetes-dashboard annotations: nginx.ingress.kubernetes.io/backend-protocol: HTTPS nginx.ingress.kubernetes.io/configuration-snippet: |- proxy_ssl_server_name on; proxy_ssl_name $host; nginx.ingress.kubernetes.io/ssl-redirect: "true" nginx.ingress.kubernetes.io/force-ssl-redirect: "true" nginx.ingress.kubernetes.io/add-base-url: "true" nginx.ingress.kubernetes.io/rewrite-target: /$1 spec: ingressClassName: nginx rules: - host: your.domain.it http: paths: - path: /(.*) pathType: Prefix backend: service: name: kubernetes-dashboard port: number: 443 Run code snippet (Copy snippet to answer) Hide results Expand snippet assuming the service kubernetes-dashboard on namespace kubernetes-dashboard has been configured on the port 443 (/a/74073477) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/74073477/edit) () Improve this answer Follow (70:3:31e,16:341478727341bb17,10:1744942306,16:b048e57dba2bef99,8:74073477,ea631e0d3503974dfdf5e1bdaf1a33ed3eac5c7cbce56238311e4648f36065b8) Follow this answer to receive notifications answered (2022-10-14 18:35:27Z) Oct 14, 2022 at 18:35 (/users/6341163/salvatore-napoli) (Salvatore Napoli's user avatar) (/users/6341163/salvatore-napoli) Salvatore Napoli Salvatore Napoli (reputation score) 444 (3 silver badges) 3 3 silver badges (9 bronze badges) 9 9 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:1a9d3612a6b3f0bc,10:1744942306,16:1d3d205404e53378,8:75375057,e11166dc1629f88091fd7427e7833e74df374a5b8ed53f2cd3e3692071f21b44) 1 (This answer is not useful) (70:3:31e,16:9d1f4608cb655aa6,10:1744942306,16:8ea612e2d069030c,8:75375057,c068bfd15ff584a4ffae18a8169a14d62ad959c9f87fec6ee4a2ed1390925abb) Save this answer. (Loading when this answer was accepted…) (/posts/75375057/timeline) Show activity on this post. The easiest way is to kubectl proxy --port=8080 --address=0.0.0.0 --disable-filter=true & Then you can access it on IP:8080 or you can access it using ALB/TG combination in case of AWS. You can take the reference from document: (https://www.eksworkshop.com/beginner/040_dashboard/dashboard/) https://www.eksworkshop.com/beginner/040_dashboard/dashboard/ (/a/75375057) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/75375057/edit) () Improve this answer Follow (70:3:31e,16:8f5d3d106c1f9042,10:1744942306,16:79725366c165d94f,8:75375057,586eff4d57bfff9a02035ddb0cf32013ff8053c89ad1227ea10ef38d6415e226) Follow this answer to receive notifications answered (2023-02-07 14:51:42Z) Feb 7, 2023 at 14:51 (/users/10477082/suraj-singh-rathore) (Suraj Singh Rathore's user avatar) (/users/10477082/suraj-singh-rathore) Suraj Singh Rathore Suraj Singh Rathore (reputation score) 1,202 (10 silver badges) 10 10 silver badges (10 bronze badges) 10 10 bronze badges 1 (number of 'useful comment' votes received) 1 This worked for me with minikube version: v1.30.1 – (/users/452281/jftuga) (1,973 reputation) jftuga Commented (2023-04-14 20:57:42Z, License: CC BY-SA 4.0) Apr 14, 2023 at 20:57 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (39864385) (false) () (0) Your Answer (True) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f39864385%2fhow-to-access-expose-kubernetes-dashboard-service-outside-of-a-cluster%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Start asking to get answers Find the answer to your question by asking. (/questions/ask) Ask question Explore related questions (/questions/tagged/kubernetes) (show questions tagged 'kubernetes') kubernetes See similar questions with these tags. The Overflow Blog (https://stackoverflow.blog/2025/04/16/wbit-7-exploring-webassembly-with-the-first-so-user-to-get-10k-rep/?cb=1) WBIT #7: Exploring WebAssembly with the first SO user to get 10k rep (https://stackoverflow.blog/2025/04/17/wait-what-is-agentic-ai/?cb=1) Wait, what is agentic AI? Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/407927/changes-to-reporting-for-the-status-review-escalation-process?cb=1) Changes to reporting for the [status-review] escalation process (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned?cb=1) Policy: Generative AI (e.g., ChatGPT) is banned (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/433466/a-discussion-about-closed-and-potentially-useful-posts-on-stack-overflow?cb=1) A discussion about closed (and potentially useful) posts on Stack Overflow (https://chat.stackoverflow.com/) (4 users active in 12 rooms the last 60 minutes) 4 people chatting Linked (https://stackoverflow.com/q/46664104?lq=1) (Question score (upvotes - downvotes)) 199 (https://stackoverflow.com/questions/46664104/how-to-sign-in-kubernetes-dashboard?noredirect=1&lq=1) How to sign in kubernetes dashboard? (https://stackoverflow.com/q/34306082?lq=1) (Question score (upvotes - downvotes)) 9 (https://stackoverflow.com/questions/34306082/kubernetes-https-api-return-unauthorized?noredirect=1&lq=1) Kubernetes. HTTPS API return `Unauthorized` (https://stackoverflow.com/q/52724115?lq=1) (Question score (upvotes - downvotes)) 6 (https://stackoverflow.com/questions/52724115/accessing-kubernetes-api-via-kubernetes-dashboard-host?noredirect=1&lq=1) Accessing Kubernetes API via Kubernetes Dashboard Host (https://stackoverflow.com/q/48286170?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/48286170/how-to-access-canonical-kubernetes-dashboard-externally?noredirect=1&lq=1) How to access canonical kubernetes dashboard externally? (https://stackoverflow.com/q/58819329?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/58819329/kubernetes-dashboard-accessing-outside-the-cluster?noredirect=1&lq=1) Kubernetes Dashboard accessing outside the cluster (https://stackoverflow.com/q/58333637?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/58333637/other-pc-cant-visit-k8s-dashboard?noredirect=1&lq=1) Other pc can't visit k8s dashboard Related (https://stackoverflow.com/q/37331413?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/37331413/external-endpoint-of-kubernetes-dashboard?rq=3) External endpoint of Kubernetes dashboard (https://stackoverflow.com/q/43483219?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/43483219/how-do-i-expose-the-kubernetes-ui-dashboard?rq=3) How do I expose the Kubernetes UI Dashboard? (https://stackoverflow.com/q/48286170?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/48286170/how-to-access-canonical-kubernetes-dashboard-externally?rq=3) How to access canonical kubernetes dashboard externally? (https://stackoverflow.com/q/52160672?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/52160672/kubernetes-dashboard-is-not-accessible-from-outside?rq=3) kubernetes dashboard is not accessible from outside (https://stackoverflow.com/q/52724115?rq=3) (Question score (upvotes - downvotes)) 6 (https://stackoverflow.com/questions/52724115/accessing-kubernetes-api-via-kubernetes-dashboard-host?rq=3) Accessing Kubernetes API via Kubernetes Dashboard Host (https://stackoverflow.com/q/53957413?rq=3) (Question score (upvotes - downvotes)) 10 (https://stackoverflow.com/questions/53957413/how-to-access-kubernetes-dashboard-from-outside-network?rq=3) How to access Kubernetes Dashboard from outside network (https://stackoverflow.com/q/57726663?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/57726663/expose-kubernetes-dashboard?rq=3) Expose kubernetes dashboard (https://stackoverflow.com/q/58819329?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/58819329/kubernetes-dashboard-accessing-outside-the-cluster?rq=3) Kubernetes Dashboard accessing outside the cluster (https://stackoverflow.com/q/59020970?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/59020970/kubernetes-remote-access-dashboard?rq=3) kubernetes remote access dashboard (https://stackoverflow.com/q/60281374?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/60281374/accessing-kubernetes-dashboard?rq=3) Accessing Kubernetes Dashboard (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Bicycles Stack Exchange) (https://bicycles.stackexchange.com/questions/96591/shimano-br-mt400-caliper-with-shimano-slx-lever) Shimano BR-MT400 caliper with Shimano SLX lever (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/744004/use-of-eeprom-in-automotive-microcontroller-when-there-is-flash-memory) Use of EEPROM in automotive microcontroller when there is flash memory? (Solana Stack Exchange) (https://solana.stackexchange.com/questions/21558/errore0599-no-method-named-source-file-found-for-struct-proc-macro2span) error[E0599]: no method named `source_file` found for struct `proc_macro2::Span` in the current scope (Law Stack Exchange) (https://law.stackexchange.com/questions/108312/military-loyalty-in-a-constitutional-crisis) Military Loyalty in a Constitutional Crisis (Aviation Stack Exchange) (https://aviation.stackexchange.com/questions/108390/when-flying-close-or-at-the-coffin-corner-and-you-get-a-tcas-warning-what-do) When Flying Close (or at) the Coffin Corner and you get a TCAS warning, what do you do? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/847850/what-does-newtons-laws-say-about-the-geometry-of-spacetime) What does Newton's laws say about the geometry of spacetime? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/740989/tikz-qtree-tree-moves-to-next-page-even-with-sufficient-space) tikz-qtree tree moves to next page even with sufficient space (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/793747/why-do-my-utf-8-filenames-always-match-against-a-regex-bracket-expression-in-per) Why do my UTF-8 filenames always match against a regex bracket expression in Perl? (Software Engineering Stack Exchange) (https://softwareengineering.stackexchange.com/questions/457135/why-should-i-never-ever-ever-use-java-serialization) Why should I never ever ever use Java serialization? (Geographic Information Systems Stack Exchange) (https://gis.stackexchange.com/questions/491970/adding-what3words-to-many-points-in-qgis-attribute-table) Adding What3Words to many points in QGIS Attribute Table (Music: Practice & Theory Stack Exchange) (https://music.stackexchange.com/questions/139443/how-to-reliably-return-to-one-a-mono-syllabic-language-for-memorization-or-anot) How to reliably return to one? A mono-syllabic language for memorization or another approach? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217973/remuneration-for-talks-check-if-they-received) Remuneration for talks: check if they received (Retrocomputing Stack Exchange) (https://retrocomputing.stackexchange.com/questions/31580/how-did-ebcdic-files-on-ibm-mainframes-identify-newlines) How did EBCDIC files on IBM mainframes identify newlines? (Travel Stack Exchange) (https://travel.stackexchange.com/questions/194948/methods-tools-to-evaluate-public-transportation-convenience-from-one-hotel-to) Methods & tools to evaluate public transportation convenience from one hotel to another (Physics Stack Exchange) (https://physics.stackexchange.com/questions/847908/bicycle-oberth-effect) Bicycle Oberth effect (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/740992/how-to-rewrite-a-syntactic-tree-from-xyling-to-forest) How to rewrite a syntactic tree from XYLING to FOREST (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5056601/are-there-non-zero-real-numbers-equal-to-their-average-decimal-digit) Are there non-zero real numbers equal to their "average decimal digit"? (The Workplace Stack Exchange) (https://workplace.stackexchange.com/questions/200737/how-can-i-professionally-address-repeated-lack-of-detail-in-user-stories-without) How can I professionally address repeated lack of detail in user stories without causing tension in the team? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/296065/a-book-in-english-about-teleportation-inside-out-pencil) A book in English about teleportation—inside out pencil (MathOverflow) (https://mathoverflow.net/questions/491204/distribution-of-descents-of-random-permutations) Distribution of descents of random permutations (Movies & TV Stack Exchange) (https://movies.stackexchange.com/questions/125099/why-would-a-mexican-band-sing-in-front-of-a-passed-out-man) Why would a Mexican band sing in front of a passed out man? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217952/how-do-institutions-handle-a-conflict-of-interest-between-a-student-and-instruct) How do institutions handle a conflict of interest between a student and instructor? (Movies & TV Stack Exchange) (https://movies.stackexchange.com/questions/125113/how-old-are-the-main-characters-in-west-side-story) How old are the main characters in West Side Story? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217990/icmje-guidelines) ICMJE guidelines (/feeds/question/39864385) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/39864385) () lang-yaml (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Your Privacy Choices (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.4.17.25340