Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.
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

Closed

Description

@v1k0d3n

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?

Activity

  1. self-assigned this
    on Dec 12, 2016
  2. intlabs commented on Jan 9, 2017

    @intlabs
    Contributor

    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:

    • 'Server' lives in kube-system namespace, consisting of K8S API watcher, ETCD and nginx containers:
      1. K8s Watcher stores selected job/service/daemon status in ETCD.
      2. 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.
  3. v1k0d3n commented on Jan 10, 2017

    @v1k0d3n
    CollaboratorAuthor

    also, i would like our internal security group look at Kubernetes NetworkPolicy and calico/canal Advanced NetworkPolicy.

    A couple areas of interest here:
    All charts/manifests should include some form of NetworkPolicy (not all addressed today):

    Advanced NetworkPolicy which is offered by Calico or other SDN's:

  4. 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
  5. v1k0d3n commented on Mar 15, 2017

    @v1k0d3n
    CollaboratorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions