Created
December 27, 2023 23:07
-
-
Save pamanes/286176b3d6da06bed7e089fabc44ddd4 to your computer and use it in GitHub Desktop.
dashboard-ingress (2023)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: dashboard-ingress | |
namespace: kubernetes-dashboard | |
spec: | |
rules: | |
- host: dashboard.com | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: kubernetes-dashboard | |
port: | |
number: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
https://www.youtube.com/watch?v=X48VuDVv0do
This ingress file is the latest (2023) and works, the one from the video is broken, class name is deprecated and path prefix is incorrect
If you're running on Windows 10 + minikube + docker driver you will need to run a terminal with minikube tunnel and leave the window open in order to navigate to the dashboard with dashboard.com (provided it's already in your hosts file)