You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 24, 2019. It is now read-only.
security: look into restricting access to the kubernetes API (only where needed) #32
i would like to look at policies that could restrict access from all services having direct access to the API (wherever possible/within reason). perhaps a PoC with something like https://github.com/aporeto-inc/trireme could be used, or possibly calico/romana?
We should also review the security of the Kubernetes Entrypoint container - and possibly look toward updating this with a server-client model (maybe as part of #88), which would be fairly easy to do:
'Server' lives in kube-system namespace, consisting of K8S API watcher, ETCD and nginx containers:
K8s Watcher stores selected job/service/daemon status in ETCD.
Nginx provides read-only proxy of data for ETCD to pods, potentially with http basic auth.
'Client' container's contents could be reduced to a very simple script that simply curls the Nginx container, without needing any access to the K8s API.
changed the title [-]look into restricting access to the kubernetes API (only where needed)[/-][+]security: look into restricting access to the kubernetes API (only where needed)[/+]on Jan 26, 2017
Activity
intlabs commentedon Jan 9, 2017
This has been a long ongoing issue with Kubernetes, though I think that enabling ABAC in the cluster would be a big step in the right direction:
We should also review the security of the Kubernetes Entrypoint container - and possibly look toward updating this with a server-client model (maybe as part of #88), which would be fairly easy to do:
v1k0d3n commentedon Jan 10, 2017
also, i would like our internal security group look at Kubernetes
NetworkPolicyand calico/canal AdvancedNetworkPolicy.A couple areas of interest here:
All charts/manifests should include some form of
NetworkPolicy(not all addressed today):Advanced
NetworkPolicywhich is offered by Calico or other SDN's:[-]look into restricting access to the kubernetes API (only where needed)[/-][+]security: look into restricting access to the kubernetes API (only where needed)[/+]v1k0d3n commentedon Mar 15, 2017
we can track this as a larger issue, but it is unrelated to a release...so the issue is going to be closed for now.