https://github.com/google/gke-policy-automation/blob/main/gk... What's the point of requiring the control plane to be locked down to authorized networks (IP address ranges)? Isn't Google responsible for DDoS protection, enforcing authentication controls (i.e. logging in with a Google account in the right Google group), patching the control plane ASAP for any security vulnerabilities? If you have a VPN, if you have he…
Google Kubernetes clusters config checker tool
21–30 of 34 posts
Re: Google Kubernetes clusters config checker tool
#22As many people predicted years ago (I can't claim to know k8s that well, in fact I suck at it), eventually we'll go full circle and k8s config will just become its own specialized programming language. Maybe we should stop moving these things so agonizingly slow and through the path of natural (and did I mention slow as molasses ) evolution and just skip to the endgame that most of us know will inevitably come? Appar…
There's no reason to create an entirely new language. Since k8s manifests can be represented in JSON, you can use existing templating languages like Jsonnet [1] in order to generate it for you. All we need is an official library. [1] https://jsonnet.org/
Re: Google Kubernetes clusters config checker tool
#23https://github.com/google/gke-policy-automation/blob/main/gk... What's the point of requiring the control plane to be locked down to authorized networks (IP address ranges)? Isn't Google responsible for DDoS protection, enforcing authentication controls (i.e. logging in with a Google account in the right Google group), patching the control plane ASAP for any security vulnerabilities? If you have a VPN, if you have he…
Likely security in layers. Why expose your control plane to attacks directly from the internet if you don't have to? Cuts down login attempts noise in logs since anything would have to be coming from the VPC. Other than initial setup of a bastion -- that's the tradeoff -- sounds like less to worry about for a small shop or a startup. Same for Cloud SQL or any other managed service.
I feel like the gke-gcloud-auth-plugin cloud do something very similar.
[1]: https://github.com/GoogleCloudPlatform/cloudsql-proxy
[2]: https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket...
Re: Google Kubernetes clusters config checker tool
#24https://github.com/google/gke-policy-automation/blob/main/gk... What's the point of requiring the control plane to be locked down to authorized networks (IP address ranges)? Isn't Google responsible for DDoS protection, enforcing authentication controls (i.e. logging in with a Google account in the right Google group), patching the control plane ASAP for any security vulnerabilities? If you have a VPN, if you have he…
References: [1] https://cloud.google.com/kubernetes-engine/docs/best-practic...
Re: Google Kubernetes clusters config checker tool
#25Given that is specific for GCP, and developed by somebody within Google, why not including it directly in the webconsole?
This is not an officially supported Google product. How does this work? It's developed by google but it's not officially supported?
Google actually publishes most of the docs that Googler's have to follow when open sourcing software. See:
https://opensource.google/documentation/reference/releasing
This specific line you're asking about is talked about here: https://opensource.google/documentation/reference/releasing/...
Re: Google Kubernetes clusters config checker tool
#26Given that is specific for GCP, and developed by somebody within Google, why not including it directly in the webconsole?
This is not an officially supported Google product. How does this work? It's developed by google but it's not officially supported?
Re: Google Kubernetes clusters config checker tool
#27Given that is specific for GCP, and developed by somebody within Google, why not including it directly in the webconsole?
For now I suggest to use the tool in a scheduled, serverless manner and configure evaluation output to Security Command Center. By that, processes will be fully automated and the results will be visible in a webconsole (as findings in Security Command Center).
Re: Google Kubernetes clusters config checker tool
#28Earlier quoted context omitted.
There's no reason to create an entirely new language. Since k8s manifests can be represented in JSON, you can use existing templating languages like Jsonnet [1] in order to generate it for you. All we need is an official library. [1] https://jsonnet.org/
JSON is terrible to write by hand. YAML is terrible too. There should be an official and sane language which will map to YAML 1:1. We don't write Java code in YAML for a reason.
I've used Jsonnet for non-k8s stuff (envoy bootstrap configs), and it is really great. For example, this: https://github.com/pachyderm/pachyderm/blob/master/etc/gener... generates this: https://github.com/pachyderm/pachyderm/blob/master/etc/helm/...
Re: Google Kubernetes clusters config checker tool
#29What is new in Insights Advisor for Red Hat OpenShift https://www.redhat.com/en/blog/what-new-insights-advisor-ope...
https://console.redhat.com/openshift/insights/advisor/recomm...
Re: Google Kubernetes clusters config checker tool
#30https://github.com/google/gke-policy-automation/blob/main/gk... What's the point of requiring the control plane to be locked down to authorized networks (IP address ranges)? Isn't Google responsible for DDoS protection, enforcing authentication controls (i.e. logging in with a Google account in the right Google group), patching the control plane ASAP for any security vulnerabilities? If you have a VPN, if you have he…