- Please carefully read the official Google Summer of Code Student Guide
- Join the #postgres-operator slack channel under Postgres Slack to introduce yourself to the community and get quick feedback on your application.
- Select a project from the list of ideas below or propose your own.
- Write a proposal draft. Please open an issue with the label
gsoc2019_application
in the operator repository so that the community members can publicly review it. See proposal instructions below for details. - Submit proposal and the proof of enrollment before April 9 2019 18:00 UTC through the web site of the Program.
- Description: Kubernetes runtime does not kill pods in this class on condition they stay within their resource limits, which is desirable for the DB pods serving production workloads. To be assigned to that class, pod's resources must equal its limits. The task is to add the
enableGuaranteedQoSClass
or the like option to the Postgres manifest and the operator configmap that forcibly re-write pod resources to match the limits. - Recommended skills: golang, basic Kubernetes abstractions
- Difficulty: moderate
- Mentor(s): Felix Kunde @FxKu, Sergey Dudoladov @sdudoladov
- Description: kubectl plugins enable extending the Kubernetes command-line client
kubectl
with commands to manage custom resources. The task is to design and implement a plugin for thekubectl postgres
command, that can enable, for example, correct deletion or major version upgrade of Postgres clusters. - Recommended skills: golang, shell scripting, operational experience with Kubernetes
- Difficulty: moderate to medium, depending on the plugin design
- Mentor(s): Felix Kunde @FxKu, Sergey Dudoladov @sdudoladov
- Description: at present the operator validates a database manifest on its own. It will be helpful to reject erroneous manifests before they reach the operator using the native Kubernetes CRD validation. It is up to the student to decide whether to write the schema manually or to adopt existing schema generator developed for the Prometheus project.
- Recommended skills: golang, JSON schema
- Difficulty: medium
- Mentor(s): Sergey Dudoladov @sdudoladov
- Issue: #388
- Description: The current way of testing is to run minikube, either manually or with some tooling around it like
/run-operator_locally.sh
or Vagrant. This has at least three problems: First, minikube is a single node cluster, so it is unsuitable for testing vital functions such as pod migration between nodes. Second, minikube starts slowly; that prolongs local testing. Third, every contributor needs to come up with their own solution for local testing. The task is to come up with a better option which will enable us to conveniently and uniformly run e2e tests locally / potentially in Travis CI. A promising option is the Kubernetes own kind - Recommended skills: Docker, shell scripting, basic Kubernetes abstractions
- Difficulty: medium to hard depending on the selected desing
- Mentor(s): Dmitry Dolgov @erthalion, Sergey Dudoladov @sdudoladov
- Issue: #475
- Description: sometimes a Postgres cluster requires manual maintenance. During such maintenance the operator should ignore all the changes manually applied to the cluster. Currently the only way to achieve this behavior is to shutdown the operator altogether, for instance by scaling down the operator's own deployment to zero pods. That approach evidently affects all Postgres databases under the operator control and thus is highly undesirable in production Kubernetes clusters. It would be much better to be able to detach only the desired Postgres cluster from the operator for the time being and re-attach it again after maintenance.
- Recommended skills: golang, architecture of a Kubernetes operator
- Difficulty: hard - requires significant modification of the operator's internals and careful consideration of the corner cases.
- Mentor(s): Dmitry Dolgov @erthalion, Sergey Dudoladov @sdudoladov
- Issue: #421
Feel free to come up with your own ideas. For inspiration,
see our bug tracker,
the official CustomResouceDefinition
docs
and other operators.