Project Description

The hierarchical namespaces project in Kubernetes allows us to organize namespaces in a tree structure. But, since it is just a layer on top of vanilla Kubernetes, it doesn't offer an API to do anything more complex with that tree structure.

We want to be able to list, and perhaps watch, all namespaced resources belonging to any namespace and its descendants. We can use Kubernetes API extensions to accomplish this. We can use a similar approach to how we are solving this for Rancher Projects.

Goal for this Hackweek

  • Create an API extension that responds with a list of resources that belong to the requested namespace or its descendants
  • Create a YAML manifest and Dockerfile to build and deploy it
  • Add a kubectl plugin to support this
  • Stretch goal: add the ability to watch resources by namespace in addition to listing

Resources

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 22

Activity

  • almost 2 years ago: paulgonin liked this project.
  • almost 2 years ago: ademicev0 liked this project.
  • almost 2 years ago: moio liked this project.
  • almost 2 years ago: comurphy started this project.
  • almost 2 years ago: comurphy originated this project.

  • Comments

    • comurphy
      almost 2 years ago by comurphy | Reply

      Update: all goals accomplished! Check out the project in its repository: https://github.com/cmurphy/hns-list

    Similar Projects

    This project is one of its kind!