35 ms·
Its been known for quite sometime to not expose the dashboard. GKE explicitly disables it by default. TESLA's in-house cluster was pwned because their dashboard
by pm90 8y ago
Its been known for quite sometime to not expose the dashboard. GKE explicitly disables it by default. TESLA's in-house cluster was pwned because their dashboard was publicly accessible etc.
- andrewstuart2 8y agoEither don't expose the dashboard, or explicitly give it a service account with zero access. I think it should be well-known by now that anything you run in-cluster gets a builtin service account token, defaulting to the default service account for that namespace.
- sieabahlpark 8y agoYou'd be surprised a lot of things are overlooked with the premise of shipping faster. Don't worry about security, we need to ship.
- GauntletWizard 8y agoI ran my k8s dashboard behind a ClusterIP service - You could get to it through the kube-proxy, but you already had to be auth'd to the cluster, first. This was fine for a cluster small enough that any user already had admin, though we did worry a little bit that someone would compromise a pod, scan for a bit, and escalate through the dashboard.
- erikb 8y agoIt's also not the first dashboard with this situation. phpMyAdmin or what it's called, back in the days of LAMP stacks that was deployed almost everywhere without much security around. Not sure if it also had sql injection bugs etc, but just the low amount of security considerations most people gave this direct access to the database was probably enough to hack into most servers of that time.
- eicnix 8y agoGKE provides it's own dashboard integrated into the GCP console so there is no need for the standard Kubernetes dashboard.